Hi Tsuneo,
I try to use the usb hub but the result is the same: host does not enumerate the device. I discovery a very strange thing. When I disconnect POWER SOURCE from the device, appear the CODE - WARRIOR dialog box that notify me that the code-warrior has lost the connection to the device, so he ask to me if a want to retry to stop or retry the debug sessione. If I stop debug session and I subsequently recconect POWER SOURCE to the device host does not enumerate the device. Instead if I don't give answer to the code - warrior dialog box and I subsequently reconnect POWER SOURCE, the debug session is restore, and host is able to enumerate the device. In conclusion, if I desconnect POWER SOURCE, stop the code, reconnect POWER SOURCE, restart the code by the restart button host does not enumerate the device; instead if I don't stopped the code, disconnect POWER SOURCE, reconnect POWER SOURCE, debug session is automatically restore and host is able to enumerate the device. Why this appen?
Now I try to insert in my USB code a very simple application: turn led ON-OFF when a TOD interrupt is generated. I disconnect the POWER SOURCE and I subsequently reconnect to POWER SOURCE. My intention is to verify if the application correctly restart. I will inform you about the result of this try.
Thank in advice
Francesco