No Break in Main()

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

No Break in Main()

670 Views
pyi285
Contributor II

hi
I am a first-time technician using CodeWarrior.
I took a breakpoint while using this chip, but it doesn't stop at the point

The point part is the DisableWatchdog() in Main, and the pointer to the FMPLL_init() function.

Can you explain why it doesn't work?

 

XKITMPC5674FMVV3 #SPC5674FMVV3 

0 Kudos
5 Replies

651 Views
pyi285
Contributor II

 CodeWarrio is V11.0 But

When debugging with Flash, the brake works, but
When debugging with RAM, the brake does not work

 And if you turn off the power of the EVB board and turn it on again, all the firmware on the board disappears.

Do you know why?

0 Kudos

653 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi,

which version of CodeWarrior do you use?

Regards,

Lukas

0 Kudos

650 Views
pyi285
Contributor II

CodeWarrio is V11.0 But
When debugging with Flash, the Break point works, but
When debugging with RAM, the Break point does not work
And if you turn off the power of the EVB board and turn it on again, all the firmware on the board disappears.

Do you know why?

0 Kudos

645 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Isn't that something similar to this topic?

https://community.nxp.com/t5/CodeWarrior-for-MCU/Not-breaking-on-breakpoint/m-p/594517/thread-id/133...

And there's nice article from Erich Styger:

https://mcuoneclipse.com/2012/07/29/software-and-hardware-breakpoints/

If you have RAM project then yes, it will disappear after power off-on sequence. But if you have flash project, it will definitely stay in flash. There's no reason for erase.

Regards,

Lukas

635 Views
pyi285
Contributor II
Your answer is best good
Thank you
0 Kudos