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

Using NRF51-DK as mbed programmer

Hi,

I want to use the NRF51-DK to program an external device. It worked fine so far using the J-Link Firmware. I had to switch to mbed since it is a huge mess to get it to work under Mac.

The next thing I recognized was that the reset on the external device didn't work anymore. I disconnected the onboard MCU by disconnecting SB9 but now I only get SWD errors :(.

In general: Doesn't the Mbed Firmware support programming of external devices? Pressing reset doesn't trigger the reset function as it did with J-Link Firmware.

Parents
  • Mbed Firmware (CMSIS-DAP) should work even though you have an external device. What is the external device and how are the DK and the device connected? If you cut SB9 you are removing power to the chip on the DK. I think the problem is that you are not recognizing the other chip. Are you sure the other chip has power? Check the VTG pin on the debug interface.

Reply
  • Mbed Firmware (CMSIS-DAP) should work even though you have an external device. What is the external device and how are the DK and the device connected? If you cut SB9 you are removing power to the chip on the DK. I think the problem is that you are not recognizing the other chip. Are you sure the other chip has power? Check the VTG pin on the debug interface.

Children
No Data
Related