K66 : How to recognize a Flexbus bus error ?

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

K66 : How to recognize a Flexbus bus error ?

1,931 次查看
koichisakagami
Contributor II

Dear community,

I am checking a Flexbus specification with the Reference Manual .


It is described in the External Bus Interface (FlexBus) chapter
that some types of accesses cause a transfer to terminate with a bus error.

I hope to detect (recognize) the bus errors on Flexbus bus.


[Question]
        I think that I can detect the bus error,as the bus error cause the Bus Fault interrupt.
        Is my understanding currect ?

       Best Regards,
       Koichi Sakagami

标签 (1)
0 项奖励
回复
3 回复数

1,713 次查看
koichisakagami
Contributor II

Dear XiangJun ,

Thank you for reply.

I checked the FlexBus Bus error.

And I confirmed that the FlexBus Bus error generates the hardware fault interrupt .

Thank you for your information.

And

I hope to get the register information  to determine the Flexbus Bus errors occurrence in hardware fault interrupt handler.
What kind of status register bit does indicate the Flexbus Bus errors occurrence ?
Or is it impossible to determine the Flexbus Bus errors occurrence by register status ?

Best Regards,

Koichi Sakagami

0 项奖励
回复

1,713 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Koichi,

I do not think theer is error status for the FlexBus error, so it is impossible to determine the Flexbus error occurrence by register status.

BR

Xiangjun Rong

1,713 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,  Koichi,

The FlexBus module is a peripheral module, if a FlexBus error heppens, I think the hardware fault interrupt (index 3) will be triggered. As a test, you can generate FlexBus error, in the case, if you do not define the ISR, the Kinetis will execute the line:

  b    DefaultISR

You can check the Low 8 bits of xPSR in debugger, which is ISR_NUMBER

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复