This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

using TI's ARM compiler with a LuminaryMicro Cortext-M3 board

LuminaryMicro supplies a  command-line tool (LMFlash.exe) for loading .bin files onto their boards via a serial port using an on-chip bootloader...  i'm currently using this tool with a gcc compiler for arm/cortex-m3, but would like to use the TI compiler instead.

right now, i run the standard objcopy utility supplied with gcc on the compiler's (ELF) output; the resulting .bin file is then loaded onto the board via LMFlash....

i'm using a recent TI ARM compiler (v 4.5.2), and can produce either COFF or ELF executables....  what's the process to obtain a .bin file that LMFlash will then simply copy into my board's memory????  [i've tried running different versions of objdump on an ELF executable, with no success; either the object-file format was declared "unrecognized" (mingw) or the resulting .bin file was 52M in length (sourcery)]

 

 

  • Bob,

    You will want to hold off on using the TI compiler for Stellaris for a bit.  A number of the modules included in Stellarisware as well as a number of open source M3 libraries depend on packed structure support.  The TI compiler that you have does not support packed structures.  We are in the process of adding packed structure support and will have an updated release later this year, along with flash integration into CCS... 

    More details on Stellaris support is available here:

    http://tiexpressdsp.com/index.php/Stellaris_support_in_CCS

    John