Sunday, February 25, 2018

Cortex-M3/M4 Debugging

Good post to change Imprecise abort to Precise by disabling buffering ((DISDEFWBUF bit in ACTLR register)
http://chmorgan.blogspot.in/2013/06/debugging-imprecise-bus-access-fault-on.html

In your OS, specially in Cortex-M3/M4 a good step would be disabling of nested interrupts by setting same interrupt priority level for all interrupts.

Bus fault (imprecise error) occurs in peak busy state, if number of bits for PRIORITY GROUP and PRIORITY LEVEL are not properly set in n4ixxxx.c.

No comments:

Post a Comment