Crossware

Table of Contents        Previous topic       Next topic       

Hardware Breakpoints->PC Breakpoints

ColdFire supports PC breakpoints either in software (using the HALT instruction) or in hardware using special debug module registers.  

If you set a PC breakpoint on a program address which is writeable, the debugger will automatically use a software breakpoint.  Any number of software breakpoints can be set.

If you set a PC breakpoint on a program address which is not writeable, the debugger will try to set a hardware breakpoint.  Only a limited number of hardware PC breakpoints are available.  On MCF52xx and MCF53xx chips, there is one PC breakpoint.  On MCF54xx chips there are four PC breakpoints.

If a PC breakpoint cannot be set because there are no further hardware breakpoints available, it will be disabled.