AnsweredAssumed Answered

How to allocate data at RAM4 Bank using OM13098 (LPC54628)?

Question asked by Luciano Chaves on Apr 3, 2019
Latest reply on Apr 4, 2019 by Ricardo Delsordo

Hello guys, I'm using OM13098 board (LPC54628) and I'm trying to allocate data at external SDRAM (RAM4). Based on MCUXpresso user guide I have included the following lines:

#include <cr_section_macros.h>

__DATA(RAM4) uint32_t buffer[100];


After that, it looks compile okay:


   Memory region Used Size Region Size %age Used

   PROGRAM_FLASH: 57560 B 512 KB 10.98%

   BOARD_FLASH: 0 GB 16 MB 0.00%

   SRAM_UPPER: 77424 B 160 KB 47.26%

   SRAMX: 0 GB 32 KB 0.00%

   USB_RAM: 0 GB 8 KB 0.00%

   BOARD_SDRAM: 400 B 16 MB 0.00%


However, when I try to download and debug, nothing happens. I'm not able to debug my program and my code does not work anymore.


Could someone tell me how to use RAM4 memory bank on OM13098? 


Thank you!