Other Parts Discussed in Thread: CCSTUDIO
Hi,
I am working with C6416T DSK board and CCStudio 3.1. I want to implement the ability to upload some compiled code into running DSP and then execute it. There is a section called UserCode in L2 RAM at some fixed address. I'm using following procedure:
1. Place function into UserCode section and build my CCS project.
2. Use hex utility hex6x to convert UserCode section from .out into hex file.
3. Modify function in UserCode section.
4. Again build, load and run in DSP.
5. Upload .hex into running DSP on address of UserCode section (uploaded through EMIFA).
6. Execute code in UserCode section.
But my newly loaded code doesn't execute. I can see that the correct machine code was loaded (in memory view, also in disassembly window), but the old code is executed.
Does anyone have any idea, where is the problem?
Thanks.
Tomas