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
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Can you use a pi as an eeprom emulator?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 21 replies
  • Subscribers 677 subscribers
  • Views 4088 views
  • Users 0 members are here
  • raspberry_pi
Related

Can you use a pi as an eeprom emulator?

razorx
razorx over 10 years ago

hi guys i have some spare time on my hands and ive started looking into some retro consoles like the master system and im thinking of maybe making my own homebrew game, i already have a programmer and some M27C256B and AT28C256 eprom/eeproms and i was wondering for testing if there is a way to setup my raspberry pi as an emulator using the gpio instead of having to keep erasing and reprogramming the chips.

 

ive already looked into an actual eeprom emulator but there far too expensive is there anyone who can help me with this thank you.

  • Sign in to reply
  • Cancel
  • rew
    rew over 10 years ago

    If you refer to the datasheet, the first line reads: "Fast acces time: 150ns". This means that anywhere that when emulating you  have a 150ns time window to react to the inputs of the circuit where the chip is being emulated.

     

    Using "bare metal" programming I'd say that would be "worth a try". But keepnig convenient things like Linux running on the 'pi would be impossible.

     

    That said: you're going to emulate a 28-pin chip. With only two power pins you'll need 26 free GPIO pins. I don't think the 'pi has that many free GPIOs.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    I agree with Roger, the PI would not be the best

     

    What I did "Years.... ago" was to create a static ram version of the eprom with a batery backup to keep the contents

     

    This way you can load the ram quickly and as often as you want and then use it in the target system, no waiting for erasure cycles or slow programing

     

    It is easy to get static ram chips that are as fast as the eeproms your using

     

    Just an idea, hope it helps

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • razorx
    razorx over 10 years ago in reply to Robert Peter Oakes

    i am very new to all this so could you provide a link or something to help me out also could i use something other than the pi like an arduino or cheap fpga

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 10 years ago in reply to razorx

    If I needed one I would build it myself  - either on a custom pcb or possibly on veroboard wired point to point with solderable wire (I don't use that technique much now.)

     

    I was going to suggest a little FPGA baord from lattice but it won't be 5V compatible.

     

    Are you able to make a board or wire on veroboard  -the chips won't cost much, Farnell have a 512k x 8 (4Mbit RAM) in DIP and 5V tolerant for £3.31 - you'll need a handful of other chips but it isn't a huge job.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • razorx
    razorx over 10 years ago in reply to michaelkellett

    i dont really have any experience with this im new, i am looking to make or setup the simplest and/or cheapest eprom/eeprom emulator for M27C256B and AT28C256 chips i just need to know where to start or what to buy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to razorx

    Hi Michael,

     

    Since you mention simplest/cheapest, a quick solution is to use a software simulator or emulator. A lot of the old games consoles have emulators that run on a PC. It may be quicker to prototype directly in such an emulation/simulation and then write to EEPROM (or EPROM) when you've ironed out all bugs.

     

    As a digression, I once had up to 50 attempts to develop some software for a particular offering - because I only had 50 OTP devices (no EPROM windows : ).

    The software was complete and product delivered to a customer within just a dozen attempts. Partially this was due to testing on a PC as much as possible.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • razorx
    razorx over 10 years ago in reply to shabaz

    yeah i know i could do that but im looking for a simple hardware solution as a bit of a project to do but thank you for the suggestion

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Robert Peter Oakes
    Robert Peter Oakes over 10 years ago

    Something like this is what you may be looking for

     

    8-Bit EPROM/SRAM Emulator

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • D_Hersey
    D_Hersey over 10 years ago

    You can make a fifo or lifo by attaching a counter to the address lines of a SRAM.

    You can dual-port it by using '244s, '245s and a little bit of glue logic.

    With two SRAMs you can set up a dual-port ping-pong.  Say 'master/slave' to your GF with a straight face!

    You can back it up on power-down with a coupla button cells and a low-drop diode.

     

    Of course, the host doesn't have to be anywhere near as fast as the SRAM.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 10 years ago in reply to Robert Peter Oakes

    The link to the zip file seems to be broken - otherwise it looks like the sort of thing the OP needs but if he can't build it himself he's going to have to pay for one.

     

    Most of the ones I found on the web are no longer in production:

     

    Here is a nice one:

     

    http://www.batronix.com/shop/epromemulator/emulator.html?gclid=Cj0KEQjw_rytBRDVhZeQrbzn_q0BEiQAjnbSHOPhzqIJKTTlTS_n50vVxQARIFnY0MN0oErN2SmsxAUaAt-j8P8HAQ

     

    But very pricey compared with the £20 I guess it would cost to home build one.

     

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • 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 © 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