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.

LAUNCHXL-F2800157: Update application with SCI

Part Number: LAUNCHXL-F2800157
Other Parts Discussed in Thread: C2000WARE

Tool/software:

Hello , I would like to update my application of my baord F2800157LAUNCHPAD using SCI, I think that tis is possible by downloading

flash_kernel_ex3_sci_flash_kernel.c project , but i could not understand how to add the new app function ( ex : blink led5) 
i saw on some forum talking about .txt filesand specificcommandtorun in order to do that , I'am a little bit confused on how to do that.
Thanks in advance 
  • Hello,

    Yes, you can use SCI boot to update firmware on your device. We have specific documentation and SCI flash kernel examples that walk through how to do this. Please refer to this application note, which explains the idea and the software example (it refers to different devices, but the flow/principles are the same):

    https://www.ti.com/lit/an/sprabv4h/sprabv4h.pdf 

    Refer to the section that discusses using the hex utility to generate a .txt file from your project (in your case, the blinky LED project). You essentially just need to add a post-build step in your blinky LED project's "project properties" that generates a .txt file whenever you build the project. This generated .txt file is what you would load onto the device using the serial flash programming tool after the device has booted in SCI boot mode and is ready to load the blinky application code (blinky .txt).

    The post-build step should look something link this (see the app note for details): 

    "${CG_TOOL_HEX}" "${BuildArtifactFileName}" -boot -sci8 -a -o "${BuildArtifactFileBaseName}.txt"

    Note that the F280015x flash kernel example can be found in C2000Ware at this directory as you have already found, I believe: {C2000Ware}\driverlib\f280015x\examples\flash\

    Best Regards,

    Allison