Hello,
everytime I launch the debugger, CCS4 erases the flash and reload the code, is there a way not to do so?
the code is inside already, just connect the target, is this doable?
thak you
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.
Hello,
everytime I launch the debugger, CCS4 erases the flash and reload the code, is there a way not to do so?
the code is inside already, just connect the target, is this doable?
thak you
Hi Harrison,
there are various debug properties available to you.
Look under Project->Properties->CCS Debug. What you want is on the Debugger tab to have Load Symbols Only selected. This will then not reload/reflash your device.
There are various other debug settings (including some target dependent) here you can set if you wish. For example in the Target tab, a general option is usually to prevent automatically running to main if you wish.
I hope this helps.
Best Regards,
Lisa
Harrison 2011 said:what exactly mean "load symbols only"?what does symbol mean here?
Loading symbols is when the debugger will read the associated symbols and addresses from the .out file and map them into the disassembly window and memory windows so that you can perform single-step debug and make sense of what you are looking at.
It does not alter the contents of the memory locations, but allows Code Composer Studio (or other IDE) to provide contextual meaning behind the values you see.
BrandonAzbell said:
what exactly mean "load symbols only"?what does symbol mean here?
Loading symbols is when the debugger will read the associated symbols and addresses from the .out file and map them into the disassembly window and memory windows so that you can perform single-step debug and make sense of what you are looking at.
It does not alter the contents of the memory locations, but allows Code Composer Studio (or other IDE) to provide contextual meaning behind the values you see.
[/quote]
Thanks very much.
the problem is everytime I load symbols only , it stops at 0x3FF5F5 (28027),which is in boot ROM area( the instruction is estop).
when hit run, it just stops, this could be understood as the instruction at this location is estop, which I could not understand is why it stops at this location when using load symbols only?
if I change to load program in the debugger setting as Lisa said, the code is running, not stops at 0x3ff5f5 any more.
so what's the problem, what I did wrong?
thank you
While I don't get the same address, it is in the similar address range.
Once you load the symbols, perform a CPU reset and then Target->Restart. You should now be pointing at main().
BrandonAzbell said:While I don't get the same address, it is in the similar address range.
Once you load the symbols, perform a CPU reset and then Target->Restart. You should now be pointing at main().
yes, it works.
thanks a lot and I am sorry I made such a silly mistake.
your approach is really great!
have a great day.