When I run the USBHID example according to description, it runs well (with Client1) just until I push the reset button on the MCB2140. Then it hungs and one needs to close (kill) HIDClient, disconnect the board, then connect again and run the HIDClient. As the reset condition is pretty common: Watchdog Reset, Brounout, etc, this example is absolutely not useful for learning how to run a real application. Is there any possibility to solve the problem so that the connection between HIDClent and the board restarts again after the microcontroller reset?
Hi, I have to apologize to misleading you with my replay. I had posted the question regarding USB HID example. Nobody has responded to it yet. In searching for similar problems I found your post but I did not investigate it. In the same time I downloaded newest code from Keil web site and that solved my problem So I replied to your question thinking it can be helpful to you even I did not investigate the problem. Because when I rebooted the hybrid the USB client hang on, like it did to you. It is good you answered yourself to that question, it is helpful. Looks there are not many people involved with USB on the device and host level in the same time. Happy programming. Best regards, Milan
Hi Milan, Thank you. I tried all IMHO software versions, but only rewiring according to Olimex works. But again, after the microcontroller RESET, to restart the work, one should again choose the LPC2148 from the "Device" menu of the USBHID. I am not familiar with the Visual C (I just suppose, that it is the source language of the HID client) so I asked one of my students to make appropriate changes in the HID Client. In case of success I will report it on the forum. Regards, Varuzhan