I have been having a nightmare of a time trying to write a custom set of descriptors for USBD (using LPC11U24F).
Sometimes the hardware init function gives me a ERR_USBD_BAD_MEM_BUF error, sometimes it hangs, occasionally I have gotten the ERR_USBD_BAD_DESC error.
I have verified that it the common issues, memory alignment, size etc. Reading through discussion board it seems like a number of people have had similar struggles without a solid resolution.
Would it be possible to get a copy of the parser code used by the hardware init function?
I am willing to sign an NDA if required. Currently writing the full/high speed descriptors is an incredibly frustrating experience, throwing them at a black box and getting misleading errors back. Being able to step through the parsing code would make writing a working descriptor far far easier.