Part Number: EVMK2H
Tool/software: Code Composer Studio
Hi,
Recently, I update my dsp code for adding some variable to debug watch,but I find that when dsp run the new code , it will go to dead loop in assembly code
I write code by C ,working on the 66AK2H14 in EVMK2H. Using CCS 7.3.
It should not go into dead loop. But I used XDS Pro Emulator to debug , and find code run into dead loop of assembly code.
Here is what I see in CCS
The function where dead loop is
The code cause dead loop
DSP will hold when execute this line of code ,I check assembly code and find it go into dead loop
It always execute this there assembly code, and dsp will hold.
When I change the name of code section ,code won't go into dead loop and dsp keep running.
assembly code change
But "ramisr" and "runfastram" code section are in the same memory ,defferent name.
MEMORY{
...................
dsp_L2_ram: o = 0x00800C00 l = 0x0006F400
.................
}
runfastram : > dsp_L2_ram
ramisr : > dsp_L2_ram
Question:
1,I don't know why assembly code will create dead loop.I don't create any loop in my C code.
2, Why different name of code section will cause different assembly code?
If anyone know anything ,please tell me .Thanks very much
Best Regards