- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,I want to design an offline programmer for MB9AF116N.
Write the HEX file to Flash using the SWD protocol. Like Jlink,
does anyone know the programming principle of Jlink?
thks
Solved! Go to Solution.
- Tags:
- offline programmer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
First, you need a memory (for example: SD card) to storage the HEX file on the offline programmer. Then you need to write an ram code (This FW will running on the MB9AF116N SRAM) to program hex data to MB9AF116N flash.
When update the MB9AF116N flash, the offline programmer firstly download the ram code to MB9AF116N SRAM by SWD and let the ram code to run, then the offline programmer write hex data to MB9AF116N SRAM, finally the ram code write these hex data to flash.
This is the ARM Debug Interface Architecture Specification: ARM Debug Interface Architecture Specification ADIv6.0 – Arm Developer
About the SWD interfaces, you can check this source code: DAPLink/source/daplink/cmsis-dap at master · ARMmbed/DAPLink · GitHub
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
First, you need a memory (for example: SD card) to storage the HEX file on the offline programmer. Then you need to write an ram code (This FW will running on the MB9AF116N SRAM) to program hex data to MB9AF116N flash.
When update the MB9AF116N flash, the offline programmer firstly download the ram code to MB9AF116N SRAM by SWD and let the ram code to run, then the offline programmer write hex data to MB9AF116N SRAM, finally the ram code write these hex data to flash.
This is the ARM Debug Interface Architecture Specification: ARM Debug Interface Architecture Specification ADIv6.0 – Arm Developer
About the SWD interfaces, you can check this source code: DAPLink/source/daplink/cmsis-dap at master · ARMmbed/DAPLink · GitHub
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your suggestion is very helpful to me
thank you very much