s12zvc can communication error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

s12zvc can communication error

ソリューションへジャンプ
1,212件の閲覧回数
sypark
Contributor I

Hello I am implementing can communication.

I'm not good at English and I use Google Translator.
I am using s12zvc 64mkh, codewarrior11.0.
CAN_test3.zip source code is good for sending and receiving communication.
The DevKit-S12ZVC_IIC_Lab4.zip source code build OK. but run error.
If disable void interrupt VectorNumber_Vcan0rx CAN_ISR ()(CAN.c file), the run will work without error.
If it is active, an error occurs.
When CAN_ISR () is disabled, send is sent but not receive.
Why is this happening? What is the solution ...?
please help me.
Thank you.
タグ(3)
1 解決策
1,019件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The problem is that the example is build using Processor expert which generates its own vector table. And since the CAN module is not configured by PE, the vector is occupied by CPU_Interrupt routine by default.

pastedImage_1.png

pastedImage_2.png

Then, the programmer writes twice to the same vector in Flash  (0xFFFE10 - 0xFFFFFB).

Regards,

Daniel

元の投稿で解決策を見る

2 返答(返信)
1,020件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

The problem is that the example is build using Processor expert which generates its own vector table. And since the CAN module is not configured by PE, the vector is occupied by CPU_Interrupt routine by default.

pastedImage_1.png

pastedImage_2.png

Then, the programmer writes twice to the same vector in Flash  (0xFFFE10 - 0xFFFFFB).

Regards,

Daniel

1,019件の閲覧回数
sypark
Contributor I

Thank you very much.

0 件の賞賛
返信