Hello,
I tried to flash an application to the nRF52832. First I flashed the softdevice, after that I flashed the bootloader and next the application.
The application is not running and I read here that I ahve to merge the hex files so that the bootloader knows, that the app is valid, right?
If I would use the bootloader to flash an app, would the bootloader notice that this app is valid or do I have to flash everything together again?
Also, is it possible to jump out of the app to the bootloader? So that I could flah a new Image at any time without reseting the nRF?
EDIT
The Problem is, that I have the nRF connected to a SoC running Embedded Linux. The only connection I have to the SoC is UART (No hardware reset). The Bootloader on the nRF is only running for 2 seconds (or 3 min in the newer bootloader config but this is so much too long) but the Kernel needs some time to boot. So I thought of implementing a command in my application on the nRF that is received via UART and if the app receives this command it jumps to the bootloader and again waits 2 seconds for the new image.
How would I flash via BLE because it takes some time to connect to the device before flashing or not? Wouldn`t the bootloader exit its state and run the application before the connection is established and the firmware is sent
Thanks for your help