HID example modification question

Technical questions regarding the XTC tools and programming with XMOS.
Post Reply
robertsonics
Newbie
Posts: 1
Joined: Thu Jun 03, 2010 7:21 pm

HID example modification question

Post by robertsonics »

New user, perhaps dumb question: I'm attempting to modify the HID example to be something other than a mouse, specifically a generic I/O device with buttons and LEDs. Running on the USB Audio 2.0 ref kit. I've modified the descriptors accordingly and the device is enumerating correctly on the host. However, when I include the call to XUD_SetBuffer() in the HID (Endpoint 1) process, I get the following error when I try to run or debug:

xrun: Program received signal ET_ILLEGAL_RESOURCE, Resource not valid.
0x000116b4 in PreLoads ()

I am not able to set a breakpoint or otherwise debug this. Any guidance would be appreciated.


Post Reply