cancel
Showing results for 
Search instead for 
Did you mean: 

custom bootloader problem on STM32F405

ZTale.1
Associate II

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:

0693W00000aHet4QAC.jpg 

this is what i am using to jump from the bootloader :

0693W00000aHetPQAS.jpg 

thanks.

10 REPLIES 10
ZTale.1
Associate II

hi

Finally i found the problem , the last byte of the BIN file was not programmed as shown in picture :

0693W00000aHf6VQAS.jpg 

it is a stupid error, as i checked the content of the flash.

thanks a lot for the help Tesla and Gbm