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.

tDEVICE_REQUEST_COMPARE

Expert 1030 points
Other Parts Discussed in Thread: MSP430F5529

I'm trying to write a USB aplication for an MSP430F5529 and get the error:

identifier "tDEVICE_REQUEST_COMPARE" is undefined

from within the descriptors.h file. It is referred to as external const. Where is this supposed to be defined?

Other 'undefined' error messages include: MAX_STRING_DESCRIPTOR_INDEX, USB_USE_INTERNAL_3V3LDO, and USB_XT_FREQ_VALUE,. These occur within usb.c

Thanks for any help.

  • Hello,

    Those messages appear because you are probably using an older version of the descriptor tool to create your descriptor.c, .h and UsbIsr.c files. 

    What version of the USB Developers Package are you using?  There should be a descriptor tool in the version of the Developers Package that you downloaded that will work with the USB stack you are working with.

    Regards,

    Arthi Bhat  

  • Thanks Arthi,

    That seems to have been the problem. I thought that when CCS6 installed, the shortcut to the new Descriptor Tool would go in the Start menu, but it didn't. When I searched for it, I found it. The only other problem was that the new descriptors.c , descriptors.h and usbisr.c files now go into a separate directory instead of the 'root' directory so I had to delete those old files. Now it compiles without error. Thanks for your help.

    Regards,

    Harry.

**Attention** This is a public forum