Execute Target Task

To execute the task:

  1. Right-click on the imported task.
  2. Select Execute. Alternatively, select the imported task and click the Execute icon on the Target Tasks view toolbar.
  3. CodeWarrior establishes contact with the board, erases the microcontroller's flash memory, downloads the code, and verifies that the contents of flash match those of the file. In this case the target task will erase the shadow flash which means that it will set the Lock step bit.
  4. Reset the board. For more information, refer Hardware Reset. This step is mandatory in order to use the new LS configuration.
    Note: When changing the device back to DPM the shadow flash will be programmed. However, it is possible that the shadow flash sector is protected. In case the shadow flash sector is protected then the target task will fail and you will need to add an unprotect action to target task. This action need to be run before any other actions.