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

Problem with J-link edu mini and NRF52 Dongle software loading

Hi,

Just today my J-link EDU mini - NRF52 donlge combo stopped working. I do the following:

1. nrfjprog.exe --recover

2. nrfjprog.exe --eraseall

3. I use J-Flash lite to program the bootloader for NRF52-Dongle

Normally now the device should be available for programming from the uVision software. Now I can program, there are no errors, but after programming, the device is silent. When I take it off the usb port, and disconnect the debugger, and connect the dongle back in - it's in the bootloader mode (i think) - the red led is slowly blinking.

To make the program work I have to start the nRF Connect - Programmer and transfer the hex file onto the device manually. Then it works.

If I try to program the device from the uVision again or start a debug session, the device goes back to being silent (red led blinking after removal and reinsert to usb).

Also sometimes when I reconnect my RTT viewer on an already working app it also causes the dongle to go to the "red blinking" mode. But not alwayd. Go figure.

There was no physical damage to either dongle or the debugger and it all worked perfectly until today. 

Can I try anything to fix it? Is something permanently broken? 

I don't have another set (dongle+debuger) to play with and find the faulty elelement :(

Parents Reply
  • Hi, 

    This seems a bit chaotic, so I am not sure about everything. But first of all, the fact that you sometimes need to program via the nRF Connect programmer app makes sense. The bootloader will check bootloader settings for a CRC and flag indicating that the app is valid. So if you keep the bootloader but don't update the bootloader setting (which happens automatically during a USB DFU), then the bootloader will not start the app, but enter DFU mode. Also, the bootloader in the dongle will enter DFU mode if there has been a pin reset. Could it be that you modified HW tampers with the reset line? You may be seeing both these two issues at different times. 

    -Amanda H.
Children
Related