Hello,
I want to make TM4C12xxx microcontroller as the lock device in the linux, for which I have to customize the USB stack. Does anyone knows how to get USB stack and the way to get the system working. Hope to get some reply soon.
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.
Hello,
I want to make TM4C12xxx microcontroller as the lock device in the linux, for which I have to customize the USB stack. Does anyone knows how to get USB stack and the way to get the system working. Hope to get some reply soon.
Good idea, how deep is your knowledge of both Linux kernel and drivers and TIVA too? This is a prerequisite we need know to try help or discourage or drive to long term acquisition of knowledge.
TIVA Examples of USB usage are on TIVAWare, TIVA are not a so easy to use. Indeed depending on what are you intended to do, energy efficient and cheaper MSP series 5/6 in some way can be more close to this task too.
Sachin Grover said:I have done driver on UART for Linux kernel previously
Ok, but this is far far away from complexity of USB drivers in Linux, a simple character device is the simplest to Linux if not USB virtual serial device.
On linux you wish use block or character device?
Your intenction is to cript/decript code (so a block device is better than exchanging signatures) or whathever encription is in your mind?
Why not use specific product like sentinel?
Sachin Grover said:I have two ideas, whether to make Tivaware as a device and use it as a key to protect the linux OS(or some applications to open) or make Tivaware as host and some USB device attached to it as the key(when some device is inserted then only TIvaware peripherals work otherwise they stop working)
I cannot decode what is this, if you use TIVA as HOST then the only one port is occupied and you cannot connect Linux HOST as device otherwise you use an USB bridge.
Tiva as device can connect Linux in both Hos or (Recommended) Device mode in both character and Block or composite too. Get one choice and seek TIVAWARE examples, try on linux and see if they hit what are you thinking.
See also what is present on MSP430 6xxx with AES hardware accelerator on chip so they can help security key calculation