Hello Kinsley,
Yes, basically:
if you look at page 135 of the reference manual:
https://www.st.com/resource/en/reference_manual/rm0399-stm32h745755-and-stm32h747757-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
SDRAM BANK 1 is at 0xc000 (behaving like device memory, not
executable)
Ok, it sounds like that's quite a bit more involved than just updating
this mapping so I'll drop this patch for the time being.
Kinsey
On 7/12/2023 11:12 AM, Karel Gardas wrote:
Hello Kinsley,
you are indeed right. I've not fixed this bit since it also requires
fixes in linker scripts and
Hello Kinsley,
you are indeed right. I've not fixed this bit since it also requires
fixes in linker scripts and additional sdram region for sdram2 remap.
E.g. Original Sebastian's code is using SDRAM_1 as a remap of SDRAM_2.
Linker script(s) then are using SDRAM_1 as an executable region