Tool/software:
"I'm developing a bootloader that receives data from a host PC via UART. This data is a binary file that I'm writing to the microcontroller's flash memory, starting at address 0xD00. Once the write operation is complete, the bootloader should jump to this address to execute the program.
However, I'm encountering an issue where the microcontroller enters a default handler with exception 10 after the entire binary file is written. Upon inspecting the memory at address 0xD00, I've noticed some bits are corrupted.
Interestingly, when I program the same binary file using CCS and instruct it to erase only the 0xD00 address, the program executes correctly.
I'm seeking assistance to identify and resolve the root cause of this flash corruption issue."