Dear sir,
I want to run simple hello world program on DM6437 with CCSv6,I wish to use ONBOARD emulator(not external emulator).Can ypu tell me the procedure as i shared you what procedure i did in screen shot but i got error.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear sir,
I want to run simple hello world program on DM6437 with CCSv6,I wish to use ONBOARD emulator(not external emulator).Can ypu tell me the procedure as i shared you what procedure i did in screen shot but i got error.
Hi Rafael,
You can fix this by either: - Modify the default linker DM6437.CMD file to move all sections from L2RAM to L2SHRAM - With the debugger connected, go to menu Scripts --> EVMDM6437 Memory Map --> Clear_Memory_Map
If we do the above procedure,would we loose the preexisting program flashed ,like video loop back and audio loop back as these programs are inbulit programs?
Is the step what i did to select the connection:"spectrum digital dsk-evm- ezdsp onboard usb emulator "correct?
I want to know how to clear the EVMDM6437 Memory Map in menu script.
requesting to answer all three questions.
thank you.
Hi,
Please apologize for the delay. The setup seems correct, although the routine is failing to properly setup the cache at line 239. This can either be caused by code running on the target (as we commented before), a failed GEL file or a bug in the emulation software.
I looked in my setup here and the same GEL file has a different instruction at line 239 (the line where the error occurs in your setup).
Therefore I can't help but wonder if this file was somehow modified or is simply an older version. Can you try to use the attached GEL file from my setup?
Regarding the emulation software, perhaps you are using an older version: can you go to menu Help --> Installation details and check the version of the Spectrum Digital Emulators component? Also, which version of CCS are you using?
Hope this helps,
Rafael
Hi Rafael,
I added your gel file to my location of CCSv6,now i can over come the connecting error................but when i debug the code ,there am not able to run the program or unable to debug itself(means the resume symbol is Blurr instead of bold with colors).
please go through my screen shot and update me.............am using ccs version 6.
Hi,
It seems the GEL file enables the L2 cache on the device, which in turn disrupts the default memory allocation configured by the linker CMD file.
In this case, you can either disable the cache on the GEL file (line 38 of the file I sent you) or allocate all memory sections to the DDR2 segment.
For an example on how to do this, check the attached linker CMD file.
Regards,
Rafael
Hi Rafael,
Thanks for your prompt reply,its really appreciatable.
The Spectrum Digital Emulators component showed in your screenshot came with older versions of CCSv6 (6.1.1. and 6.1.2 to be precise). Did you update your copy of CCS to CCSv6.2 as indicated in another post of yours?
e2e.ti.com/.../548148
I overcome the error by uninstalling n reinstalling the CCS6.2.0,i updated my compilers and there is no issue with that thread.
Also, can you be sure the example code you showed in your second screen has a proper linker .cmd file?
I have not selected any command file,i kept it for automatic.
which Linker command file and Run support library i need to select?
In this case, you can either disable the cache on the GEL file (line 38 of the file I sent you) or allocate all memory sections to the DDR2 segment.For an example on how to do this, check the attached linker CMD file.
But i cant open the command file what you sent,how can i see the line 38?
can i replace with you command file what you sent from the standard location with earlier one?or no need to do replacement?
how to allocate all memory section to DDR2 segment?
If i allocate,is the standard codes like video loob back and audio loopback which always run on the kit by Default will washed out?
thank you
Hi Rafael,
you can either disable the cache on the GEL file (line 38 of the file I sent you) or allocate all memory sections to the DDR2 segment
I dont want to change the gel file,so i wish to allocate all memory section into DDR2 segment.


check the attached linker CMD file.
It is command file,how to check .
which Linker command file i need to use then what about heap size?
thank you.