Hi NXP,
I am working on evaluating Multicore Experiments and I am using the MPC5777C Evaluation Board (P/N-MPC5777C-516DS). So, for some of my experiments, I need to program the elfs in External SRAM (External Memory), but I cannot load from the .cmm script and get an error while running the script. Please refer to below snaps of commands in the .cmm script and error message.
In this the External SRAM Memory is given.
This error message I am getting as the external memory address is given.
Can you please let me know what command has to be use to load in external SRAM or any other way that can be used.
Attached below the versions details of the Trace32 Software.
Thanks in advance.
@powerpc @lukaszadrapa @multicore @Steve
Hi, It is not flash memory so you cannot apply flash programming for that. What you need to do, is to initialize EBI and MMU (what can be done by TRACE32 script as well) and the just load application to RAM by
Data.LOAD.ELF "../bin/RAM.elf"
Hi David,
Thanks for the Reply.
As part of my experiments on multicore evaluation, I need to get the analysis/behavior by putting the code, data, and stack section on the External SRAM only, and accordingly, I updated the linker file in the same way, that's why I need to load the elfs in the External SRAM.
So, did I need to do anything before loading the elfs to External SRAM, or If I have to initialize the EBI to do the same then what I need to do?? Please provide your inputs.
Secondly, I already tried to load the elf using Data.LOAD.ELF "../bin/RAM.elf" this command also and its also not working for me as the memory location that I gave in the linker file is not updating and I am seeing (????????).
Request you to please provide your inputs.
Regards,
I have found demo in the TRACE32 installation directory. Although for different MCU, you may see how to prepare the script.
c:\T32\demo\powerpc\hardware\mpc55xx\mpc55xxdemo\ebi_init.cmm
My example code written in C you may find here:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5777C-External-SRAM-test-GHS714/ta-p/...
Now it is needed to translate C-code to TRACE32 script.
Unless Lauterbach does not have prepared solution @rweiss
But i have already answered. Yes, you must initialize EBI before loading of elf file pointing to the EBI.
Thanks, David and rweiss
I will try with the solution provides and let you know for any issues.
Regards,
Hi David and rweiss,
I have updated the cmm script according to the c code that you have shared for initializing the EBI (attached below) but, few issues I am facing are mentioned below:
Request you to please provide your inputs on the above-mentioned issues.
If possible can we connect over a call for better clarification on the issues.?
Note: Linker and cmm files are attached below in a zip file.
Hoping for your quick response. @davidtosenovjan @rweiss
Regards,
Hi @davidtosenovjan and @rweiss,
Can you please provide me your response on the above issues or can we connect over a call for a better demonstration of the issues.
Regards,