Bug in CMX Stack???

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bug in CMX Stack???

765 Views
mar_vir83
Contributor I

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

Labels (1)
0 Kudos
1 Reply

277 Views
TomLEE
Contributor III

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.

0 Kudos