element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Mass Storage Device on VNC2 by FTDI
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 0 replies
  • Subscribers 480 subscribers
  • Views 180 views
  • Users 0 members are here
  • mass storage device
  • usb
  • embedded
  • scsi
  • vnc2
  • ftdi
Related

Mass Storage Device on VNC2 by FTDI

Former Member
Former Member over 10 years ago

   I found this site while exploring search results for various embedded systems communities. I've heard of element14 plenty in the past and I'm surprised I didn't think of visiting here sooner. As implied, I'm new and I might not be aware of site/forum specific rules, so please let me know if something is off or if there is a better place to make this post.

   I'm working to create a bridge between one device that saves logs to a flash drive automatically and a PC to handle those logs. I've gotten the first step down for the most part, which is enumeration; I plug my device in and it appears to my computer as a mass storage device. I'll need this device, which I cannot alter, to think of it as a generic flash drive. The next step I need to achieve is to be able to send it a file or information in a standard way. Right now the device manager detects my device as a MSD but it doesn't show up under the same place my other drives do in file explorer. I'm not surprised about this, I haven't yet implemented any functions that would actually do anything if I could access it anyway.

   I learned that enumeration takes place on endpoint 0 and I need to handle standard requests I receive from there. Now I believe I need to work with SCSI commands that will be passed into my bulk endpoints. I'm working with the VNC2 which includes a lot of drivers and functionality, but no mass storage device drivers, but it handles a lot of basic USB operations that made handling standard requests and enumeration pretty simple. It has a code/function called VOS_IOCTL_USBSLAVE_WAIT_SETUP_RCVD and its description says it blocks until it receives a setup packet. I do not know how this is implemented as that is hidden from me, but that is how I receive the setup packets for the enumeration process and I feel that that is something I need to do for my Bulk_Endpoint_Out; have it listen for a request and the be able to parse and respond. I don't know if I can re purpose that function to listen for these other commands or not. Does anyone have any advice on how I might be able to do that?  If my assumptions are wrong, please let me know. If my assumptions are correct, that'd also be good to hear. I'm trying to understand it all and do a good, thorough job with this project and advice from community members around the world has been key to my successes so far.

 

Thanks!

Jesse

  • Sign in to reply
  • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube