7.1.25 Hardware Breakpoint Set

Allocates hardware breakpoint resources on the target OCD module.

Note: tinyAVR and megaAVR (debugWIRE) devices have no hardware breakpoint resources.
Note: megaAVR (JTAG) devices have three hardware breakpoints.
Note: AVR XMEGA devices have two hardware breakpoints.
Note: AVR devices with UPDI have one hardware breakpoint.
Table 7-31. Hardware Breakpoint Set Command Format
FieldSizeDescription
CMD_AVR8_HW_BREAK_SET1 byteCommand ID
Version (0x00)1 byteCommand version
Type1 byte

0x01: program break

Number1 byteBreakpoint number to set (1, 2, or 3)
Address4 bytesAddress (byte address)/value to use
Mode1 byte

0x03: program break

Responses: