28Cxxx EEPROM Programmer

For discussing the 65xx hardware itself or electronics projects.
tobier
Posts: 8
Joined: 06 Dec 2013

Re: 28Cxxx EEPROM Programmer

Post by tobier »

BigDumbDinosaur wrote:
Do you have suitable test equipment to monitor the EEPROM pins to see what's going on?
I have a multimeter that I try to use to debug, but it doesn't feel like a very good method...
BigDumbDinosaur wrote:
Also, are you confident about your timing?
I was concerned that my write cycles were too short; I added some delays here and there but it didn't help.
It may also be that I'm not doing the I/O extender write operation properly, I'll have to look into that in more detail.
Aspiring homebrew- and replica builder.
Blog http://tobier.se
Hackaday http://hackaday.io/tobier
kfazz
Posts: 2
Joined: 08 Dec 2013

Re: 28Cxxx EEPROM Programmer

Post by kfazz »

Turned out my issue was due to some damage my arduino suffered during a previous project. Picked up another one this afternoon and everything is working fine now.
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: 28Cxxx EEPROM Programmer

Post by BigDumbDinosaur »

tobier wrote:
BigDumbDinosaur wrote:
Do you have suitable test equipment to monitor the EEPROM pins to see what's going on?
I have a multimeter that I try to use to debug, but it doesn't feel like a very good method...
At the least, you should invest in a good logic probe. If your finances allow it, a 'scope is often a big help in figuring out why something doesn't work.
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:
At the least, you should invest in a good logic probe. If your finances allow it, a 'scope is often a big help in figuring out why something doesn't work.
Thanks for the tip! A 'scope is a bit out of my price range for the occasional hobby projects, and I don't really have room for one either, but a logic probe shouldn't be a problem at all.
Aspiring homebrew- and replica builder.
Blog http://tobier.se
Hackaday http://hackaday.io/tobier
nyef
Posts: 235
Joined: 28 Jul 2013

Re: 28Cxxx EEPROM Programmer

Post by nyef »

BigDumbDinosaur wrote:
At the least, you should invest in a good logic probe. If your finances allow it, a 'scope is often a big help in figuring out why something doesn't work.
Is a logic probe something that one could reasonably put together oneself on the cheap, or is getting a used probe off of ebay or at an electronics swap meet a better use of one's time and money?
tobier wrote:
Thanks for the tip! A 'scope is a bit out of my price range for the occasional hobby projects, and I don't really have room for one either, but a logic probe shouldn't be a problem at all.
I forget how much I paid for my 'scope, but ISTR it being high-double-digits of USD. A used four-channel 200MHz Tektronics, if memory serves (it's about 60 miles away from me right now, so I can't easily check), with the fourth channel input capped off for some reason, and one of the knobs missing. I've only really used the one channel so far anyway. The probe that came with it was junk, so getting more probes was a bit of a priority, but there are guides out there to making your own cheap probes... (Part of me is thinking "it's only $100, where's the problem", while another part is remembering that there was a time in my life when $100 was a lot of money.)

Or you could go the really-cheap route and use any of the various "arduino oscilloscope" projects out there, but if you do you should be aware that the bandwidth is crap, the inputs aren't the nice high-impedance inputs, and so on. Probably not worth the bother.

I can't really make any suggestions on the space thing, I'm struggling with that one myself.
User avatar
GARTHWILSON
Forum Moderator
Posts: 8775
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: 28Cxxx EEPROM Programmer

Post by GARTHWILSON »

I briefly cover basic workbench equipment at http://wilsonminesco.com/6502primer/BasicWkbench.html . A good logic probe is more than just a light to tell you if a pin is high or low. If you know where to look though, you can often get a basic oscilloscope free, one that someone has replaced with more-modern equipment.
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?
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: 28Cxxx EEPROM Programmer

Post by BigDumbDinosaur »

nyef wrote:
Is a logic probe something that one could reasonably put together oneself on the cheap, or is getting a used probe off of ebay or at an electronics swap meet a better use of one's time and money?
You could build one and, in fact, I have a schematic somewhere around here for a logic probe design that is (theoretically) good to at least 20 MHz.

That said, there are some instances where your time is worth more than the money saved rolling your own. I'd shop around for one, as reasonably good probes aren't too expensive. I did all the debugging on POC V1.0 with nothing more than a logic probe, even though I do have a scope.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
barrym95838
Posts: 2056
Joined: 30 Jun 2013
Location: Sacramento, CA, USA

Re: 28Cxxx EEPROM Programmer

Post by barrym95838 »

GARTHWILSON wrote:
I briefly cover basic workbench equipment at http://wilsonminesco.com/6502primer/BasicWkbench.html . A good logic probe is more than just a light to tell you if a pin is high or low. If you know where to look though, you can often get a basic oscilloscope free, one that someone has replaced with more-modern equipment.
Since we're on the topic of oscilloscopes, do you think that I could use my Vantage Pro for low MHz digital design and diagnostics? It can do up to 8M samples/sec, but I'm not so sure that the probes supplied for automotive use would be suitable. Maybe I'll fire up my Apple //e one of these days and start poking around to see what happens ... if I accidentally kill it, it wouldn't be the end of the world, and at least my curiosity would be satisfied.

Mike
User avatar
GARTHWILSON
Forum Moderator
Posts: 8775
Joined: 30 Aug 2002
Location: Southern California
Contact:

Re: 28Cxxx EEPROM Programmer

Post by GARTHWILSON »

barrym95838 wrote:
Since we're on the topic of oscilloscopes, do you think that I could use my Vantage Pro for low MHz digital design and diagnostics? It can do up to 8M samples/sec, but I'm not so sure that the probes supplied for automotive use would be suitable.
8 MSPS is not fast enough for watching computer buses. A real oscilloscope with decent probes would definitely be better, probably in a lot of ways. A couple of good related topics are viewtopic.php?t=1617 and viewtopic.php?f=1&t=2013 .
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?
UnaClocker
Posts: 32
Joined: 28 May 2013

Re: 28Cxxx EEPROM Programmer

Post by UnaClocker »

Ok, I haven't had a chance to test the new board design with 27SF512 chips yet, but I have tested it with 28C256 chips and it still works for them. I'll call that good enough to pop it back up for sale. For the record there were 8 people listed as waiting for it to come back in stock, and I only made 10. The price of this version is a bit higher, it's a lot more work to assemble (and I'm still selling them fully assembled/tested (aside from the voltage booster till I can get one of those chips)) and there are more components that I had to buy for it. But the price is still pretty reasonable. So anyways, it might sell out pretty quick again.
https://www.tindie.com/products/UnaCloc ... r-arduino/
Make sure you get the latest Java app and Arduino sketch from rpress's Github fork, to ensure compatibility with the new PCB. :)
undersys
Posts: 7
Joined: 04 Jan 2015

Re: 28Cxxx EEPROM Programmer

Post by undersys »

I know this thread has not seen much activity but... amazing work!

I am having a few issues biulding my programer.
I don't plan to use the pre-made sheild but rather make my own.

First issue is that no matter what Arduino firmware I use.
Mario's or Rpress's I get issues.
It "seems' like the GUI can not see the device.

With Mario's FW and his version of Simple JBurn 2 I get :

Code: Select all

"Simple JBurn - Revision : $Revision: 1.5 $, $Date: 2013/07/19 05:44:46 $
Error: Not connected to any Programmer"
With Rpress's FW and his version of Simple JBurn 2 I get a seg fault (when selecting EEPROM size)

Code: Select all

# Problematic frame:
# C  [librxtxSerial.so+0x7733]  Java_gnu_io_RXTXPort_nativeDrain+0xc3
I know my Arduino is plugged in. I can program it via the Ardino software.
I can also see it in lsusb:

Code: Select all

Bus 002 Device 061: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x10c4 Cygnal Integrated Products, Inc.
  idProduct          0xea60 CP210x UART Bridge / myAVR mySmartUSB light
  bcdDevice            1.00
  iManufacturer           1 Silicon Labs
  iProduct                2 CP2102 USB to UART Bridge Controller
  iSerial                 3 0001
  bNumConfigurations      1
So if i run it via the Arduino serial monitor and send the "V" command for version I get :

Code: Select all

MEEPROMMER $Revision: 1.4 $ $Date: July 31st, 2013 1:00pm $, CMD:A,R,r,w,W,V,C,E,P,p
So confused :D

Any hints or susgestions ?
Martin_H
Posts: 837
Joined: 08 Jan 2014

Re: 28Cxxx EEPROM Programmer

Post by Martin_H »

What OS are you using?

Does your OS require the installation of librxtx?

I built on of these programmers a few months ago and couldn't get JBurn to work on 64 bit Windows. So I ported Mario's software to C# and got it working. If this is your problem I can point you to my git repo.

Here's my fork of Mario's repo with a new sub-directory called WindowsJBurn

https://github.com/Martin-H1/MEEPROMMER
undersys
Posts: 7
Joined: 04 Jan 2015

Re: 28Cxxx EEPROM Programmer

Post by undersys »

Hi Martin_H,

I did see your fork on github ;) nice job.
I am using Linux, so that wont be much help for me.

I have the 64bit RXTX libraries installed... I wonder if it depends on the 32bit.
I know someone did a lot more work on the python script.. I may turn to that rather the the UI but I would like to test with the UI to ensure its working as designed.
Tor
Posts: 597
Joined: 10 Apr 2011
Location: Norway/Japan

Re: 28Cxxx EEPROM Programmer

Post by Tor »

Presumably this runs via a serial USB device.. do you have user access to the /dev/ttyUSB* device? That the Arduino tool has access could be that it's suid root or sgid a group with access.
It's a shot in the dark of course, but it's the most common problem for Linux users when working with the Propeller, for example.

-Tor
undersys
Posts: 7
Joined: 04 Jan 2015

Re: 28Cxxx EEPROM Programmer

Post by undersys »

Hi Tor,
My user has access to the tty devices. However even as root I get the same issue :)
Thanks anyways
Post Reply