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:51] – bullar | en:tech:tradfri_mod [2022/09/26 09:58] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====TRÅDFRI Module===== | =====TRÅDFRI Module===== | ||
| - | In einem früheren | + | In an earlier |
| - | * TRÅDFRI | + | |
| - | * TRÅDFRI | + | |
| - | * TRÅDFRI | + | |
| - | * TRÅDFRI | + | |
| - | * FYRTUR | + | |
| - | Die Bedeutung der Pins ist dann entsprechend. Hier mal eine Übersicht: | + | The function of the pins is then accordingly. Here is an overview: |
| ^ TRÅDFRI Pin ^ Lamp \\ white ^ Lamp \\ white spectrum ^ Power Plug ^ FYRTUR ^ | ^ TRÅDFRI Pin ^ Lamp \\ white ^ Lamp \\ white spectrum ^ Power Plug ^ FYRTUR ^ | ||
| Line 17: | Line 17: | ||
| | PC10 | - | - | - | Down Button | | PC10 | - | - | - | Down Button | ||
| - | Das Modul wird von einem EFR32MG1PXXXF256 | + | The module is controlled by an EFR32MG1PXXXF256 |
| ==== Debugger ==== | ==== Debugger ==== | ||
| - | Um das FLASH auslesen oder beschreiben zu können bedarf es einem Debugger. Eine preiswerte Variante gibt es wieder über [[https:// | + | A debugger is required to be able to read or write to the FLASH. |
| {{ : | {{ : | ||
| - | Die 4 Leitungen des Debuggers werden wie folgt an das Modul angeschlossen: | + | The 4 wires of the debugger are to connect to the module as follows: |
| ^ JLINK ^ TRÅDFRI Modul ^ | ^ JLINK ^ TRÅDFRI Modul ^ | ||
| Line 32: | Line 32: | ||
| | GND | GND | | | GND | GND | | ||
| - | Zusätzlich muss das Modul noch mit 3.3V versorgt werden. Als Software bietet sich J-Link | + | In addition, the module must be supplied with 3.3V. J-Link |
| - | ==== 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 136: | Line 135: | ||
| * {{: | * {{: | ||
| + | ==== Donate ==== | ||
| + | |||
| + | If you like my articles feel to donate a cappuccino or so... | ||
| + | |||
| + | < | ||
| + | <form action=" | ||
| + | <input type=" | ||
| + | <input type=" | ||
| + | <img alt="" | ||
| + | </ | ||
| + | </ | ||