Part Number: TM4C129ENCZAD
Other Parts Discussed in Thread: SW-TM4C
Do I have to write a value to the register in advance to detect the USB ID by connecting the PC and this IC?
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.
Part Number: TM4C129ENCZAD
Other Parts Discussed in Thread: SW-TM4C
Do I have to write a value to the register in advance to detect the USB ID by connecting the PC and this IC?
Hello Kanematu-san,
The USB0ID pin is used to indicate the initial state of the controller and when configured for USB operation, it will provide a signal based on how the USB peripheral is configured. So in a manner, yes you would, but it would be more along the lines of configuring the USB peripheral for host or device mode and not that there is a specific unique register just for USB0ID.
Best Regards,
Ralph Jacobi
Hello, Jacobi
Thank you for your reply.
In other words, it is necessary to write to the register in advance so that it can communicate via USB.
What kind of driver do I need if I need to write?
Hello Kanematu-san,
Yes with one exception which is that the USB boot loader runs from ROM code but that only enumerates the microcontroller as a USB Device in Device Firmware Upgrade (DFU) mode to allow the loading of a Flash image onto a blank microcontroller.
We provide a USB library, Windows drivers, and multiple USB examples for each of our LaunchPad with TivaWare (SW-TM4C) to minimize your development time for USB applications.
Best Regards,
Ralph Jacobi
Hello, thank you for your reply.
I have a question after reading the following text.
-------------------------------------------------- ---------------------------------------
We provide a USB library, Windows drivers, and multiple USB examples for each of our LaunchPad with TivaWare (SW-TM4C) to minimize your development time for USB applications.
-------------------------------------------------- ---------------------------------------
After all, to make your PC recognize the port via USB, you should use the SW-TM4C series software kit that you recommended, right?
Hello Kanematu-san,
Correct, with SW-TM4C you will be able to run examples that work out of the box and show that Windows recognizes the USB port such as but not limited to both USB CDC and USB Bulk examples.
Best Regards,
Ralph Jacobi
Hello and thank you for answering the question.
We are considering the following items required to make the TM4C129XX recognize the USB port.
HW side
JTAG connector
XDS110
TM4C129XX
SW side
CCS
SW-TM4C
Is this recognition okay?
Hello Kanematu-san,
Yes, that is a good summary.
Best Regards,
Ralph Jacobi
Hello, thank you for answering the question. HW for writing programs will eventually need a debugger, right?
Hello Kanematu-san,
It is highly advised to have a debugger so that you have the ability to use breakpoints, view memory locations, and be able to easily re-load your program during development. Initial evaluation of known good examples can be done with the ROM boot loader but beyond that I would suggest leveraging a debugger even if just the ICDI provided with our LaunchPads.
Best Regards,
Ralph Jacobi