SubFaults creation for K26 Processor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SubFaults creation for K26 Processor

1,271 次查看
paritosh_kedia
Contributor I

I am working on Kineics K26 processor referring to Document Number: K26P169M180SF5RM, we have Bus Fault, Memory Management Fault, Usage Fault and Hard Fault with Sub faults for each of these Fault. Need some information for How to Create each type of Subfaults for the different type of Faults. Thanks

0 项奖励
回复
1 回复

1,230 次查看
Alexis_A
NXP TechSupport
NXP TechSupport

Hi Paritosh,

In the Analyzing HardFaults on Cortex-M CPU article mention the sources for each fault:

Bus Fault: detects memory access errors on instruction fetch, data read/write, interrupt vector fetch, and register stacking (save/restore) on interrupt (entry/ exit).

Memory Management Fault: detects memory access violations to regions that are defined in the Memory Management Unit (MPU); for example code execution from a memory region with read/write access only.

Usage Fault: detects execution of undefined instructions, unaligned memory access for load/store multiple. When enabled, divide-by-zero and other unaligned memory accesses are also detected.

Hard Fault: is caused by Bus Fault, Memory Management Fault, or Usage Fault if their handler cannot be executed.

For more information I will suggest to check the following link.

Best Regards,

Alexis Andalon

0 项奖励
回复