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.

Can I flash a Stellaris with CCS, without source?

Other Parts Discussed in Thread: LMFLASHPROGRAMMER, UNIFLASH

Is it possible to flash an image that someone else built, with just the .bin file?

I have an upto date CCS, and can flash to our Stellaris LM4f230 using CCS, if I have the source.  We have some non-software folks that need to be able to flash the board with updates. I'd like to provide them the .bin and let them flash it.  Does CCS support such a feature?

Thanks,

Steve

  • Hi Steve,

    while you don't need source.  Most flash programmers will require one of the following formats

    - hex

    - TI txt

    - CCS can also load the .out file

    There is a utility called the LM Flash Programmer

    http://www.ti.com/tool/lmflashprogrammer

    You can use post build steps in ccs to generate the hex file.

    Project->Properties->Build->Then go to the "Steps" Tabe and "Apply Predefined Step"

    I hope this helps and please keep us informed.

    Best Regards,

    Lisa

  • Hi Lisa,

    LM Flash Programmer would be great. I have the XDS100v2 JTAG emulator.  When I use it with CCS, it's fine. However, when I try to use with LM Flash Programmer, I always get an error:

    Pop-up window title: Error Message

    Pop-up error message:**ERROR**: Unable to find a target!

    Pop-up button: OK

    I've used the LM Flash Programmer with a blank Stellaris over UART, and that works fine. However, once our application has been flashed, the boot loader isn't running, so I can't use the UART on LM Flash Programmer after the inital programming. Using the XDS100v2, I've never gotten LM Flash Programmer past that error message.

    I've tried the Manual Configuration, as well as LM4F232Eval Board settings.

    Under Manual, I've tried the ICDI and Red Probe with no luck getting past that error.

    I'd be happy to program the image from either CCS or LM Flash Programmer.  With CCS, though, don't want to have to ship source code around so we can flash devices.

  • Hi Steve,

    this might actually be better in the Stellaris forum.  Have you seen this thread?

    http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/p/158121/624274.aspx#624274

    Would you be willing to see if our beta version of uniflash helps you further?

    http://www.ti.com/tool/uniflash

    Please keep us informed.

    Best Regards,
    Lisa

  • Hi Steve,

    just thought I would check for any updates and whether you have been able to post in the stellaris forum as suggested.

    Best Regards,
    Lisa

  • Hi Lisa,

    I have not posted it to the Stellaris forum.

    I did try the UniFlash, but had no luck with it either.

    I did find a thread saying that XDS100v2 is not supported on LM Flash programmer.

    I've done some remote CCS installs and am moving source code around so others can flash thier boards.

    Steve

  • Hi Steve,

    ok, thanks for the update and I recommend if you do with to pursue the issue, try the very helpful Stellaris team.

    All the best with development.

    Best Regards,
    Lisa