Hello!
i've many problems with mcf51jm128 and cmx usb stack, in host mode. The problem is in the handshaking phase of this kind of requests:
direction: OUT (host to device)
type: control transfers
length: greater then zero
the device doesn't send the zero length packet...i tried different types of device, also using the example project for HID keyboard class...the only instruction that use this kind of transaction is:
hid_kbd_set_leds(/*data for leds*/);
if call this, nothing happens...
can anyone help me? i can't find the errata of the cmx application note...
thanks a lot!! excuse disturbing
Hello,
I have EXACTLY the same problem !
I want to use the function: hid_kbd_set_leds() and nothing happens on keyboard and furthermore, the program is blocked in infinite loop on "usb_host_start_transaction()" function :
/* Wait for transaction end or an error occurs */
while((MCF_USB_INT_STAT & (MCF_USB_INT_STAT_TOK_DNE | MCF_USB_INT_STAT_STALL | MCF_USB_INT_STAT_ERROR)) ==0)
Does someone sucessed to light on usb keyboard leds with latest CMX stack on DEMOJM board with MCF51JM128 ?
thanks for help,
Thomas.