use lpcusblib in LPC1788 chip

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

use lpcusblib in LPC1788 chip

1,118 次查看
mini92
Contributor I

I use lpcusblib debugging usbhost found that the program will stop in the WaitForTransferComplete

In enumdevice get devicedescription stop   waitTransferComlete 

static HCD_STATUS WaitForTransferComplete(uint8_t EdIdx)
{
#ifndef __TEST__ //
while ( HcdED(EdIdx)->status == HCD_STATUS_TRANSFER_QUEUED ) {}   //while in this
return (HCD_STATUS) HcdED(EdIdx)->status;
#else
return HCD_STATUS_OK;
#endif
}

标签 (1)
0 项奖励
4 回复数

719 次查看
mini92
Contributor I

Hi Cralos_Mendoza,

 

 Thank you ask me ,   I will upload my demo,  hardware using LPC1788 usb port2 

 

this is my debug demo source  in baidu netdisc

source link: https://pan.baidu.com/s/1i5R2mLf password: 5788

 

Trouble to help guide me  

0 项奖励

719 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Chao Li,

I would recommend you to first try modifying the lpcusblib_MassStorageHost example of lpcopen for lpc1788 and test it on an evaluation board. Please make sure you are implementing the changes described on this thread:

https://community.nxp.com/thread/451242 

Best Regards!
Carlos Mendoza
Technical Support Engineer

0 项奖励

719 次查看
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Chao Li,

Could you tell us more information about what you are trying to achieve? Which example project are you using?

Thanks in advance!

Best Regards,
Carlos Mendoza
Technical Support Engineer

0 项奖励

719 次查看
mini92
Contributor I

Hi Cralos_Mendoza,

 Thank you ask me ,   I will upload my demo,  hardware using LPC1788 usb port2 

this is my debug demo source 

链接: https://pan.baidu.com/s/1i5R2mLf 密码: 5788

Trouble to help guide me  

0 项奖励