Connect with us

Flash Drives

Discussion in 'General Electronics Discussion' started by Cham, Sep 7, 2015.

Scroll to continue with content
  1. Cham

    Cham

    18
    0
    Aug 11, 2015
    I want to embark on a somewhat ambitious project. I'm interested in making a flash drive from scratch. I don't care about the size. I just want to see if I can. I know this is kind of a big topic to just dive into, but I couldn't find much on the internet. I do know that the USB port will connect to an ic that makes up the flash rom, but I have to admit my ignorance in that I don't know, nor could I find much more about the operation of flash drives. Any bit helps, especially schematics. You all tend to be far more resourceful than the internet.
     
  2. Old Steve

    Old Steve

    734
    169
    Jul 23, 2015
    One way is a micro-controller, a USB to TTL module and an EEPROM. It would be crude, but it would work.
     
  3. Alec_t

    Alec_t

    2,863
    768
    Jul 7, 2015
    Because of the limited number of write cycles possible with flash memory you will need to find a 'wear levelling' method, as is used in commercial flash drives.
     
  4. Cham

    Cham

    18
    0
    Aug 11, 2015
    @Old Steve I'm certainly okay with a crude solution. I don't exactly have the machinery to make an efficient solution.

    @Alec_t What technique is wear levelling do you think works the best for this?
     
  5. Alec_t

    Alec_t

    2,863
    768
    Jul 7, 2015
    I don't know which is best. I daresay each manufacturer has their own preferred algorithm.
     
  6. Old Steve

    Old Steve

    734
    169
    Jul 23, 2015
    what sort of data do you need to store, how large does your drive need to be, and how often will it be written to and erased?
    Is this an attempt at a serious, fast, albeit physically over-sized high-capacity flash drive, or just something for fun, to store small amounts of data at irregular intervals?
    I suspect that wear levelling may be the least of your worries. And if you do implement it, to prolong the usable life of the drive, the area where you store the info so that you can use the drive's storage space evenly will be written to and read more often than the rest. From what little I've read, commercial manufacturers use an area with a much longer life for storing the 'levelling' info.
     
  7. Cham

    Cham

    18
    0
    Aug 11, 2015
    @Old Steve For all ivare it could be a 1GB flash drive, so long as it functions like the commercially made flash drives. It'll certainly be oversized, but it's just a first draft for a project that I will probably continue in college. I suppose wear levelling may have to come later.
     
  8. Cham

    Cham

    18
    0
    Aug 11, 2015
    @Alec_t Okay, thank you very much for the help!
     
  9. Old Steve

    Old Steve

    734
    169
    Jul 23, 2015
    Well 1GB is pretty serious. You'll definitely have your work cut out for you, especially if you want it to function like a commercially made drive in terms of speed etc.
    Definitely out of my league. Good luck.
     
  10. Cham

    Cham

    18
    0
    Aug 11, 2015
    @Old Steve Thank you! It's probably out of my league too, but it doesn't hurt to try.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-