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

Unable to program BMD 300 using Nordic NRF52-DK

Hello, I am trying to program my BMD-300 using the NRF52-DK, below are my connections BMD- 300 ---------> NRF52 DK V Vtg SWDIO SWDIO SWDCLK SWDCLK GND GND The BMD 300 is externally powered. I am using the P20 header for programming. When I try to flash code on the BMD-300 using Segger, i get the following error Failed to connect to target No idcode detected Please check connection and Target interface

I tried to recover using nrfjprog --family nrf52 -- recover, I am attaching the log file for the same. Can someone please help me. Thanks, Shalin

Parents
  • Hi,

    Assuming all signals are hooked up correctly, then the issue is likely readback protection which disabled the debug port. The BMD-300 has readback protection enabled when programmed at the factory. The easiest development option is to use the Nordic tool nrfjprog to recover the chip with a full erase:

    nrfjprog -f nrf52 --recover
    

    Once erased, JLink will be able to find it.

    Best,

    Eric

Reply
  • Hi,

    Assuming all signals are hooked up correctly, then the issue is likely readback protection which disabled the debug port. The BMD-300 has readback protection enabled when programmed at the factory. The easiest development option is to use the Nordic tool nrfjprog to recover the chip with a full erase:

    nrfjprog -f nrf52 --recover
    

    Once erased, JLink will be able to find it.

    Best,

    Eric

Children
Related