Hi,
A simple question regarding the prevailance of errors to do with "Can't find a source file at
As for instance : Can't find a source file at "/tmp/TI_MKLIB4kQNZn/SRC/exit.c"
Locate the file or edit the source lookup path to include its location.
Now I know this is related to the piece of code that I'm using for some debuggin, and it used to work just fine (please see snippet below).
It follows a few extra lines at the begining of main().
status += CSL_i2cInitialisation(); // Initialisation de l'I2C pour parametrer le codec. init_TCA6424A(); // Initialisation de l'extenseur de GPIOs I2C, TCA6424A. ConfigPort(); // Configuration des directions des ports du dsp SET_MUX_DSP_BT() #if BT_VERS_UART == 1 SET_MUX_UART_BT() // Switch FTDI to BT mux SET_BT_ALIM() // Activate BT. wait(20000); // small delai. CLR_BT_RESET() // remove reset to boot iWrap. exit(0); #else SET_MUX_UART_DSP() // Switch DSP to FTDI mux. SET_BT_RESET() // set BT reset. wait(2000); // small delai. CLR_BT_ALIM() // By default bluetooth module is OFF. #endif SET_CC1190_STAND_BY() // set standby CC1190 for low power. etc. etc
The compiled and executed code should exit(0); and this certainly has happened, and the code cursor should highlight line 106 of the code on the exit(0); as this is like a final breakpoint ...
Instead I'm getting this error : "/tmp/TI_MKLIB4kQNZn/SRC/exit.c" as mentioned above ... Like its looking for the source to the exit() function ??
Where is this comming from. I'm trying to understand if some CCS12 files have been corrupted to be causeing this, and if this is the case, which files may be these, and is there a way to refresh them.
I am sure this used to work all day yesterday, no worries, as I was using it to switch some debugging code for the current project.
CCS12 would always halt on the exit(0) no problems. Is there a possibility of some file configuration corruption in CCS12 to have caused this ?
Besides this not found source file error, there are others that somehow don't halt the processor at a known source line when I press HALT, and places the curser source line in some unknown state with the above error. This is worrying as I haven't been having these errors till recently, which is why my question relates to possible corruption of CCS12 files. Is there a way to refresh these files or to at least back them up in the future ??
Thanks in advance and regards,
M.M.