I have an xmega256a3u that I am connecting to the outside world via a bluetooth low energy chip (BLUENRG-MS). I would like to use the bluetooth interface to update my firmware.
As stated in AVR1316: SPM-based commands can only run from Boot Section. So you can only change flash from the boot section.
My code never exceeds 128k, so I was hoping to save the new firmware from the bluetooth interface to the bottom 128k of the flash application section.
Is there any trick (such as access the boot from application) so I can change the second 128k of flash?