LPC4088 QSB USB Mass Storage not working.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC4088 QSB USB Mass Storage not working.

2,655件の閲覧回数
priyankb
Contributor III

Hello,

I am working on a new LPC4088 QuickStart board and trying basic examples given with the library. USB examples like CDC, HID, composite etc. seems to work fine but MSC example is not working. I am using LPC4088 QSB rev.B.

When I saw in the debug out, the device automatically get detached after some time. I have attached the screenshot.

The default configuration is for USB A-type in the example, right?

I am not getting voltage on VBUS pin of USB after running program.

Is there a flag to be set for giving supply to USB's VBUS pin?

Jumpers JP1 & JP2 position is 1-2.(that works in CDC, HID, Composite etc examples). Moreover jumper have nothing to do with USB Type-A.

Any help will be appreciated.

Thank you.

Priyank.

ラベル(4)
タグ(3)
0 件の賞賛
返信
1 返信

2,419件の閲覧回数
priyankb
Contributor III

hi,

Issue is solved. In order to run it on LPC4088 QSB you need to comment the section where p1.19(USB power switch) is initialized in HAL_USBInit().

After that it worked fine but when try to write data more than 1Kb error occurs and write fails. Read works fine even for big files. Can anyone tell me what is the problem with write?

Thanks.

Priyank.

0 件の賞賛
返信