AnsweredAssumed Answered

LPC54628 export function code into SDRAM

Question asked by Mateusz Kiełbasa on Oct 29, 2019
Latest reply on Oct 31, 2019 by jeremyzhou



I would like to create some helpers function inside SDRAM on my LPC54628 board. I am working on "emc_sdram" example project and decorate desired function with __RAMFUNC(BOARD_SDRAM). I am able to compile the program with any errors and warnings. Also usage of sdram changes:


"BOARD_SDRAM:          32 B        16 MB      0.00%"


But after flashing everything is stucked and the program cannot acccess any breakpoint when debugging. SDRAM is initialized using example project. What should I do to run the function from sdram? Thanks for your answers!