Comment #1 on issue 176 by [email protected]: USB buffer descriptor
memory allocation
http://code.google.com/p/jallib/issues/detail?id=176
It was found that 0x4FF / 0x500 is at the edge of a bank and therefore an
array cannot be defined there:
var volatile byte usb_ep1out_buf[USB_EP1_OUT_SIZE] at USB_EP1_OUT_ADDR
This explains why I needed to define usb_msd_reserve_array[0x10] at 0x500.
I was also able to solve the issue by changing USB_EP1_IN_ADDR to 0x0500
The size of usb_bd_array[255] is still incorrect according to datasheets.
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en.