This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:tech:tradfri_mod [2021/01/20 10:57] – [Debugger] bullar | en:tech:tradfri_mod [2022/09/26 09:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 20: | Line 20: | ||
==== Debugger ==== | ==== Debugger ==== | ||
- | UA debugger is required to be able to read or write to the FLASH. An inexpensive variant is again available from [[https:// | + | A debugger is required to be able to read or write to the FLASH. An inexpensive variant is again available from [[https:// |
{{ : | {{ : | ||
Line 34: | Line 34: | ||
In addition, the module must be supplied with 3.3V. J-Link from [[https:// | In addition, the module must be supplied with 3.3V. J-Link from [[https:// | ||
- | ==== Auslesen | + | ==== Read out ==== |
- | Im Terminal geben wir dann folgendes ein (Pfad anpassen): | + | In the terminal window we then enter the following command |
''< | ''< | ||
- | Es erscheint der '' | + | The '' |
< | < | ||
J-Link> | J-Link> | ||
Line 58: | Line 58: | ||
</ | </ | ||
- | Der Cortex-M4 | + | The Cortex-M4 |
^ Area ^ ADDR ^ Size ^ | ^ Area ^ ADDR ^ Size ^ | ||
Line 66: | Line 66: | ||
| CHIP | '' | | CHIP | '' | ||
- | Zum Auslesen und Abspeichern geben wir die folgenden Befehle ein: | + | To read out and save, we enter the following commands: |
< | < | ||
Line 78: | Line 78: | ||
</ | </ | ||
- | Mit dem Befehl | + | With the command |
- | Zum Glück waren bisher alle von mir ausgelesenen Module nicht lesegeschützt.\\ | + | Fortunately, |
- | Haben wir alle vier Files können wir jetzt jedes beliebige Modul neu programmieren und so die gewünschte Funktion erhalten. In meinem Fall habe ich die TRÅDFRI | + | If we collect all four files, we can now reprogram any module and thus obtain the desired function. In my case I took the TRÅDFRI |
- | ==== Programmieren | + | ==== Programming |
- | Das Programmieren geht genauso einfach wie das Auslesen mit folgenden Befehlen: | + | Programming is just as easy as reading out with the following commands: |
< | < | ||
Line 101: | Line 101: | ||
</ | </ | ||
- | ==== TRÅDFRI | + | ==== TRÅDFRI |
- | Das gleiche Verfahren lässt sich übrigens auch für andere | + | The same procedure can also be used for other TRÅDFRI |
- | Für das [[de:tech:gw60|Rollo Projekt]] habe ich dazu den Standard | + | For the [[en:tech:gw60 | blind project]] I converted the standard |
- | {{: | + | {{: |
- | {{: | + | {{: |
- | Wie man den Taster öffnet ist [[http:// | + | How to open the button is [[http:// |
^ JLINK ^ TRÅDFRI Taster | ^ JLINK ^ TRÅDFRI Taster | ||
| VCC | VCC | | | VCC | VCC | | ||
Line 115: | Line 115: | ||
| SWCLK | CLK | | | SWCLK | CLK | | ||
| GND | GND | | | GND | GND | | ||
+ | |||
{{: | {{: | ||
==== Update ==== | ==== Update ==== | ||
- | Alle TRÅDFRI | + | All TRÅDFRI |
- | Es wird allerdings nur der MAIN Bereich des FLASH aktualisiert. Die Bereiche | + | However, only the MAIN area of the |
- | Die geladenen Daten sind in einem exotischen Format gekapselt mit der Abkürzung | + | The loaded data is encapsulated |
{{: | {{: | ||
- | + | For extracting I wrote a Python | |
- | Zum Extrahieren habe ich ebenfalls ein Python | + | |
==== Downloads ==== | ==== Downloads ==== | ||
Line 138: | Line 137: | ||
==== Donate ==== | ==== Donate ==== | ||
- | If you line my articles feel to donate a cappuccino or so... | + | If you like my articles feel to donate a cappuccino or so... |
< | < |