In my project, when I connect the debugger, the software will enter Trap (Trap Class 4, TIN2). The program runs normally when the debugger is not connected
From the Trap information, I know that it is a LBE(Load Bus Error) error, but I still do not know when this trap will occur.
At the time of the trap, the program is initializing Ram, copying data from rom to ram.
But the strange thing is that each time a trap occurs, the while loop is different, sometimes 500 cycles, sometimes 1000 cycles.
The trap that occurs when you run the following code. Can someone take a look at this for me? Thank you very much.
Solved! Go to Solution.