2023-11-23 3:59 AM
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?
2023-11-28 10:38 AM
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
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.