cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG-M2 Bootloader from Application Code

lerneret
Associate

I'm using the BlueNRG-M2 as my processor on an enclosed system with UART communication. My goal is to add the ability to update the firmware via this connection using the built-in bootloader.

Using this answer, I am able to activate the bootloader within the application code, but I am not getting full capability out of it using the BlueNRG Flasher utility. The autobaud and Read Memory functions work, but the Write Flash command does not. All of these work when launching the Bootloader on start via DIO7.

Initially, I was getting even less ability, but I realized if I reset the High Frequency clock to 16MHz (from the Application's 32MHz), it worked more reliably. My assumption is that there are more parameters my application code changes from their default which the Bootloader relies upon. Is there any list of these requirements, or even better a function within the Keil DFP that will reset the processor to the required state for the Bootloader?

0 REPLIES 0