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.

Flash Memory programming for TM4C1294 by using uart and USB port.

Other Parts Discussed in Thread: SEGGER

Hello,

We would like to use TM4C1294NCPDTI in our new product.

Before launching the TM4C1294 in the main product, we would like to make evaluation board and try out all the prepheral that we would like to use in our main product.

We are not sure about how to make provision for flash memory programming in our evaluation board. 

I have noticed that TM4C123 is used in your development board(TM4C129X and TM4C123G ) for flash memory programming.

Please let us know whether same circuit(TM4c123, ICD, on the development board) shall be repeated on our evaluation board for Flash programming.

And for main product , we have to make this on seprate PCB and use it for flash programming as and when required.

If there is a direct solution to program flash of microcontroller by using LM flash programmer, please let us know.

Also please tell us if we can use USB port to flash memory programming of our controller. 

Thanks.

Regards,

Anil Sharma

  • Hello Anil,

    You can repeat the same circuit but TI does not release the binary for TM4C123 so it would be a waste. rather than that you can use XDS100's, Segger, Keil and other ARM Debugger Vendors for JTAG based Flash programming. TI does however give a utility called sflash (comes with TIVAWare) that can be used to program blank devices (or program already programmed devices using BOOTCFG setting for over-the-air updates)/.

    Regards

    Amit

  • Hello Amit,

    Thanks for your prompt reply.

    We were thinking to program flash by using serial programming(by using LM flash programmer) by using UART 0 on TM4c1294.

    We are thinking to use USB cabe and convert USB signal on our board by using FT232RL (USB to RS232 converter) to TTL signal and applying to UART0 of TM4C1294.

    So please let us know whether it is possible to flash program by using UART0 of TM4C1294 and through LM Flash programmer.

    Thanks.

    Regards,

    Anil Sharma

  • Hello Anil,

    Yes, it is possible to do what you are suggesting. I have however used a 9-pin RS232 cable with transceiver to do the same in the past.

    Regards

    Amit

  • Hi,

    from my experience, a JTAG connection (10 pins on a 50 mil square) does not take up much space and will save the board when anything else doesn't work. 

    Another option for the USB connection is to use logical buffers for UART0 and directly to a small header. Then you can use a FTDI TTL-232R-3V3 or similar cable which will give you the USB to serial conversion but without the extra parts on your board. If you don't need the USB afterwards, then take a look into this. 

    /Michael

  • Hello Amit,

    Thanks for your prompt reply.

    Since we are just making a evaluation board so we shall use 9 pin Rs232 cable with transceiver as suggested by you.

    Thanks once again.

    My problem is resolved.

    Regards,

    Anil Sharma

  • Hello Michael,

    Thanks for your suggestions.

    Actually we are making evaluation board to try out peripherals of TM4C1294.

    Once evaluation board is functional with flash programming and other peripheral tried out,we shall port this micro controller in our main system which is working with smaller controller,

    There we have all hardware to convert USB/COM to UART etc.

    So we shall use DB9/RS232 cable and Transceiver to connect UART0, as suggested.

    Thanks a lot.

    Regards,

    Anil Sharma