Escalation issues using BAM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Escalation issues using BAM

551 Views
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 Kudos
Reply
1 Reply

532 Views
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 Kudos
Reply