USB using ccs examples not sure what supposed to work
Posted: Thu Jul 08, 2004 12:01 pm
I have taken the example files from the usb scop example and slightly modified them to work with my board. all communicatiopn is doin via SPI.
I have set up a few printf() statements to help
when I plug in the usb cable it pops up in window that a usb device has malfunctioned.
in the interrupt on a rxev it calls usb_get_packet()
in there i have added this line where is puting the rx data in to *ptr:
printf(":%x", *ptr);//todo debug <-----------**
and I did a similar thing for txev using usb_put_packet()
I printf every time *ptr is moved to the usbn9603 chip.
any how this is what I am getting using a terminal program:
USBN: 0x02
Wating for enum...for enum...
Rx: :80:00:00:40:80:80:80:80:01:00
Tx:
Rx:
Rx: :80:00:00:40:80:80:80:80:01:00
Tx:
Rx:
Rx: :80:00:00:40:80:80:80:80:01:00
Tx:
Rx:
Rx: :80:00:00:40:80:80:80:80:01:00
Tx:
Rx:
Rx: :80:00:00:40:80:80:80:80:01:00
Tx:
Rx:
Rx: :80:00:00:40:80:80:80:80:01:00
Tx:
Rx:
does this look right in any way?????????
cdwtech
Joined: 08 Jul 2004 Posts: 1
Posted: Thu Jul 08, 2004 12:09 pm
not sure why it posted me as a guest but here is my user name if any one needs it
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum