Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 123938

Forum Post: sysbios memory protection exception

$
0
0

hello,

my sysbios is 6.32.05.54, and in my main() function, add the bellowing instructioins:


dwPerm = MemoryProtect_MPPA_LOCAL | MemoryProtect_MPPA_SR | MemoryProtect_MPPA_SX | MemoryProtect_MPPA_UR |          MemoryProtect_MPPA_UX;
  MemoryProtect_setPA((VOID*)0x10888000,(0x108e0000 - 0x10888000),dwPerm);

but when running the  MemoryProtect_setPA(), exception occurs:


Exception at 0x108c1498
EFR=0x40000000 NRP=0x108c1498
DMC Exception MPFAR=0x184a114 MPFSR=0x120
Supervisor Read violation, Fault ID=0x1
ti.sysbios.family.c64p.Ex[C66xx_1] ception: line 248: E_exceptionMin: pc = 0x00000000, sp = 0xa079c560.
xdc.runtime.Error.raise: terminating execution

from the log, it is a supervisor read error when reading the 0x184a114, it seems a register, but dont find its defination and do not know why the error occur. and what is the DMC exception?


Viewing all articles
Browse latest Browse all 123938

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>