This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Using JLinkExe to flash nRF52

Hello, Our production systems run on Raspberry Pi, which is running on ARM. Currently the nRF5x command line tools are only available on x86, which means that we need to use JLinkExe directly.

We want to flash SoftDevice, bootloader and application. Things doesn't seem to work out - I have never seen the application load, for instance (I guess some pointer needs to be set up so that the bootloader is aware of the application). RTT logging output is very spotty, I sometimes see the bootloader initialize itself but after toggling the power I never get any logs again.

Is there a complete example (SD+bootloader+application) available somewhere where a nRF52 device is flashed using JLinkExe?

Thanks, Jacob

Parents
  • Thanks, I have something that starts the bootloader now. What memory area/register do I need to write to inform the bootloader about that there is a valid application in the application space? The system currently stops in the bootloader.

    A side note: The SDK documentation mentions that the bootloader address must be specified in UICR.BOOTLOADERADDR. However, most of the UICR registers aren't defined in the nRF52 PS PDF.

Reply
  • Thanks, I have something that starts the bootloader now. What memory area/register do I need to write to inform the bootloader about that there is a valid application in the application space? The system currently stops in the bootloader.

    A side note: The SDK documentation mentions that the bootloader address must be specified in UICR.BOOTLOADERADDR. However, most of the UICR registers aren't defined in the nRF52 PS PDF.

Children
No Data
Related