Site Tools


en:tech:tradfri_mod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:tech:tradfri_mod [2021/01/20 11:11] bullaren:tech:tradfri_mod [2026/08/12 12:15] (current) – external edit 127.0.0.1
Line 22: Line 22:
 A debugger is required to be able to read or write to the FLASH. An inexpensive variant is again available from [[https://www.ebay.de/itm/J-Link-OB-ARM-Debugger-Programmer-Downloader-ersetzt-v8-SWD-M74/164140805411?_trkparms=ispr%3D1&hash=item26378ded23:g:5QwAAOSwWp9efchy&amdata=enc%3AAQAFAAACcBaobrjLl8XobRIiIML1V4Imu%252Fn%252BzU5L90Z278x5ickkfOCvCjTOBWK8pwriaolq5kz8V%252F3fTn%252Bq1NprncvlEKsUO895Z6XqDQhlhBvpbG2iNwBFjad%252BDPZzBz7ihvtqJ4%252B%252Bg52gz8KOIOGYrD10yG3A8AfpY1cUWzvu8tjab91BJZ%252BYgvMSWDu1nbAGr1BOFXMR46ClABTL4mEBQrf2agUZJLnBxpsl6eg40caxG9mTAKdcyprIgilxKr99%252FLN6mijnJnSD2rdRaCudzFVV0vcj%252B%252BgahlfPxBTYA4RaRXWwLxoK5OGzTPTPnSSFAU4dxhb%252BySdVAd2cy1yq%252F7zyU5bQ48QCTp9KEEWC60mX4eRiMYN3EIcyBZ1KakivZwJC%252B%252FT4Y1euzBAqGr81Bx0FVIFD9uX%252BVFN8Ch%252B%252FDkW%252FCoehDajj06GFZjuZbEw65UEwoFKvkT4xMk6hEalDff2nViNHxTpK3Z2i1r%252BEFH0ZiMkRdOq1zxKbQpRufFLAr4hltuxPB3F%252BsOtgxmP1XT3pUWGvUis%252FsYC71Fw6uOu6NeaDkkxc7rP7oZw%252BvwS4jvcnEN2MZ5TMjUdXfcO%252FRThvUAwzwbAO0%252BVDJDvt3NPkaK774dr9QnaxHRZLTQzz6%252FqF7Bg3%252FRCMJ7Yn7VyHgw6OXDfYC68nUXPiJG3s0J%252FvztIof9JHeEgEioob5i4s5K%252Fg8yheJiR%252FnHUhphEOkmgMLjrXyhm16zhzXjdonBc0JNe52Ols5CWLD3ueZbnegfefnFdKcykgiE71oxGlVddcdR2vCcTXdgLqjmeUQsjTpab3ws0l3YetcB7SR5%252BHUG6L7w%253D%253D%7Ccksum%3A164140805411432396b05a514c0f8bca653630049171%7Campid%3APL_CLK%7Cclp%3A2334524|Ebay]]. You can find more information, among other things [[https://github.com/basilfx/TRADFRI-Hacking/blob/master/FIRMWARE.md|here]]. A debugger is required to be able to read or write to the FLASH. An inexpensive variant is again available from [[https://www.ebay.de/itm/J-Link-OB-ARM-Debugger-Programmer-Downloader-ersetzt-v8-SWD-M74/164140805411?_trkparms=ispr%3D1&hash=item26378ded23:g:5QwAAOSwWp9efchy&amdata=enc%3AAQAFAAACcBaobrjLl8XobRIiIML1V4Imu%252Fn%252BzU5L90Z278x5ickkfOCvCjTOBWK8pwriaolq5kz8V%252F3fTn%252Bq1NprncvlEKsUO895Z6XqDQhlhBvpbG2iNwBFjad%252BDPZzBz7ihvtqJ4%252B%252Bg52gz8KOIOGYrD10yG3A8AfpY1cUWzvu8tjab91BJZ%252BYgvMSWDu1nbAGr1BOFXMR46ClABTL4mEBQrf2agUZJLnBxpsl6eg40caxG9mTAKdcyprIgilxKr99%252FLN6mijnJnSD2rdRaCudzFVV0vcj%252B%252BgahlfPxBTYA4RaRXWwLxoK5OGzTPTPnSSFAU4dxhb%252BySdVAd2cy1yq%252F7zyU5bQ48QCTp9KEEWC60mX4eRiMYN3EIcyBZ1KakivZwJC%252B%252FT4Y1euzBAqGr81Bx0FVIFD9uX%252BVFN8Ch%252B%252FDkW%252FCoehDajj06GFZjuZbEw65UEwoFKvkT4xMk6hEalDff2nViNHxTpK3Z2i1r%252BEFH0ZiMkRdOq1zxKbQpRufFLAr4hltuxPB3F%252BsOtgxmP1XT3pUWGvUis%252FsYC71Fw6uOu6NeaDkkxc7rP7oZw%252BvwS4jvcnEN2MZ5TMjUdXfcO%252FRThvUAwzwbAO0%252BVDJDvt3NPkaK774dr9QnaxHRZLTQzz6%252FqF7Bg3%252FRCMJ7Yn7VyHgw6OXDfYC68nUXPiJG3s0J%252FvztIof9JHeEgEioob5i4s5K%252Fg8yheJiR%252FnHUhphEOkmgMLjrXyhm16zhzXjdonBc0JNe52Ols5CWLD3ueZbnegfefnFdKcykgiE71oxGlVddcdR2vCcTXdgLqjmeUQsjTpab3ws0l3YetcB7SR5%252BHUG6L7w%253D%253D%7Ccksum%3A164140805411432396b05a514c0f8bca653630049171%7Campid%3APL_CLK%7Cclp%3A2334524|Ebay]]. You can find more information, among other things [[https://github.com/basilfx/TRADFRI-Hacking/blob/master/FIRMWARE.md|here]].
  
-{{ :tech:j-link_debugger.png?direct&300 |}}+{{ :media:tech:tradfri_mod:j-link_debugger.png?direct&300 |}}
  
 The 4 wires of the debugger are to connect to the module as follows: The 4 wires of the debugger are to connect to the module as follows:
Line 107: Line 107:
  
 {{:tech:tradfri_taster.png? nolink & 200|}} {{:tech:tradfri_taster.png? nolink & 200|}}
-{{:tech:tradfri_tester_rollo.png? direct & 200|}}+{{:media:tech:tradfri:tradfri_tester_rollo.png? direct & 200|}}
  
 How to open the button is [[http://westsideelectronics.com/ikea-tradfri-on-off-switch-teardown/ | here]] well described. The connections for programming are labeled on the back of the PCB and the connection to the debugger is shown as follows: How to open the button is [[http://westsideelectronics.com/ikea-tradfri-on-off-switch-teardown/ | here]] well described. The connections for programming are labeled on the back of the PCB and the connection to the debugger is shown as follows:
Line 116: Line 116:
 |  GND  |  GND  | |  GND  |  GND  |
  
-{{:tech:tradfri_taster_pcb_bottom.png?direct&300|}}+{{:media:tech:tradfri_mod:tradfri_taster_pcb_bottom.png?direct&300|}}
  
 ==== Update ==== ==== Update ====
Line 126: Line 126:
 The loaded data is encapsulated in an exotic format with the abbreviation NGIS. Here again some work was necessary to decrypt the format and extract the binary file. The program [[https://www.synalysis.net | Synalyze it! Per]]. The graph file is available in the download area. \\ The loaded data is encapsulated in an exotic format with the abbreviation NGIS. Here again some work was necessary to decrypt the format and extract the binary file. The program [[https://www.synalysis.net | Synalyze it! Per]]. The graph file is available in the download area. \\
  
-{{:tech:ota_ngis.png?direct | OTA NGIS Graph}}+{{:media:tech:tradfri:ota_ngis.png?direct | OTA NGIS Graph}}
  
 For extracting I wrote a Python script that is also in the download area. In the previous tests, the extracted version was binary identical to the one that was read out. \\ For extracting I wrote a Python script that is also in the download area. In the previous tests, the extracted version was binary identical to the one that was read out. \\
Line 132: Line 132:
 ==== Downloads ==== ==== Downloads ====
  
-  * {{:tech:ota_ngis.dot.zip | OTA NGIS Graph file (.dot)}} +  * {{:media:tech:tradfri:ota_ngis.dot.zip | OTA NGIS Graph file (.dot)}} 
-  * {{:tech:extract_image.py.zip |Python script to extract image (.py)}}+  * {{:media:tech:tradfri_mod:extract_image.py.zip |Python script to extract image (.py)}}
  
 ==== 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...
  
 <html> <html>
en/tech/tradfri_mod.1611141100.txt.gz · Last modified: by bullar