Hi.
I get the following error during runtime (after 8 sec run): "Non-aligned Access: ARM Instruction at 001042F8H, Memory Access at 00000001H Data Abort: ARM Instruction at 001042F8H, Memory Access at 00000001H"
The failing code contain debug code:
. . . unsigned int *dbgPinX, *dbgPin11 ... . . . if(ch & 0x01) { dbgPin11 = (unsigned int *)(pinsOledData+i); // for IO if (dbgPin11 > (unsigned int *)0x200000) dbgX=2; else dbgX=1; dbgPinX = dbgPin11; // THIS LINE CAUSE THE ERROR !!! ((pinsOledData+i)->pio)->PIO_SODR = (pinsOledData+i)->mask; } . . .
The statement in question is executed lots of times, but 8 sec after each program-start, this statement will fail (every run), with the above mentioned error-message !
If anyone can give me a clue, I'll apreciate that very much.
Regards Terje Bøhler