Prog Mode Leave

Exits programming mode on the target.

If the ‘programming’ flag is set in the config context, the target will be released to run, and the debugger deactivates the physical. This is the desired behavior for a pure programming session.

If the ‘debugging’ flag is set, the target will be stopped at the reset vector . A Break event will always be sent when 'debugging' flag is set. If the 'debugging' flag is set and the Attach command has not yet been run it will be run automatically during Prog Mode Leave.

Table 1. Prog Mode Leave Command Format
Field Size Description
CMD_AVR8_PROG_MODE_LEAVE 1 byte Command ID
Version (0x00) 1 byte Command version

Responses: