Skip to main content
Visitor II
November 23, 2023
Question

stm32F767 SDRAM bootloader

  • November 23, 2023
  • 1 reply
  • 993 views

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

    ST Employee
    November 28, 2023

    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