CodeWarrior Hardware Breakpoints

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

CodeWarrior Hardware Breakpoints

1,797 Views
davidcav
Contributor II
I am using CodeWarrior to debug a MC68332 CPU board.  My code is running in Flash ROM.  The datasheet for the MC68332 indicates that I should be able to set up to 4 hardware breakpoints, however, when I try to set one, I always get the following message from CodeWarrior:
 
"Maximum number of hardware breakpoints (1) has been reached"
 
I do not see any  breakpoints set when I "View -> Breakpoints"  from the codeWarrior.  I am using the P&E Micro BDM debugger to connect to my board.  
 
Is there a certain configuration, or register setting that is unenabling hardware breakpoints??
Labels (1)
0 Kudos
1 Reply

359 Views
Nouchi
Senior Contributor II
Hello,

As far as remember, there's no hardware breakpoint support (except BKPT pin) on MC68332.
IMHO, the best thing to do, is to move your code to ram and use software breakpoints.
But I could be wrong, because I never used CW with 68332, I used an old Hiware compiler with the older BMdebug debugger.


Emmanuel,
0 Kudos