2023-02-25 06:53 AM
hello
i am working on a custom bootloader or STM32F405.
the Flash process is done correctly by the Bootloader, i checked the content of the flash.
the problem happens when the bootloader jumps to the application firmware which is located at adress 0x0800C000, the program goes to the Hard_fault handler function:
this is what i am using to jump from the bootloader :
thanks.
Solved! Go to Solution.
2023-02-25 12:04 PM
hi
Finally i found the problem , the last byte of the BIN file was not programmed as shown in picture :
it is a stupid error, as i checked the content of the flash.
thanks a lot for the help Tesla and Gbm