Hello, we are using the HalCoGen RM48L952ZWT and I am currently running out of internal RAM to execute the code and data.
I stored the code in Flash and execute them out of Flash. The code use internal RAM for all variables, stack, global variables, etc. and I have a realtime OS to manage the code. All tasks were created and used internal RAM for its stack and data allocation.
I like to use external SDRAM for them now.
My question is how to configure the project to use external SDRAM including the linker, sys_link.cmd file, the linker option file, etc. and specify the size of SDRAM for linker, option file.
What are the methods that I have available to configure the project for this purpose? And what is the best option?
I have a realtime OS that I am using to create tasks and these tasks need stack space, and data space large enough to run them. Now I need to use external SDRAM for these tasks. Currently they are all using internal RAM and I am out of space for them to run.
It is urgent that I need a solution to utilize external SDRAM for the code and data to run but the code still need to be downloaded and stored in Flash first.
Thanks for giving me a solution.
Kenneth Lai