Flash mem size check needs to be adjusted for Daisy Bootloader

Hello all,

I have been running into an issue where I get the following error when sing the Diasy Bootloader and setting APP_TYPE = BOOT_NONE.

Downloading element to address = 0x08000000, size = 129864  
Last page at 0x0801fb47 is not writeable

I realized just a short moment ago that this makes sense because my bin size is pushing the Flash limit and the Daisy bootloader lives in those last few bytes.

Memory usage is high 
Memory region         Used Size  Region Size  %age Used
           FLASH:      129864 B       128 KB     99.08%     

I am wondering if there the APP_TYPE flag can be used to adjust the error on the overall size for the flash. I don’t know that this would be a common issue… and the workaround is to simply do a full DFU system reboot and code load… but I wanted to give the group a heads up on this as it was causing me some challenges a few days back.

Hope this is helpful.


1 Like

Thanks for sharing your findings with the community, Brett!