- Wed Jun 03, 2015 11:25 am
#19342
Moin,
you can locate the problem with logic or let the computer show you the line of the problem.
I explain the latter.
Exception 28 means you load from a memory position you should not load from.
corebits.h:
Code: Select all#define EXCCAUSE_LOAD_PROHIBITED 28 /* Cache Attribute does not allow Load */
epc1 is the program counter of the offending instruction.
excvaddr (the value you didn't copied because ...) is the memory location accessed
objdump can be used to show the assembler code with C source code of your program.
Make sure you compile and link with "-g".
For me that would be:
Code: Select allxtensa-lx106-elf-objdump -Sd app/.output/eagle/debug/image/eagle.app.v6.out | less
Then just look for
and think why that loads from the address contained in excvaddr.
Cal