Firmware update of the application image using Segger J-Link and SWD interface

SWD J-LINK application image update 

Serial Wire Debug (SWD) is a 2-pin (SWDIO/SWCLK) electrical alternative JTAG interface that has the same JTAG protocol on top. SWD uses an ARM CPU standard bi-directional wire protocol, defined in the ARM Debug Interface documentation. It can be used to access SoC/module internal resources and perform basic erase/ read/ write operations on embedded flash. The steps below describe the update of the internal flash with the new application image firmware using SWD interface.

Commands 

  • Open J-link utility (e.g.: windows location: C:\Program Files (x86)\SEGGER\JLink)
  • Connect to the target: connect
  • Select device: EFR32MG22CXXXF512
  • Specify target interface: SWD
  • Specify target interface speed: 1000kHz
  • Perform target reset: r
  • Erase application sectors: erase 0x6000 0x80000
  • Program the application: loadfile c:\prj\soc_empty_x.bin 0x6000
  • Restart the module using the “Reset” button on the Explorer board
  • After reset the firmware will start advertising w/ name: “Empty Example”. Any scanner application(e.g.: nRF Connect or EFR Connect) can be used for testing the application update 

User-added image

Categories

Products