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.

Development Using the TM4C123BE6PM

Other Parts Discussed in Thread: TM4C123BE6PM, EK-TM4C123GXL, LMFLASHPROGRAMMER, ENERGIA

Hello everyone,

We would like to develop a system based on the TM4C123BE6PM.  I would like to know:

  1. Whether it is possible to program the flash when the processor is in our proto-type board, and if yes, which programming cable and kit can we use?

  2. Does Code Composer Studio have a code size limit and how do we interface it to the on-board processor?

  3. Is there a way to update the libraries for IAR for this processor?

  4. What is the recommended development kit for this processor?

There's a slight confusion for a new entrant like me about the correct eval board for this microcontroller:

The link: http://www.ti.com/tool/ek-tm4c123gxl shows the TM4C123G LaunchPad as the evaluation kit.  However, another link: http://www.ti.com/tool/EK-LM4F232 also shows the EK-LM4F232 as an evaluation kit for the same processor while the manual for the  EK-LM4F232 kit (http://www.ti.com/lit/ug/spmu272/spmu272.pdf) shows that the EK-LM4F232 has the LM4F232 processor!

Thank you for your time.

Regards,

Anand

  • I'll try to answer your questions below.

    1) It is possible to program the board while it is on the prototype board.  This can be done in several ways.  LMFlashProgrammer is the simplest.  It can interface to the chip via the chip's ROM bootloader through a serial or USB port.  A blank device on USB will enumerate as a USB DFU that LMFlash will recognize and burn with your binary image.  You can also connect a JTAG or SWD connection to the appropriate Port C pins of the MCU this enables programming and debugging via a JTAG adapter such as the XDS-100, uLINK or JLink as well as others.

    2) Code composer does not have code size limits when used with our eval kits. It can also be used with our XDS100 without limits http://dangerousprototypes.com/2012/02/23/using-tis-code-compresser-studio-ide-for-free/

    3) IAR will work with your selected processor.  Depending on the version of IAR you may need to select the LM4F equivalent part number.  Found on the title page of the datasheet for your part.  I do not know when or if IAR will be releasing updates that use the new Tiva names.  

    4) Apologies for the confusion on our website.  Either kit you mention is appropriate for the processor you selected.  The EK-TM4C123GXL is a low cost kit meant for people who want a low cost of entry and may want to develop and prototype add on boards or use an Arduino like environment (Energia).  The EK-LM4F232 is more full featured kit with more functions out of the box.  It includes a display, several analog features and more out of the box friendly USB Host / OTG capability.  There is also the EK-LM4F120XL this is the predecessor to the EK-TM4C123GXL.  The feature set is nearly identical.  The 123G adds USB Host / OTG (if you solder a couple resistors) and Motion control PWM and QEI.

    The EK-TM4C123GXL is not yet shipping. It is the only kit that will ship with the new part numbers.  Demand for the chips is high enough that we are competing with ourselves to get them allocated to build kits. The first of these should ship in the next few weeks. If I had to make a single choice based on the chip you mention and its features i would select the EK-LM4F232 kit if you need the motion control PWM. If you don't need motion control PWM the EK-LM4F120XL is an equally good choice.

    Download and install TivaWare and work through the docs folder after you install it.  It has lots of information about the drivers and libraries as well as the ROM and the bootloader.

    Also see the design guidelines for these chips for tips and tricks for building your custom board.

    http://www.ti.com/lit/an/spma051/spma051.pdf

    Dexter

  • Hi Dexter,

    Thank you very much for the detailed reply.  Using the XDS100 seems to be a good idea.  Could you confirm that amongst the XDS100 emulators, TMDSEMU100V2U-ARM is the correct one for the TM4Cxx processors?  (I don't know if you are the correct person to pose this question but I also wanted to know why this emulator has two connectors - 14 pin and 20 pin ARM connectors.)

    Thanks for looking into this.

    Regards,

    Anand

  • Yes the XDS emulator you found is correct for the TM4C parts.

    The 14 pin is mostly a TI standard pin out found on many of our kits across the company.  The 20 pin is the ARM standard connector.  This is the older ARM connector.  We now use mostly the 10 pin header with 0.050 inch pitch.  It is much smaller and has the same function.  Adapters are available from many vendors to adapt between the 20 pin and 10 pin if you need to.

    You only need to design your board with a single connector.

    Dexter