When I load the code into flash using flash tools and disconnect the debug, the code run okay, but if I try to run the code using the debug, program get lost before reach the main function. How can I solve this issue?
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.
When I load the code into flash using flash tools and disconnect the debug, the code run okay, but if I try to run the code using the debug, program get lost before reach the main function. How can I solve this issue?
Ari Mendes dos Santos said:When I load the code into flash using flash tools and disconnect the debug, the code run okay, but if I try to run the code using the debug, program get lost before reach the main function. How can I solve this issue?
Please see if I've understood.
If you program the code into flash, disconnect the debugger, power cycle the device and run, it works fine.
If you instead program the code into flash, leave the debugger connected, perform a reset and a run you don't reach the main() function.
In both cases is is the same exact same code programmed into the flash?
When the emulator is connected, the 2803x device uses the EMU_KEY and EMU_BMODE RAM locations to determine the boot mode. The details are in the boot ROM guide (www.ti.com/lit/sprugo0) Check location 0x0D00 and 0x0D01 against table 5 to see what the boot mode is set to before you run with the debugger connected.
If this does not solve the problem, can you give more details? What are the symptoms when the processor becomes "lost"? Can you load the symbols of the boot ROM code and step through it?
-Lori
It is not a bug. After connecting, you probably forget to
Should work fine this way.
hi mr ari,
i have a question.
how can you use ccs 3.3 with f28035?
because i don't find usb emulator of f28035 in code composer studio setup , if you have, can you send me?? or where can i find it?
thank you
erenkcms(at)hotmail.com
Yes, all devices are supported under CCSv3.3
You just need one of the more recent service releases or new set of emulation drivers
http://processors.wiki.ti.com/index.php/CCS_3.3
Thread continued on CCS forum:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/60562.aspx
-Lori