W27c512 12v programmer/14v eraser advice?
- AndersNielsen
- Posts: 185
- Joined: 26 Dec 2021
- Contact:
W27c512 12v programmer/14v eraser advice?
When teaching people to make < 10$ sbc’s it seems a bit off to have them buy a 50-70$ TL866II to program 1$ ROMs instead of 10$ ROM’s.. so I’d like to make a cheap programmer specifically for the w27c512s since they are so cheap and readily available.
For now I have 1 x 8bit port in mind for data, two ‘595s for address lines, a 5V to 14V boost regulator and a LM339 to control the 5V to 14V for erase voltage on A9 and OE/VPE
One hurdle though - what’s an easy way to drop the 14V on OE/VPP down to 12V when programming after erasing? Can I use an LM339 output to pull down?
I also need 5V on A9 and OE but I’m thinking a 6522 probably won’t fry if it has 1k5 resistors on the OE pin and the same for the ‘595 pin(?)
For now I have 1 x 8bit port in mind for data, two ‘595s for address lines, a 5V to 14V boost regulator and a LM339 to control the 5V to 14V for erase voltage on A9 and OE/VPE
One hurdle though - what’s an easy way to drop the 14V on OE/VPP down to 12V when programming after erasing? Can I use an LM339 output to pull down?
I also need 5V on A9 and OE but I’m thinking a 6522 probably won’t fry if it has 1k5 resistors on the OE pin and the same for the ‘595 pin(?)
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
- AndersNielsen
- Posts: 185
- Joined: 26 Dec 2021
- Contact:
Re: W27c512 12v programmer/14v eraser advice?
Thinking it over the ‘339 might not be ideal since VPE/VPP current can go as high as 30mA so I need an output buffer that can source that.. 339 still might be needed. Or maybe discrete mosfets are better.
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
- GARTHWILSON
- Forum Moderator
- Posts: 8775
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: W27c512 12v programmer/14v eraser advice?
This is the first time I've seen a 27Cxxx part that was electrically erasable, and it looks like it has been out at least since 1999. Now I need to edit a recent post of mine. I'll have to study the datasheet.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: W27c512 12v programmer/14v eraser advice?
Loading up a pair of 8-bit latches in cascade could be faster than loading up a pair of '595s. Also, please note the cheap MT3608 'boost' regulator modules will pass their input voltage when /enable is off which is perfect for supplying 6.5v or 5.0v on VCC and 12.5v or 5.0v on VPP for the 27C64, 27C128, and 27C256 12 volt EPROMs. Unfortunately, cutting a trace on the MT3608 modules to expose the /enable input can test your mettle, and, I'm not sure what you'd need for the various voltages required for the 27C512.
Have you looked at the relatively inexpensive single-voltage SST 39SF series flash ROM's?
Have you looked at the relatively inexpensive single-voltage SST 39SF series flash ROM's?
Re: W27c512 12v programmer/14v eraser advice?
If the EEPROM has a "page write" mode then you might need to be careful to ensure that the top address bits stay constant during the operation. Atmel's, at least, seem to flush the page if the top bits change between writes, even if they're back to the old values by the time the next write begins. So two latches with independent clock pins may work better than daisychaining them.
If you only need to program the addresses in sequence you could also consider just using 74HC590 counters to generate the addresses.
You might also find https://github.com/gfoot/nanoprom interesting, although it is quite tailored to the Atmel EEPROMs which latch the address during write operations.
If you only need to program the addresses in sequence you could also consider just using 74HC590 counters to generate the addresses.
You might also find https://github.com/gfoot/nanoprom interesting, although it is quite tailored to the Atmel EEPROMs which latch the address during write operations.
Re: W27c512 12v programmer/14v eraser advice?
gfoot wrote:
You might also find https://github.com/gfoot/nanoprom interesting, although it is quite tailored to the Atmel EEPROMs which latch the address during write operations.
I have to say I really like the SST flash ROM's but a design could support either AT28C256 (32k) or 39SF010A (128k) devices by including a 32-pin socket and simple set of jumpers (see below).
Last edited by Michael on Sat Apr 08, 2023 4:54 am, edited 2 times in total.
- AndersNielsen
- Posts: 185
- Joined: 26 Dec 2021
- Contact:
Re: W27c512 12v programmer/14v eraser advice?
Michael wrote:
Loading up a pair of 8-bit latches in cascade could be faster than loading up a pair of '595s. Also, please note the cheap MT3608 'boost' regulator modules will pass their input voltage when /enable is off which is perfect for supplying 6.5v or 5.0v on VCC and 12.5v or 5.0v on VPP for the 27C64, 27C128, and 27C256 12 volt EPROMs. Unfortunately, cutting a trace on the MT3608 modules to expose the /enable input can test your mettle, and, I'm not sure what you'd need for the various voltages required for the 27C512.
Have you looked at the relatively inexpensive single-voltage SST 39SF series flash ROM's?
Have you looked at the relatively inexpensive single-voltage SST 39SF series flash ROM's?
gfoot wrote:
If you only need to program the addresses in sequence you could also consider just using 74HC590 counters to generate the addresses.
I've attached a schematic to make things clearer. I think only VEP/VPP (~OE) needs to source (30mA max) current so I've added ... what I think is. ... a current buffer BJT. A9 probably just needs the voltage. Will it pass on the voltage and add a current source?
Will it work and will it successfully switch between 12V and 14V depending on VPE_TO_VPP?
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
Re: W27c512 12v programmer/14v eraser advice?
AndersNielsen wrote:
Indeed the 39SF010's are useful but they are about 3 x more expensive - and sorely fallen victim to the chip shortage. Farnell has 0 in stock. LCSC has 2 of them.. But for over 8$ each!
Re: W27c512 12v programmer/14v eraser advice?
AndersNielsen wrote:
Indeed the 39SF010's are useful but they are about 3 x more expensive - and sorely fallen victim to the chip shortage. Farnell has 0 in stock. LCSC has 2 of them.. But for over 8$ each!
example, 512kB PLCC-32
only one not in stock right now is the DIP version of the 512kB Chip
also where do you even get the W27C512 from? i was unable to find on Mouser or Digikey, and is the price difference that huge that it would be worth using old stock over new chips and dealing with the 12/14V when programming?
i honestly doubt it...
Re: W27c512 12v programmer/14v eraser advice?
Hmm I'm not sure I follow what's going on with the comparator. I'd be more inclined to take the 14V divided down to 12V, pass it through an op amp to buffer it (if you can get one that supports the output current you need), and use a P-channel MOSFET or PNP transistor to optionally bypass the top resistor of the divider - so that if the base/gate of this transistor is grounded then it will bypass the top resistor and the output of the divider - and hence op amp - will be 14V instead of 12V.
I don't think your "Q?" transistor is correct, you have the base grounded. An emitter-follower current amplifier usually has the input going into the base, output coming from the emitter, and collector connected to the high supply voltage. The emitter output is then about a diode drop lower than the base input. I'd prefer an op amp as it won't have that drop over it, but you'd still need one that pulls all the way to the high voltage input (or boost to an even higher voltage to power the op amp). I'm sure others here have better suggestions too, my analogue experience is very limited.
I don't think your "Q?" transistor is correct, you have the base grounded. An emitter-follower current amplifier usually has the input going into the base, output coming from the emitter, and collector connected to the high supply voltage. The emitter output is then about a diode drop lower than the base input. I'd prefer an op amp as it won't have that drop over it, but you'd still need one that pulls all the way to the high voltage input (or boost to an even higher voltage to power the op amp). I'm sure others here have better suggestions too, my analogue experience is very limited.
- AndersNielsen
- Posts: 185
- Joined: 26 Dec 2021
- Contact:
Re: W27c512 12v programmer/14v eraser advice?
gfoot wrote:
Hmm I'm not sure I follow what's going on with the comparator.
gfoot wrote:
I don't think your "Q?" transistor is correct, you have the base grounded.
Michael wrote:
What's the source for the $1 W27C512's?
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
Re: W27c512 12v programmer/14v eraser advice?
AndersNielsen wrote:
Michael wrote:
What's the source for the $1 W27C512's?
- AndersNielsen
- Posts: 185
- Joined: 26 Dec 2021
- Contact:
Re: W27c512 12v programmer/14v eraser advice?
Michael wrote:
AndersNielsen wrote:
Michael wrote:
What's the source for the $1 W27C512's?
Then this’ll just be a fun project - even if it’s not saving a bunch of money
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
Re: W27c512 12v programmer/14v eraser advice?
I'm anxious to see how your W27C512 programmer turns out...
- AndersNielsen
- Posts: 185
- Joined: 26 Dec 2021
- Contact:
Re: W27c512 12v programmer/14v eraser advice?
Michael wrote:
I'm anxious to see how your W27C512 programmer turns out...
I guess I can also just make a super cheap 14V “eraser” on a breadboard first and see if I can generate the “high” voltages.
---
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1
New new new new new video out! Serial Bootloader for my 65uino
Also, check out: I2C on a 6502 Single Board Computer
and Complete hardware overview of my 6502 SBC R1