This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Check application is correct after OTA update

Hi, I performed an OTA update of my APP. (SD 7.0 and BLE single bank bootloader were flashed). The update finished without an error and then my application even starts, but once I press some buttons to interact application freezes (i have a small screen for outputs).

If I try to start debug in Keil - it just hangs. So the question is what could be wrong and how could i check that my application is doing what its supposed to do? Or may be I did something wrong when placing bootloader?

EDIT: Just noticed that app_gpiote doesnt work when I have bootloader flashed.

Thanks!

Parents
  • You might have better luck w/ the debugger if you attach it before you start the OTA update process, such that it is already attached by the time the freeze occurs. Your symptoms sound like a hard fault, but it's impossible to say without more info.

  • Yeah it seems not connected with the update. If I flash SD+APP+BL altogether the same thing happens, but if I only flash SD+APP it works correctly.

    So I have a feeling that GPIOTE interrupts are not working when I have BL flashed. For the record Im not using SD in my APP, only need it for OTA update.

    Im not sure though how I can debug an APP when I have a BL in Keil?

Reply
  • Yeah it seems not connected with the update. If I flash SD+APP+BL altogether the same thing happens, but if I only flash SD+APP it works correctly.

    So I have a feeling that GPIOTE interrupts are not working when I have BL flashed. For the record Im not using SD in my APP, only need it for OTA update.

    Im not sure though how I can debug an APP when I have a BL in Keil?

Children
No Data
Related