LPCopen 2.x and USB Mass Storage??

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

LPCopen 2.x and USB Mass Storage??

1,637件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by s1d on Wed Jul 23 14:54:23 MST 2014
Hi all,

After a six years break, I just started playing around with LPCs. On my desk I have a LPC11u68 board (and also a 1769 one).

I'd like to implement mass storage (MSC) functionality into my firmware. However, I can not find any up-to-date sample code.
The latest thing I found so far is the code example provided by version 1.03 (unfortunately for the wrong chip)... For a beginner, like me, it is very hard to migrate this code (chip AND lpcopen version). Especially when you have read post like this: http://www.lpcware.com/content/forum/hw-init-and-hw-getmemsize-return-seemingly-incorrect-values#com...

Can you please point me to the correct USB MSC demo implementation  :~

Is it possible to have a MSC running in parallel with a CDC at the same chip? That is so to say "two USB devices at once"

Thanks in advance,
Juergen

ラベル(1)
  • USB

0 件の賞賛
返信
5 返答(返信)

1,487件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by s1d on Fri Jul 25 14:52:23 MST 2014
Hi Sundar,

this is exactly what I was looking for. Thank you very much.

Regards,
Juergen

BTW: I can't use v7.3.0 on my OSX. LPCXpresso does not find the debug hardware. In v7.2.0 everything works fine. Maybe I missed something during the update process...

0 件の賞賛
返信

1,487件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sundarapandian on Thu Jul 24 18:02:17 MST 2014
Hello Juergen,
       Please see the attachment below for the Mass storage example that runs on LPC11U6x Xpresso board. You can import the archive into a LPCXpresso (recommended v7.3.0) workspace. [If you have existing LPC11u6x workspace import only the msc_ram project, and deselect board and chip library project during import, if you are importing into a fresh workspace you can import all the three and can build and run msc_ram project].

NOTE: This example will be part of next LPCOpen release for LPC11U6x boards.


Quote:
Is it possible to have a MSC running in parallel with a CDC at the same chip? That is so to say "two USB devices at once"



If you are looking for a composite USB device, please look into the usbd_rom_composite example which you can find inside the LPCOpen package available from lpcware.com [This example shows how to use mouse and cdc vcom device as composite usb device]

Thanks and Regards,
Sundar.
0 件の賞賛
返信

1,487件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Support on Thu Jul 24 14:43:00 MST 2014
Hi Juergen,

Our apologies on missing the USB MSC Device example for LPC11U68.  We will get this updated in the next few days. 

Best regards,
-NXP Support
0 件の賞賛
返信

1,487件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by s1d on Thu Jul 24 05:03:52 MST 2014
Hi,

Of course, I have already downloaded the LPC11U68 libs. The problem is that there are no mass storage device examples included. I also downloaded several libs for other processors/boards. The closest thing I found was a mass storage HOST example in the 1769 libs. However, I need a up-to-date DEVICE example.

Thanks,
Juergen

0 件の賞賛
返信

1,487件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Jul 23 23:52:19 MST 2014
You can find the current LPCOpen (v2) examples at:

http://www.lpcware.com/lpcopen

and the specific packages for the parts you mention at:

http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc11xx-packages-0
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc17xx-packages

Regards,
LPCXpresso Support
0 件の賞賛
返信