cancel
Showing results for 
Search instead for 
Did you mean: 

stm32F767 SDRAM bootloader

CFranco
Associate

Hi, 

I am currently trying to implement a bootloader that runs from the internal flash and performs the following functions:

1. copy application binary file to the SDRAM ( 0xC0000000)

2. Jump to main application.

So far I can copy the binary from the external flash to the SDRAM but when I try to jump to the SDRAM I am getting a hard fault error.

I have configured the MPU region to enable all access but I get the same result.

There are 2 points that are for me not clear:

- Does the SDRAM application have to be compiled with a specific linker configuration?

- Do I have to de initialize all the peripherals?

1 REPLY 1
Joe WILLIAMS
ST Employee

Hi CFranco

Your inquiry has been processed via the Online Support Center.  We appreciate you taking the time to reach out to us.

Kind Regards
Joe WILLIAMS
STMicro Support