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.
Hi,
I am running some example code for the MSP-EXP430FR5739 experimenters board and the CC3000EM. The example is the Simplemail program on the CC3000 wiki site:
http://processors.wiki.ti.com/index.php/CC3000_Email_Demo_Application
When I compile everything using the legacy COFF format, the program launches in the debugger and stops at main as expected. I am trying to use the FRAM for some persistent variables via:
http://processors.wiki.ti.com/index.php/Creating_MSP430_FRAM_Variables_Using_CCS
so I changed the projects to the EABI format. When I do this, the program seems to be running and when I suspend it I get the following error.
Can't find a source file at "/tmp/TI_MKLIB28qeec/SRC/copy_zero_init.c"
Locate the file or edit the source lookup path to include its location.
I am using CCS v5.4. Can anyone help with this? Thanks!
Nate
Hi!
Try to find file "copy_zero_init.c" on your hard disk and then in CCStudio do Option -> Customize -> Directories -> add the name of the directories containing needed source. At the same time, maybe this file is included in some library and you can not point source code explicitly. In this case, the debugger usually offers disassembling code.
Regards,
Igor
Hi Nate,
Nathan Schneck said:Can't find a source file at "/tmp/TI_MKLIB28qeec/SRC/copy_zero_init.c"
Locate the file or edit the source lookup path to include its location.
This message is telling you that you are halted in code from the run-time library and the debugger can't find the source file for it. This is normal and you can ignore it.
If you are curious about all the details, you can read the following threads:
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/293874.aspx
http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/247877.aspx
Thanks
ki
Ki,
Thank you for the links. I understand that I can ignore the error. I am confused why I did not see this when my output was the legacy COFF, but when I switched to the EABI output it shows up. Also, maybe I wasn't clear, but when I switch over to the EABI output and try to debug the code, it just starts up running and doesn't stop at "main." When I suspend the code, the buttons to step over or step into the code are grayed out, so I am unable to debug. In the COFF output, everything works fine.
Nate
Nate,
You are likely running into the issue where the watchdog fires during C startup code. Please see this FAQ and this related thread for further details and information on how to resolve the issue.
AartiG,
Thanks for the information. I had run across some forums saying it was a problem with the watchdog firing during startup, but I couldn't track down how to fix it. I downloaded and installed a newer version of CCS and the MSP430 compiler and will hopefully try the switch to disable the watchdog during startup.
Nate