nRF5380-PDK error when flashing: Failed to download application, Undocumented error

Hello,

When I try to load a simple code to the app core of the nRF5340 with Segger Embedded Studio I get an error "Failed to download application. Undocumented error"

I look a bit deeper in the logs and it states:

  • Programming 2.2 KB of addresses 00000000 --- 000008d3
  • Programming 0.0 KB of addresses 000008d4 --- 000008d7
  • Timeout while restoring target, RAMCode did not respond in time. (PC = 0xFFFFFFFF, CPSR = 0xFFFFFFFF, LR = 0x01000003)!
  • Failed to restore target. RAMCode never stops
  • Timeout while calculating CRC, RAMCode did not respond in time. (PC = 0xFFFFFFFF, CPSR = 0xFFFFFFFF, LR = 0x41000003)!Timeout whil
  • Failed to erase sectors

I looked around and tried this: https://devzone.nordicsemi.com/f/nordic-q-a/77337/nrf5340-timeout-while-checking-target-ram-ramcode-did-not-respond-in-time but it did not work (in command line when I type "nrfjprog -v" I get "nrfjprog version: 10.14.0 external" and "JLinkARM.dll version: 7.52d"

Not sure what else I to try at this point. Maybe I can re-flash the JLink on the board? Not sure. If anyone has resolved similar errors on the nRF5340, please let me know. This same code works on my colleague's computer and the only difference that we noticed was his SES for ARM was 32-bit and mine is 64-bit. I could re-install Segger as well, but I'm not convinced that it will solve anything.

Thanks!

Parents Reply Children
No Data
Related