Skip to main content
Visitor II
Nov 23, 2023 11:59 AM UTC
Question

stm32F767 SDRAM bootloader

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?

    This topic has been closed for replies.

    1 reply

    Joe WILLIAMS
    ST Employee
    Nov 28, 2023 6:38 PM UTC

    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