MCF5307, cannot debug, code is directly executed at first step

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MCF5307, cannot debug, code is directly executed at first step

_angelo
Hi all,

 

i am new to Coldfire world, and i am using CodeWarrior to debug some test code on a MCF5307.

 

The code is compiled correctly, then the debugger download it through BDM, and CW shows out the fist line of my "main" code function, with the code ready to be executed.

 

Pressing "Step Into" the program is executed, and i get the following message:

Program "loader.elf" is executing.
Choose Break from the Debug menu to stop it.

 

So i cannot step line by line.

Any help is really appreciated.

Angelo