I managed to replace the STM32F2 with an STM32F4 to make use of floating point arithmetic and other benefits of the F4 line.
I compiled and flashed the bootloader for electron at its flash address but for some reason, the bootloader seems to be stuck without jumping to the application address.
- Do I need to flash the DCD layout to an erased chip to make the bootloader function properly ?
- I got JLINK debugger connected and can single step code just fine. I tried to single step the bootloader but apparently the LTO is making it hard to read through the data structures. Non-LTO option spills over the alloted the bootloader mem segment … Whats the best way to debug the bootloader ?