Build considerations
When you build an application that will be downloaded to flash, special consideration is needed. Two output files must be generated. The first is the usual ELF/DWARF file (out) that provides the debugger with debug and symbol information. The second file is a simple-code file (filename extension sim) that will be opened and read by the flash loader when it downloads the application to flash memory.
The simple-code file must have the same path and name as the ELF/DWARF file except for the filename extension. This file is automatically generated by the linker.