Hello,
has anybody ported the Keil USB/HID sources of SAM7x to SAM9263 ? There is an issue writing the UDP_CSRx (Endpoint Control and Status) register see datasheet chapter 43.6.10. I have 2 problems: 1) the pc application cannot connect to the firmware after around 5 minutes (firmware has not crashed)
2) the enumeration fails (is incomplete, usbview tool shows 0 open pipes) only on a specific pc. Maybe this has to do with the UDP issue of the processor (see chapter 50.2.19 in datasheet). Has anybody changed his/her code to workaround the issue? What have you done exactly?
I have used Revision G of the Datasheet (06-Jan-09)
ST Micro has released their own USB stack, which supports GCC, IAR and KEIL
"STR7/STR9 USB developer kit" on ST Micro site www.st.com/.../12721.pdf www.st.com/.../um0290.zip
You may use it as is, or as your reference to modify the KEIL example.
Tsuneo
Aha, sorry, it's Atmel's
Atmel also supplies their own USB stack for GCC, IAR and KEIL
AT91SAM9263-EK Software Package for IAR 5.2, Keil and GNU www.atmel.com/.../at91sam9263-ek.zip