stm3210E_EVAL: USB, SDcard, NAND Flash
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-05-15 7:08 AM
Posted on May 15, 2015 at 16:08
Hello,
I use the stm3210e_eval board.I copmpiled the STM3210E-EVAL_FW_V2.1.0 using the IDE Coocox. everything is Ok.but I have a problem at the level of USB, SDcard and the NAND Flash.In fact, the STM3210E_EVAL support two logical unit number: the SDcard and the NAND flash.I want delete the NAND and keep only the SDcard.So I change uint32_t Max_Lun = 1; to uint32_t Max_Lun = 0; inusb_prop.c
but Windows don't detect the usb connection anymore !I don't understand what !! any helps please ?feel free to ask me more questions if I wasn't clear in the description of my problem.thanks #usb #sdcard #stm3210e_eval
Labels:
- Labels:
-
SDIO-SDMMC
-
USB
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-05-15 10:18 AM
Posted on May 15, 2015 at 19:18
You'll need to wade through the MSC code.
The number of LUNs is reported via USB descriptors as I recall, and one of the SCSI commands. Each SCSI command has a LUN field and you'll have to check how they decode that and apply it.You could look at some of the other USB library implementation, I've done a single SDCARD implementation, and an STM32F429I-DISCO SDRAM-DISK one.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
