Skip to main content

IAR Embedded Workbench for RISC-V 3.40

Write failure during load

In this section:

There are several possible reasons for write failure during load. The most common is that your application has been incorrectly linked:

  • Check the contents of your linker configuration file and make sure that your application has not been linked to the wrong address

  • Check that you are using the correct linker configuration file.

Caution

In the IDE, the linker configuration file is automatically selected based on your choice of device.

To choose a device:
  1. Choose Project>Options.

  2. Select the General Options category.

  3. Click the Target tab.

  4. Choose the appropriate device from the Device drop-down list.

To override the default linker configuration file:
  1. Choose Project>Options.

  2. Select the Linker category.

  3. Click the Config tab.

  4. Select the Override default option, and choose the appropriate linker configuration file in the Linker configuration file area. A browse button is available.