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.

TM4C129ENCZAD: What I want to achieve with TM4C129ENCZAD

Part Number: TM4C129ENCZAD
Other Parts Discussed in Thread: AWR1843

I would like to drive the TM4C129ENCZAD on my custom board for the following purposes.

1. Convert USB signal to UART to communicate with other target.
2. Convert USB signals to JTAG signals to communicate with other ICs.
3. Display on the COM port when connected via USB. (Windows)
4. Drive as a USB device

Is it possible to create this by editing the program ourselves?
Also, which SDK for Tiva Ware should I refer to when making it?

  • Hello Kanematu-san,

    USB to UART, displaying as a COM port, and driving as a USB device are all basic functions you can achieve with the TivaWare SDK. You can refer to examples like usb_dev_cdcserial to start.

    USB to JTAG is not an operation we would provide any support or examples for, that will need to be developed on your end as a unique application.

    Best Regards,

    Ralph Jacobi

  • Hi, thanks for your reply.

    Are all the functions I mentioned possible with usb_dev_cdcserial?
    (I don't know much about S/W, so please tell me the name of the C file for reference.)

    Ultimately, I want to use it as a serial conversion IC for flashing the program to the AWR1843.

  • Hello Kanematu-san,

    Are all the functions I mentioned possible with usb_dev_cdcserial?

    These functions are possible:

    1. Convert USB signal to UART to communicate with other target.
    3. Display on the COM port when connected via USB. (Windows)
    4. Drive as a USB device

    That example will enumerate a CDC port. Then you can connect to UART terminal to send data from UART terminal into the MCU which will take that data and output it onto the USB CDC port that is connected on Windows. Both the UART and USB interfaces will show up as COM Ports on a CPU so you can any terminal software to connect to send & receive data.

    (I don't know much about S/W, so please tell me the name of the C file for reference.)

    The example folder includes a .c file with the same name.

    Ultimately, I want to use it as a serial conversion IC for flashing the program to the AWR1843.

    You would have the develop the flash method yourself. If you don't know much about software, you likely will need to get help for this. That is a very complicated process that takes software expertise to properly create.

    Best Regards,

    Ralph Jacobi

  • Hi, thanks for your reply.

    Thank you for your detailed explanation.
    So you're referring to and editing the .c file you mentioned.

    What is the flash method you mention next?
    Do you have any material that your company provides about that?

    You said
    you likely will need to get help for this.

    What kind of help is this specifically?

  • Hello Kanematu-san,

    What is the flash method you mention next?
    Do you have any material that your company provides about that?

    That is to achieve this step:

    2. Convert USB signals to JTAG signals to communicate with other ICs.

    We do not have any resources to provide with doing this.

    It would likely require an experienced software engineer to write such an application, so if you have limited S/W experience I think you will need to find an expert who can write such an application for you.

    Best Regards,

    Ralph Jacobi

  • Thank you for your reply.

    I spoke
    2. Convert USB signals to JTAG signals to communicate with other ICs.

    This assumes that the AWR1843 itself is set to SOP debug mode.
    It means that you need a specialized S/W engineer to make this.
    -------------------------------------------------- --------------------------------------------

    When writing a program to the AWR1843 in flash mode, the AWR1843 must be connected to the UART. Is the Flash method necessary at this time?

    In addition, I have a question, but I really want to install debug emulation of AWR1843 in the serial conversion IC (TM4C129ENCZAD), but it seems that it is not supported.
    Are there any other supported debugger emulations?

  • Hello Kanematu-san,

    When writing a program to the AWR1843 in flash mode, the AWR1843 must be connected to the UART. Is the Flash method necessary at this time?

    I have no idea how to program that device over UART, I can't answer that.

    Are there any other supported debugger emulations?

    Yes, buy this and program the target device through JTAG: https://www.ti.com/tool/TMDSEMU110-U

    We do not support using debug emulation software on TM4C microcontrollers. Our team did not develop the firmware image for XDS110 that goes on TM4C129 MCUs and Texas Instruments does not offer support for implementing an XDS110 on a custom board..

    Best Regards,

    Ralph Jacobi

  • By the way, is it possible for the TM4C129ENCZAD to convert the UART signal received from another device into a USB signal and send it to the PC?

  • Hello Katematu-san,

    Yes, the usb_dev_cdcserial example demonstrates that as well. The example is a USB-to-UART bridge with two way communication. So UART --> USB and USB --> UART are both demonstrated.

    Best Regards,

    Ralph Jacobi

  • Hello, sorry for the long time.

    I think that I have to write the program to the TM4C in the Virgin state, but I need to load the boot_loader for writing to the flash memory, right?

  • Hello Kanematu-san,

    When the device is in virgin state, there is a ROM boot loader that can load firmware first. So you can use either that or you can use a JTAG probe.

    Adding a boot_loader program can be done with either method if needed, but the only use case for adding a boot_loader program that is if you need to customize how the boot loader works or want to have the application be able to call for a boot loader to firmware upgrade.

    Best Regards,

    Ralph Jacobi

  • Hello, sorry for the late reply.
    I referred to usb_dev_cdcserial.c, but which functions are used for port display and USB to UART?

    After creating this code, I will incorporate it into the IC, but could you tell me the procedure after that?

  • Hello Kanematu-san,

    The full example is commented in detail, please read through the entire example and the comments provided to understand the architecture used. Every element of the example is thoroughly explained within the .c file.

    Best Regards,

    Ralph Jacobi

  • OK, I'll try to read it!