USB Host for Mass storage (Pen drive) device connection on LPC 1857

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

USB Host for Mass storage (Pen drive) device connection on LPC 1857

564 次查看
Mukund29
Contributor I

Hello, I am using a LPC1857 microcontroller and want ot interface USB as a Host to connect to mass storage device (Pen drive).

But in Emuration process when HOST reset the Port the Port Reset bit (0x100) on PORTSC1_H register remains HIGH forever, which indicates PORT Reset condition, it should have set LOW after 10 ms.

Which is not happening, dont know where the problem is. 

标签 (5)
0 项奖励
3 回复数

537 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi 

We have MassStorageHost demo code under lpcopen for Keil MCB1800 (LPC1857) board.

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/lpcopen-libr...

Please refer it for your design

Thanks

Jun Zhang

 

0 项奖励

510 次查看
Mukund29
Contributor I

hello, 1 Gb pen drive is getting resetted properly during enumeration process.

but when I connect other 8GB or 4GB pen drive during enumeration reset, USB0_DP pin goes low and remains low, throughout.

It there any difference in communication or hardware, between 1Gb and 8 GB pendrive.

What might be the problem ??

Thankyou!!

#USB 

@jun Zhang

 

0 项奖励

498 次查看
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi

With lpcopen msc demo code, I can't reproduce your issue. So the problem is not on LPC part.

Your USB can't connect 8GB or 4GB msc, and you use custom board and SW, thus there may be many possiabilities, the card, the SW, HW design. 

I suggest you testing lpcopen msc demo code on your board first to isolation where is the problem.

Thanks,

Jun Zhang

 

 

0 项奖励