Escalation issues using BAM

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

Escalation issues using BAM

490件の閲覧回数
KAIH1
Contributor II

Hi, I am using BAM and am having problems upgrading my program with CAN communication.

When debugging my program with JTAG, there was no problem, but after upgrading through CAN, the program ran incorrectly. When I block a code( INTC.CPR.B.PRI = 0;). After this sentence, continue to use CAN upgrade, found that the program runs normally.
So I ask the following question:
When using CAN to upgrade my program, if I need to use interrupts, do I need to do some other initialization operations like this file(mpc5500_booke.mac) , and if so, how should I write my code?

 

33.png

 

0 件の賞賛
返信
1 返信

471件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

When debugging my program with JTAG, there was no problem, but after upgrading through CAN, the program ran incorrectly.

It looks like you have issues with settings interrupt priorities correctly.

Debugger handles interrupts differently as there is a lot of time between execution of instructions due to stepping trough code.

Also debugger by default disable watchdog SWT.

 
 

Untitled.png

Best regards,
Peter

0 件の賞賛
返信