AnsweredAssumed Answered

Loading Function from Flash/SD Card into SDRAM on MIMXRT1050-EVK(B)

Question asked by Mike Cooke on Jan 20, 2020
Latest reply on Jan 27, 2020 by Felipe García

I am trying to load a function from flash into external SDRAM and executing the function on the MIMXRT1050-EVK(B). The future application for this will be loading a .bin from the SD Card into SDRAM and jumping to it.


I modified evkbimxrt1050_freertos_hello to use external SDRAM. I tested the external SDRAM portion before I added my code of moving the function into SDRAM.


It looks like everything is going well until I copy the function into a buffer that is stored in SDRAM. When I try to execute the function, I get plenty of hard fault errors.


Let me know if anyone has any insights on this.