I get an "instruction fetch exception" while running my code. Any idea what causes this .. has one dealt with such an issue before? Any help is much appreciated
Thanks and regards,
Pavan
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.
I get an "instruction fetch exception" while running my code. Any idea what causes this .. has one dealt with such an issue before? Any help is much appreciated
Thanks and regards,
Pavan
Please take a look at the C64x+ CPU and Instruction Set Reference Guide, and find the section on C64x+ CPU Exceptions. You will find a listing of the various exception types and short descriptions of what can cause an exception to occur.
Of course, these are low-level reasons that explain for example what kind of fetch could generate an exception. The higher-level causes are varied. Program memory could be corrupted by a memory-device failure or by an errant data write operation, or the program counter could be executing from invalid memory where the noise values read are not valid instructions.
Regards,
RandyP
If you need more help, please reply back. If this answers the question, please click Verify Answer , below.
I'm not sure if you're using DSP/BIOS or not, but this page is likely helpful either way:
http://processors.wiki.ti.com/index.php/DSP_BIOS_Debugging_Tips