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

Strange behavior upon device reset

I might be missing something obvious here, but when the device is flashed (via SES), the application works correctly. When the device is power cycled or reset due to the watch dog timer, it turns into what appears to be the blinky example, which is incredibly different than the application I am testing. Is there something I am overlooking regarding the bootloader or some other piece of the puzzle?

Using the nRF52840 DK with a LoRa shield attached, for reference.

Parents
  • Hi,

    It must be some firmware that does this. Can you explain what firmware you have on the DK? What does it do, both generally and with regarding LEDs? You mention a bootloader, is it a SDK bootloader? Any modifications? Which SDK version do you use, and which LEDs do you see which pattern on? Have you done any debugging to see what happens?

  • That repository uses SDK 15.2. Also, when I pause the debugger when it is in the blinking state, it says it is in "Unknown function at 0x000031A0," which from what I understand is a region of proprietary software, but I don't quite know much about that. I should clarify that when I power cycle it while it is running normally (by toggling the power switch), it comes back up in that same blinky-type state. I mentioned a bootloader simply because I am not sure what the difference is in the boot sequence between downloading the firmware over J-Link versus a cold start with the firmware already flashed.

Reply
  • That repository uses SDK 15.2. Also, when I pause the debugger when it is in the blinking state, it says it is in "Unknown function at 0x000031A0," which from what I understand is a region of proprietary software, but I don't quite know much about that. I should clarify that when I power cycle it while it is running normally (by toggling the power switch), it comes back up in that same blinky-type state. I mentioned a bootloader simply because I am not sure what the difference is in the boot sequence between downloading the firmware over J-Link versus a cold start with the firmware already flashed.

Children
No Data
Related