Skip to main content

IAR Embedded Workbench for RX 5.20

--drv_mode

In this section:
Syntax
--drv_mode {debugging|attach_to_program|flash|flash_and_execute} 
Parameters
debugging

Makes the emulator operate as a debugger. After downloading your application, you cannot disconnect the debugger and use the target system as a stand-alone unit.

attach_to_program

Makes the debugger continue to execute a running application at its current location, without resetting the target system. The target system must be powered by external power.

flash

Makes the emulator operate as a flash memory programmer. You cannot use the emulator as a debugger in this mode.

flash_and_execute

Launches your application on the target board when the code has been downloaded.

For use with

All C-SPY hardware debugger drivers.

Description

Controls the behavior of the debugger when code is downloaded.

Caution

Project>Options>Driver>Download>Mode