Build Code and Deploy to Target
Build Code and Deploy to Target

Build Code and Deploy to Target

The following process explains how to build the code and deploy to the target.
  1. Launch
    IAR Workbench
    by navigating to the root folder where you created the project.
  2. Double-click the
    EWARM\Project.eww
    file.
  3. Select
    Project
    >
    Clean
    to clean your project.
  4. Select
    Project
    >
    Make
    to build your project.
    Always perform a
    Clean
    followed by a
    Build
    operation to compile.
  5. Verify your compilation is successful.
    1. Turn on the
      Build
      log.
    2. Review the Build log.
  6. Verify that the project debug setting is set to
    ST-LINK
    .
    1. Select
      Project
      >
      Options
      .
    2. Select
      Debugger
      >
      Setup
      and verify the Driver is
      ST-LINK
      .
  7. Select
    Project
    >
    Download and Debug
    to initiate a target download.
  8. The software downloads and you should see the following screen, with the software execution at main(void).  You can select
    Go
    (
    Press F5
    ) to execute the software uninterrupted.