This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Programming the nrf51822 with Keil ULINK-ME

Hello,

I would like to know about the possibility of programming the nrf51822 with a Keil ULINK-ME Debug Adapter (or, if necessary, Keil ULINKpro) instead of the recommended Segger J-LINK. In particular, we are having trouble configuring the UICR registers in order to set up a bootloader. The download algorithm fails when UICR registers are encountered in the hex file and the nrfjprog tool does not seem compatible with the ULINK-ME. In addition, the ULINK-ME fails silently when trying to directly edit the “BOOTLOADERADDR” register during a debug session. Thus far, other attempts at setting up this register have either failed or deemed overcomplicated.

Would you have any suggestion that would allow us to enable a bootloader with the ULINK-ME or ULINKpro?

Thank you in advance.

Parents
  • Hi,

    Unfortunately, this is one of the features that is not possible using the ULink-series debuggers. The flash algorithm for nRF51x22 does not allow you to write into UICR, which is why nrfjprog (only for SEGGER debuggers) is used as an external programmer for the device_firmware_upgrade examples.

    Best regards Håkon

Reply
  • Hi,

    Unfortunately, this is one of the features that is not possible using the ULink-series debuggers. The flash algorithm for nRF51x22 does not allow you to write into UICR, which is why nrfjprog (only for SEGGER debuggers) is used as an external programmer for the device_firmware_upgrade examples.

    Best regards Håkon

Children
Related