I am currently attempting to create a USB interface for my project that will act as a virtual com port.
I am stuck in the enumeration stage of the USB communication.
I am receiving the setup packet from the computer, asking for the device descriptor to be sent. I set the address bytes of both of the ODD and EVEN buffer descriptors for the IN on endpoint 0 to be the address of my device descriptor in memory.
I get an error message after that (DMAERR). Can anyone please help point me in the correct direction to solving this problem?