element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 how do i access RAM on a USB flash drive ?
  • 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 Verified Answer
  • Replies 3 replies
  • Answers 2 answers
  • Subscribers 463 subscribers
  • Views 1566 views
  • Users 0 members are here
  • drive
  • usb
  • flash
Related

how do i access RAM on a USB flash drive ?

TaylorTronics
TaylorTronics over 11 years ago

hello smart people, nerds, wiz-kids and enthusiasts image

 

i need the protocol to access memory on a USB stick image

 

i know that i send address, data and control information to access a location in flash ram, but what is the format image

 

address first (LSB to MSB), data second, then a read or write control byte third image

 

i noticed that as something becomes worth more on the market, it becomes harder to get concise and comprehensive technical data image

 

the PIC18F4455 microcontroller has a 430 page data sheet. usefull for actually designing operational circuits image

 

3 pages for a USB stick? useless if i want to hook it to my PIC development board image

 

the USB protocol aint a problem. theres tons of data on that image

 

all answers welcome image

 

peter image

 

image when in doubt, ask image

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 11 years ago +2 verified
    I've never played with a USB Flash Drive at the USB protocol level, but my understanding is that a USB Flash Drive is handled as a USB Mass Storage device, with the actual access to the memory chip handled…
  • TaylorTronics
    TaylorTronics over 11 years ago +1 suggested
    thanks john i have found that usb ram is accessed using the usb mass memory protocol simple realy, untill you read it i found the answer at edaboard.com in microcontrollers, with 255,000 views definatly…
  • johnbeetem
    0 johnbeetem over 11 years ago

    I've never played with a USB Flash Drive at the USB protocol level, but my understanding is that a USB Flash Drive is handled as a USB Mass Storage device, with the actual access to the memory chip handled through a microcontroller in the Flash Drive.  The uC takes care of things like wear leveling so that the flash memory writes are distributed across the chip instead of wearing out one region.

     

    For general information on USB Flash Drives, try Wikipedia: http://en.wikipedia.org/wiki/USB_Flash_drive

     

    For specific information on USB device protocols, try USB.org: http://www.usb.org/developers/docs/devclass_docs/

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • TaylorTronics
    0 TaylorTronics over 11 years ago

    thanks john image

     

    i have found that usb ram is accessed using the usb mass memory protocol image

     

    simple realy, untill you read it image

     

    i found the answer at edaboard.com image

     

    in microcontrollers, with 255,000 views image

     

    definatly go thier for an answer, in fact 5 answers image

     

    you are on the nail image

     

    peter taylor image

     

    image  the sun does revolve around the earth image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • vmate
    0 vmate over 4 years ago

    I'd use an SD card instead, they support SPI for communication, so they are much easier to interface with. Also, the microcontroller you mentioned only supports USB device as far as I can tell, and you'd need USB host capabilities. You can bit bang it, but that's even harder, and really slow.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • 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 © 2025 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