28Cxxx EEPROM Programmer

For discussing the 65xx hardware itself or electronics projects.
nyef
Posts: 235
Joined: 28 Jul 2013

Re: 28Cxxx EEPROM Programmer

Post by nyef »

pda wrote:
Edit: (I'm pretty suspicious about the RXTX library and its native interface under Mac OS 10.9 Mavericks. Various versions are crashy or don't work. The ones that do work prevent Arduino 1.0.x from starting, although Arduino 1.5.x works. But it crashes when closing the serial monitor. I'm using RXTX-2.2pre2)
For what it's worth, I've basically given up on using the Arduino IDE here on Linux. It always struck me as being a piece of junk, and then being generally unable to get it to talk with actual hardware reliably, or in some cases at all? Ugh. I very quickly set up avr-gcc, avrdude, a makefile, and minicom for my FlashROM programming project (SST39SF040, from a Mega 2560 R3, all wires and a ZIF socket, no other components), used emacs for editing everything and basically haven't looked back. From MacOS I would probably try the same thing.
pda
Posts: 11
Joined: 22 Nov 2013

Re: 28Cxxx EEPROM Programmer

Post by pda »

GARTHWILSON wrote:
From time to time someone on the forum is sure the new parts they just got are dead.
I should have been clearer.
I suspect it died between me receiving it and now, due to some horrible wiring accidents that may have occurred :)

But - I'll continue reducing it down to writing a single byte with the simplest possible program and most conservative timing, and see how it goes.

(VCC is 5.04V at the EEPROM, drops to 5.03V under load e.g. during reads. That seems fine.)
pda
Posts: 11
Joined: 22 Nov 2013

Re: 28Cxxx EEPROM Programmer

Post by pda »

nyef wrote:
pda wrote:
For what it's worth, I've basically given up on using the Arduino IDE here on Linux. It always struck me as being a piece of junk, and then being generally unable to get it to talk with actual hardware reliably, or in some cases at all? Ugh. I very quickly set up avr-gcc, avrdude, a makefile, and minicom for my FlashROM programming project (SST39SF040, from a Mega 2560 R3, all wires and a ZIF socket, no other components), used emacs for editing everything and basically haven't looked back. From MacOS I would probably try the same thing.
Yeah - I went down that path, although getting a working avr-gcc environment with access to the Arduino libs under Mac OS proved difficult.
Instead I begrudgingly use the Arduino IDE to compile and upload, but do all my editing in vim.
rwiker
Posts: 294
Joined: 03 Mar 2011

Re: 28Cxxx EEPROM Programmer

Post by rwiker »

pda wrote:
Edit: (I'm pretty suspicious about the RXTX library and its native interface under Mac OS 10.9 Mavericks. Various versions are crashy or don't work. The ones that do work prevent Arduino 1.0.x from starting, although Arduino 1.5.x works. But it crashes when closing the serial monitor. I'm using RXTX-2.2pre2)
I spent a little time on trying to get the 28Cxxx programmer running on my MacBook Pro (OSX 10.8), but I was never even able to get Java to see the RXTX library. Looks like I'll have to try again :-)
pda
Posts: 11
Joined: 22 Nov 2013

Re: 28Cxxx EEPROM Programmer

Post by pda »

rwiker wrote:
I spent a little time on trying to get the 28Cxxx programmer running on my MacBook Pro (OSX 10.8), but I was never even able to get Java to see the RXTX library. Looks like I'll have to try again :-)
This is what ended up (sort of) working for me:

Code: Select all

$ ls -l ~/Library/Java/Extensions
lrwxr-xr-x  RXTXcomm.jar -> /Users/pda/Downloads/rxtx-2.2pre2-bins/RXTXcomm.jar
lrwxr-xr-x  librxtxSerial.jnilib -> /Users/pda/Downloads/rxtx-2.2pre2-bins/mac-10.5/librxtxSerial.jnilib
(I'm using symlinks at the moment, but just copying the files there works too).
The 2.2pre2 lib complains about a version mismatch with 2.2pre1 - that's a known issue and apparently harmless.

Arduino IDE 1.0.x doesn't start with those files present, but Arduino IDE 1.5.x does.
I `mv ~/Library/Java/Extensions ~/Library/Java/Extensions-disabled` if I need to use Arduino 1.0.x.

So yeah - the RXTX situation is all a bit of a mess.
mkl0815
Posts: 183
Joined: 25 Mar 2013
Location: Germany
Contact:

Re: 28Cxxx EEPROM Programmer

Post by mkl0815 »

Back from one week in the cold wilderness in Sweden and "surprise, surprise" there's a lot of "action" in this thread again. :-)
Thanks to Paul for the GitHub updates, I merged them into to main project.
I did not updated one of my Macs to 10.9 at this time, so I'm save from the RXTX library problems for now. But as I get a fresh MacBook with my new job starting at January next year, I will do a GitHub checkout and fresh installation on 10.9, documenting all the steps needed to bring the programmer to life.
If somebody has the installation of RXTX, Java and the JavaGUI already done on Linux or Windows, it would be great to get the details to create a install guide for the main operating systems.
It's good to see, that what started as a "proof of concept" is now a little project base for several programmers. Thanks to all contributors.
Mario.
How should I know what I think, until I hear what I've said.
tobier
Posts: 8
Joined: 06 Dec 2013

Re: 28Cxxx EEPROM Programmer

Post by tobier »

Hi,

I've been working on a 28C64 programmer using the Arduino Uno, based around a simple counter and the MCP23008 I/O extender.

Maybe it's of interest to someone? You can read about it here: http://tobier.se/eeprog/

I've got everything wired on my breadboard, but I haven't finished the firmware and tried everything out yet. Comments and suggestions are very welcome. This is my first real attempt at making a digital circuit design, so there are probably flaws in my design :-)
Aspiring homebrew- and replica builder.
Blog http://tobier.se
Hackaday http://hackaday.io/tobier
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: 28Cxxx EEPROM Programmer

Post by BigEd »

Thanks tobier, and welcome!
Aslak3
Posts: 258
Joined: 05 Aug 2013
Location: Southampton, UK
Contact:

Re: 28Cxxx EEPROM Programmer

Post by Aslak3 »

nyef wrote:
For what it's worth, I've basically given up on using the Arduino IDE here on Linux. It always struck me as being a piece of junk, and then being generally unable to get it to talk with actual hardware reliably, or in some cases at all? Ugh. I very quickly set up avr-gcc, avrdude, a makefile, and minicom for my FlashROM programming project (SST39SF040, from a Mega 2560 R3, all wires and a ZIF socket, no other components), used emacs for editing everything and basically haven't looked back. From MacOS I would probably try the same thing.
Auduino look fun and all, but really you can get the same results with a breadboard, an ATmega[8/32] and a ISP programmer.

avr-gcc is easy to use if you have done *any* C dev. avr-gcc, avrdude, makefiles and minicom are indeed all you really need.

FWIW, my programmer can be implemented in about 4 components: ATMega8, two 8bit (74HC) counters, and a ZIF socket. Circuit is here: http://aslak3.blogspot.co.uk/2013/03/ee ... rcuit.html Code is on github.

I use mine a couple of times a week. I'll happily post off a PCB and a few spare parts for a few pounds of postage.
8 bit fun and games: https://www.aslak.net/
UnaClocker
Posts: 32
Joined: 28 May 2013

Re: 28Cxxx EEPROM Programmer

Post by UnaClocker »

rpress wrote:
Thanks you guys for the hard work!

I got a board from UnaClocker a few days ago. My old TOP2049 died, but the best part is I can finally program in Linux!

With a few transistors and a boost supply I've added the ability to program SST27SF512 and W27E512 chips. I happen to have a bunch of these chips already. It should also do 27C512 but I haven't tested that. If I could get the source for the latest JBurn I can post a diff of the changes I've made, along with the Arduino sketch for anyone that is interested. I have it working with the old java program right now.

With the bps at 115200 it takes 12 seconds to program, not bad! Is there a reason it was set to 57600 before?

If there is some interest I could also update the schematic with my changes.
rpress, I've got the new boards in hand, should have the components in by the middle of the week. I don't have a 27SF512 so test them out on, so I'm going to send the first assembled board to you to confirm that part of it works. I'll be able to confirm the boards still work. I went to SMT everything this time, aside from the caps/inductors and the diode. It allowed me to keep the board size the same.
As soon as I get the functionality confirmed, I'll post the latest eagle schematic/board files. No point sharing them till I know they work.
6502.org wrote:
Image no longer available: http://www.neonsquirt.com/eb2a.jpg
6502.org wrote:
Image no longer available: http://www.neonsquirt.com/eb2b.jpg
My name gets completely obscured by the ZIF socket.. haha.. Fair enough, I guess. :)
kfazz
Posts: 2
Joined: 08 Dec 2013

Re: 28Cxxx EEPROM Programmer

Post by kfazz »

hi all. UnaClocker, I bought your last 1.0 board on tindle and it seems not to be working properly.
I read the attached EF.bin file out of a 27c64, and i can write it back to a 28c64 but it seems mangled somehow.
when I write the 8k,.bin file I get ~1000 bytes different using verify, the sections at teh end and beginning are all FF's
I've tried presslab's fork, limiting serial speed, adding delays, etc. Any suggestions? my 6809 sbc is wating for a rom :D
Attachments
testroms.tar.gz
contains EF.rom and 8k.rom
(1.07 KiB) Downloaded 162 times
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: 28Cxxx EEPROM Programmer

Post by BigDumbDinosaur »

tobier wrote:
I've been working on a 28C64 programmer...
First, welcome to our 6502 world.
Quote:
This is my first real attempt at making a digital circuit design, so there are probably flaws in my design :-)
None are jumping out at me at this time. It's probably safe to say that it won't smoke on the first power application. The work will be in programming your firmware. Please keep us posted on your progress.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: 28Cxxx EEPROM Programmer

Post by BigDumbDinosaur »

UnaClocker wrote:
rpress, I've got the new boards in hand, should have the components in by the middle of the week...
6502.org wrote:
Image no longer available: http://www.neonsquirt.com/eb2a.jpg
6502.org wrote:
Image no longer available: http://www.neonsquirt.com/eb2b.jpg
My name gets completely obscured by the ZIF socket.. haha.. Fair enough, I guess. :)
Nice-looking board. Gotta move your name farther north the next time. :D
x86?  We ain't got no x86.  We don't NEED no stinking x86!
tobier
Posts: 8
Joined: 06 Dec 2013

Re: 28Cxxx EEPROM Programmer

Post by tobier »

BigDumbDinosaur wrote:
First, welcome to our 6502 world.
Thanks!
BigDumbDinosaur wrote:
None are jumping out at me at this time. It's probably safe to say that it won't smoke on the first power application. The work will be in programming your firmware. Please keep us posted on your progress.
I've got everything wired up, and it didn't smoke! However, I either have some problems with my logic or something wired wrong, as I seem to be able to write bytes to the EEPROM but I don't get back what I expect.
Aspiring homebrew- and replica builder.
Blog http://tobier.se
Hackaday http://hackaday.io/tobier
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: 28Cxxx EEPROM Programmer

Post by BigDumbDinosaur »

tobier wrote:
I've got everything wired up, and it didn't smoke! However, I either have some problems with my logic or something wired wrong, as I seem to be able to write bytes to the EEPROM but I don't get back what I expect.
Do you have suitable test equipment to monitor the EEPROM pins to see what's going on? Also, are you confident about your timing?
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Post Reply