This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Flash boot loader C5535 (DFU)

Hi,

I'm looking into a possible DFU (device firmware upgrade) solution on the C5535. During the upgrade I do not want to risk destroying the currently working application. So I would like to have 2 versions of the program in flash. My desired solution is write to the application slot not being used at the moment, and when the upgrade is verified I will switch over so the device boots from the new version.

My first thought was to modify the header of the boot binary so it fetches program from 2 different addresses. However, this does not seem to be possible.

My second approach would be to write a second boot loader that always boots from the RAM boot loader and then loads the desired version of the program.

So my question is if you have any examples of a boot loader where you can choose between several applications in flash memory.

Regards,

Marcus