AnsweredAssumed Answered

Best Place to add external SRAM in MQX

Question asked by pmt on May 9, 2013
Latest reply on May 16, 2013 by pmt

I am modifying a base BSP (K60F120 tower) for our custom board.  Our board has external SRAM hanging off the flexbus.  What is the proper place to initialize and add this SRAM into the PSP/BSP?

 

I can guess two options:

 

     - Linker does not target this external SRAM and it is only used as an MQX memory pool

     - Linker targets external SRAM and it needs to be initialized by the debugger (during debug), or by startup code before C-initialization is called.

 

For these two situations what are my target files for modification?  Boot.s, init_bsp.c, etc?

 

Thanks,

PMT

Outcomes