want to FLASH upgrade FW in the nRF51822 though my application controller. Is C or C++ code available for this operation or can you deliver a protocol description how to setup this ?
want to FLASH upgrade FW in the nRF51822 though my application controller. Is C or C++ code available for this operation or can you deliver a protocol description how to setup this ?
In SDK 4.3.0 there is a UART bootloader that can be used to upgrade the application on the chip. Have you taken a look at it? We don't really have any other code than this, but it should be sufficient if you need to replace the application running on the nRF51822.
Hello Ole,
Can they use this too to upgrade the firmware of the nRF51822 ? They want to do this from a seperate application controller, which they have next to the nRF51822.
best regards,
Wim
Yes, if they only want to upgrade the application, this should be a good solution.
If they explicitly need to be able to replace the softdevice, this can not be done over UART, and will have to be done over the Serial Wire Debug interface. This interface is defined by ARM, so you should refer to their documentation on it. Chapter 10 in the nRF51 Reference Manual gives a description of how to enable this interface.