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

NRF52 dk won't flash anymore? Any hope?

My µvision crashed during programming and will no longer respond to trying to program it. It boots into the bootloader mode. My computer sees it but the precompiled binaries don't seem to have any affect. NRFGo also sees it. Trying to program the board appears to work from the IDE, but doesn't seem to do anything at the board. What should be my next step?

Update 1: It looks like it is hitting the HardFault_Handler right after finishing the SystemInit(void) function in system_nrf52.c. Maybe it doesn't recognize my code and just goes through its boot sequence than freezes because it doesn't know what to do next.

Update 2: It seems that it is not programming correctly. When using nRFGO, it will show the programming, then promptly show the device completely empty.

Parents
  • if Keil and nRFgo sees your device then it is not bricked. Bricked means there is no way that any debugger could connect your device and halt the CPU in time.

    You said that you are even able to reprogram but it does not have any affect, In that case i would suggest you to compile your program with no optimizations and start in debug mode to see if anything is running at all in the CPU.

  • In short, yes. That is exactly what happens.

    What it seems like is that it cannot hold a program. It lets you program it, then promptly forgets the program you sent it. I'm not sure what might be causing that. I "confirmed" this with the nRFgo Studio program. Anything programmed to the chip will disappear within moments of the upload finishing. Something odd is going on. I'm at a loss for what to do next.

Reply
  • In short, yes. That is exactly what happens.

    What it seems like is that it cannot hold a program. It lets you program it, then promptly forgets the program you sent it. I'm not sure what might be causing that. I "confirmed" this with the nRFgo Studio program. Anything programmed to the chip will disappear within moments of the upload finishing. Something odd is going on. I'm at a loss for what to do next.

Children
No Data
Related