Hi,
Recently we tried porting the eval software of embUSB- Host from ATMEL SAMA5D3-Xplained board to ATMEL SAMA5D3x-EK .
We have created the project in IAR EW 8.2. we merged the USBH & USBH_CDC driver start script to a basic embOS project.
When we tried to run the project we are getting USB host controller initialized and device driver initialized, but when i connect a cdc device like mouse or keyboard i am getting error messages like
"
0:002 OS_Idle() - INIT: INIT: emUSB-Host Init started. Version 2.06a
0:222 OS_Idle() - INIT: *********************************************************************
0:223 OS_Idle() - INIT: * emUSB-Host Configuration *
0:224 OS_Idle() - INIT: *********************************************************************
0:225 OS_Idle() - INIT: * External hubs are NOT allowed
0:226 OS_Idle() - INIT: * Time before communicating with a newly connected device: 300 ms
0:227 OS_Idle() - INIT: *********************************************************************
0:228 OS_Idle() - INIT: INIT: Init completed
0:229 OS_Idle() - INIT: INIT: Allow enumeration of devices
0:235 OS_Idle() - INIT: INIT: Enumeration of devices enabled
** USB Stack Version = 20601 **
0:240 USBH_isr - INIT: INIT: USBH_ISRTask started
0:241 USBH_Task - INIT: INIT: USBH_Task started
10:122 USBH_Task - *** Warning *** RootHUB: _ProcessPortResetSetAddress: Port disconnected during port reset
12:425 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
15:909 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
19:393 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
22:877 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
26:361 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
26:362 USBH_Task - *** Warning *** RootHUB: USBH_ROOTHUB_ServicePorts: Max. port retries on port 2 - PORT_ERROR!
34:977 USBH_Task - *** Warning *** RootHUB: _ProcessPortResetSetAddress: Port disconnected during port reset
37:280 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
40:764 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
44:248 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
47:732 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
51:216 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
51:217 USBH_Task - *** Warning *** RootHUB: USBH_ROOTHUB_ServicePorts: Max. port retries on port 3 -
PORT_ERROR! ""
I dont know where we are missing something. Please help us resolve this issue.
Board: ATMEL SAMA5D3x-Ek
IDE : IAR 8.2
Thanks & Regards,
Santhosh Kumar
Recently we tried porting the eval software of embUSB- Host from ATMEL SAMA5D3-Xplained board to ATMEL SAMA5D3x-EK .
We have created the project in IAR EW 8.2. we merged the USBH & USBH_CDC driver start script to a basic embOS project.
When we tried to run the project we are getting USB host controller initialized and device driver initialized, but when i connect a cdc device like mouse or keyboard i am getting error messages like
"
0:002 OS_Idle() - INIT: INIT: emUSB-Host Init started. Version 2.06a
0:222 OS_Idle() - INIT: *********************************************************************
0:223 OS_Idle() - INIT: * emUSB-Host Configuration *
0:224 OS_Idle() - INIT: *********************************************************************
0:225 OS_Idle() - INIT: * External hubs are NOT allowed
0:226 OS_Idle() - INIT: * Time before communicating with a newly connected device: 300 ms
0:227 OS_Idle() - INIT: *********************************************************************
0:228 OS_Idle() - INIT: INIT: Init completed
0:229 OS_Idle() - INIT: INIT: Allow enumeration of devices
0:235 OS_Idle() - INIT: INIT: Enumeration of devices enabled
** USB Stack Version = 20601 **
0:240 USBH_isr - INIT: INIT: USBH_ISRTask started
0:241 USBH_Task - INIT: INIT: USBH_Task started
10:122 USBH_Task - *** Warning *** RootHUB: _ProcessPortResetSetAddress: Port disconnected during port reset
12:425 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
15:909 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
19:393 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
22:877 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
26:361 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
26:362 USBH_Task - *** Warning *** RootHUB: USBH_ROOTHUB_ServicePorts: Max. port retries on port 2 - PORT_ERROR!
34:977 USBH_Task - *** Warning *** RootHUB: _ProcessPortResetSetAddress: Port disconnected during port reset
37:280 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
40:764 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
44:248 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
47:732 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
51:216 USBH_Task - *** Warning *** RootHUB: USBH_HUB_PORTRESET_GET_DEV_DESC failed USBH_STATUS_CANCELED
51:217 USBH_Task - *** Warning *** RootHUB: USBH_ROOTHUB_ServicePorts: Max. port retries on port 3 -
PORT_ERROR! ""
I dont know where we are missing something. Please help us resolve this issue.
Board: ATMEL SAMA5D3x-Ek
IDE : IAR 8.2
Thanks & Regards,
Santhosh Kumar