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'm using CCS 5.04 with the latest TivaWare libraries as of Feb. 3 (2.0.1.11577) and working with the Tiva C Series Launchpad board (TM4C123G). My goal is to get code working for a USB mouse device. I've run into several problems that I am open to solutions for:
* If I follow the TivaWare USB Library Guide's (SW-UBL-UG-1.0) directions on how to get a mouse running and make a project from scratch, it doesn't work, because the `ccs` symbol isn't getting properly defined even though my project settings are correct for the board I wish to use. Even if I add this in manually through the project properties, it still doesn't work. I either get a failure in usb.h because `ccs` wasn't defined as a symbol, or I get failures from __attribute__ being redefined (if I manually define `ccs` myself somehow).
* If I follow somebody's StellarisWare example, it doesn't work because I can't figure out everything that needs to be changed to get it compatible with TivaWare. A typical problem is that the target_config XML file has the wrong information in it, but I thought this file was auto-generated by the compiler from my project settings, which are correct for the part I want to use. I can look at this file and see that it has bad entries, but I don't know what the exact form of the right entries should be even if the tool allowed me to edit this file.
* My research seems to imply that there should be a usb_dev_mouse example folder somewhere, but I can't find any. The examples for the TM4C123G board only give usb_dev_bulk and usb_dev_serial. The closest I've come is seeing a usb_otg_mouse example for a different board.
Does anybody have a working TivaWare example of the USB mouse that just has the minimal code in it? Right now I'm thinking of trying to take one of the other examples and trying to convert it to a mouse, but then I have to guess at what I need to add and what I can take out.
Hi,
Please post your query here:
http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908.aspx
Regards,
Gautam
Thanks for the input. I did actually already make such a post there, and users in that forum told me to post in this one!
Sure, Chris. BTW I did check my TIVAware, as you've observed for this board no such usb_mouse example project is present. But for dk-tm4c129x such an example is present. I don't think porting the same for your board should be an issue.
Regards,
Gautam
The example you're pointing to there looks like the USB OTG example. My worry there is that I won't be able to identify what parts have to be changed since I will need to remove the OTG features.
Hi Christopher,
are you looking for an example or to overcome a ccs error?
If you are looking to overcome an error, this is the right forum and any details would help.
If you are looking for an example, these come from the stellaris team and help regarding specific examples etc is best in that forum.
Best Regards,
Lisa
Hi Christopher,
just wanted to double check for updates with your enquiry.
Best Regards,
Lisa