David, please correct me if I'm wrong, but selecting the Ext MRAM Debug target only causes the program to be loaded into external RAM correct? I assume more work needs to be done to get the program to access external RAM?
I would like to load the entire code into internal Flash (of an MCF52259), but extend the accessible RAM to the external device for the kernel heap and stack space. Are there examples of this?
Thanks
Angelo
Hi Angelo,
Making this its own thread.
Please have a look at the MQXUG.pdf in the MQX4.0/docs/mqx folder.
Search on _mem_extend for brief explanation of the function call.
Then in same folder open the MQXRM.pdf and search again for detailed information on the functino call.
Assumptions before making/implementing this call would be to have setup the FlexBus memory space for your external RAM.
Regards,
David
Thanks David. I've reviewed those bits of documentation (unless the PDFs that come with MQX4 are different than the latest versions on the site, RM rev 6 and UG rev 3). They show the usage of that function, but I'm looking more for a project example. I'm not sure I'm using it in the right place, or if there are other calls I need to be making. I have the flexbus set up but when I call _mem_extend it all locks up.
Regards,
Angelo