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.
| Field | Size | Description |
|---|---|---|
| CMD_AVR8_HW_BREAK_SET | 1 byte | Command ID |
| Version (0x00) | 1 byte | Command version |
| Type | 1 byte |
0x01: program break |
| Number | 1 byte | Breakpoint number to set (1, 2, or 3) |
| Address | 4 bytes | Address (byte address)/value to use |
| Mode | 1 byte |
0x03: program break |
Responses:
