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.
Tool/software: Code Composer Studio
Hello,
I am driving DRV8711 using C2000. The code doesn't seem to fit in the RAM so I tried to switch to flash by including F28035.cmd file in the project. The motor seems to run as desired till I reset my Piccolo. Once I do that, CCS displays 'No source available for "0x3ff599"' on the console.
I tried to clean the code and then load again but that displays ‘No source available at 0x3ff8a1’.
I also checked F28035.gel file.
hotmenu EMU_BOOT_FLASH()
{
*0xD00 = 0x55AA; /* EMU_KEY = 0x 55AA */
*0xD01 = 0x000B; /* Boot to FLASH */
}
Kindly help me with a solution.
Thanks in advance,
Nikit Shah
Nikit,
Yes, you will see this message on reset and not restart. From my previous post, reset will cause the PC to be at the device reset entry point, which is in the Boot ROM (i.e. written in assembly - and not C source). Restart will cause the PC to be at the application code entry point (i.e. in your case written in C source). Please note that what you are seeing is NOT an error or warning. All is working correctly and as intended.
Now, the other issue you need to be aware of is setting the boot modes. For this I suggest reviewing the workshop materials at:
See the boot modes in module 4 and review the lab directions in module 5, specifically step 11. Please let me know if this helps.
- Ken
Santosh,
That explanation was helpful. I did add symbols and on running my application SelectMode_Boot.c pops up and the PC is on line
asm(" ESTOP0")
void WaitBoot(void)
{
WatchDogEnable();
for(;;)
{
// If the emulator stops here
// a) change EMU_KEY to 0x55AA
// b) write the appropriate boot mode to EMU_BMODE
// c) perform a debugger reset, and run
asm(" ESTOP0");
}
}
I have the respective changes done on f28035.gel file.
What are your comments on this?Any suggestions?
-Nikit Shah