Other Parts Discussed in Thread: HALCOGEN
Tool/software: Code Composer Studio
I am experimenting with using the MPU. When I allocate an array, the mpu protection is triggered and step into b _dabort,
step into
stmfd r13!, {r0 - r12, lr};
and then step into
b _dabort,
just like loop,
the program is shown in the following two figures:
,I have two questions:
1.Why the program steps into b _dabort instead of ldr r12, esmsr3 after stmfd r13!, {r0 - r12, lr}?
2.What is the normal software flow for triggering MPU protection?
More pictures:
1.Assign values to arrays to trigger mpu protection
2.value of R0-R13
3.config of HALCoGen
4.CMD