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.

source codes for using energia?

Other Parts Discussed in Thread: ENERGIA

We are considering a project based on energia on TiVa TM4C123XL launchpad.


Energia is flashed into the launchpad via the TM4C123 bridge on the launchpad, if we are going to integrate this design in ours, we need to have the source codes for that.


Is the energia bridge source codes available?

Thanks

  • David Chance said:
    TM4C123 bridge on the launchpad

    What is that bridge you are referring to at the Tiva Launchpad?

    If you are new to Energia, see some tutorials.

    - kel

  • The full source to Energia is available via its github repo.

    https://github.com/energia/Energia

  • Yes, I am new to energia


    When I refer to the bridge, I was talking about the following (which I could misunderstand it)


    On TM4C123XL launchpad, there are TWO TM4C123XL, I assume one of them acts like an USB bridge (such as FTDI), so that we can flash energia codes to the target micro. Unless we can replace this with a generic FTDI USB bridge, we need the codes to use it.


    So my question is

    Can we replace the USB bridge 4C123 with FTDI? If not, where can I find the source codes for it so that I can make my own "launchpad" to integrate it to my design?

  • thanks, but I am not looking for the source codes of energia,

  • David Chance said:
    Can we replace the USB bridge 4C123 with FTDI? If not, where can I find the source codes for it so that I can make my own "launchpad" to integrate it to my design?

    Better ask that at the Tiva Forum. A TI Engineer would be best to answer that.

    From what I know, the ICDI chip codes are propriety of TI, and would work only by the windows drivers provided by TI. Another way is to program your TM4C123 through JTAG pins, which can be done using JTAG debugger such as XDSV100. 

    - kel

  • Hi,

    The "bridge" device that you are referencing is used on the Launchpad devices to provide a debugging and programming interface. This allows simple projects to be developed and debugged with a single piece of low cost hardware.

    Generally if you are going to develop a "product" that uses the main processor you will provide your own debugging and programming interface. I am more familiar with the MSP430 rather than the Tiva range. The MSP430 Launchpads also have the same sort of "bridge" devicve, but generally when doing your own product you would include debugging and programming interfaces such as JTAG or SPY-Bi_Wire, or a BSL interface for programming only, on your board. It is not usual to copy the launchpad hardware that uses the bridge device, so there is no requirement for the code in this device. 

    Overall I have not seen any reference to the source for this type of device on the TI website and doubt that it is available.

    Roy

  • I would like to use USB in the field so that the user can change the codes on the fly, so JTAG or anything that requires extra circuit in between will not work.

    Any suggestion?

  • HI,

    You may be better off trying the Tiva forum rather than the MSP430 one. I could advise you regarding option on the MSP430 but don't really know much about Tiva. Some MSP430 can be reprogrammed directly using a serial or USB boot loader with a single device but Tiva may or may not have this option.

    Roy

  • Definitely ask the Tiva forum.  I'm not sure if the ICDI is open sourced.

    Optionally, I think the Tiva does support some sort of serial bootloader, either through the UART (so an FTDI FT232RL may work) or its built-in USB interface.  However, Energia does not come with a native tool for programming it via that method, so you'd have to provide such a tool for the user to use alongside the pre-built binary .elf file from Energia.  (Or have them use Energia to compile, but manually update using the BSL tool).  Either way, Tiva forum is the right place to ask.

**Attention** This is a public forum