Jump to content
IGNORED

Burning EPROMS


dphirschler

Recommended Posts

The only suggestion I would make at this point is upping the programming voltage (VPP). The steps you are taking are correct. 13.5v or 14v might do the trick. When it starts programming correctly, you'll see the bars filling in from left to right in the rectangular box above the program and cancel buttons.

 

There's also the chance that you're not getting enough current from your USB port to program the eprom. You might want to try a 5v flash chip and see if that works.

 

Gazoo

Link to comment
Share on other sites

 

There's also the chance that you're not getting enough current from your USB port to program the eprom. You might want to try a 5v flash chip and see if that works.

 

Gazoo

 

Yeah that can be a problem, for my usb programmer, I run a y-cable that adds in power from a second usb port, so there is two ports suppling power to the device, I get no programming errors.

Link to comment
Share on other sites

Rather than loading the binary file, use the fill option to fill the memory with the value FF.

 

I know Blank EPROMS should contain the value FF but it's something I'd try, if this were my programmer/EPROM.

 

See if you get a failure again.

It programmed! So what does this tell me? I can put FF's on it. Why not code?

 

Darryl

Link to comment
Share on other sites

Hmm. I'm afraid all it proves it the programmer can complete a pass if it's fooled into thinking it's writing successfully.

 

It looks like the write operation is not actually changing values in the EPROM. Because your blank EPROM already consists of only FF values, the write operation has passed over each cell but the verify option is now succeeding.

 

If you look into Gazoo's answer above and Gary's which follows it, there's a suggestion that either you need to increase the VPP to 13.5 or 14v as well as potentially using a Y-cable to supply additional current to the programmer.

 

Try setting VPP to 13.5V. If this fails, increase to 14v. If this also fails, don't increase the VPP any further but try a Y-cable like this:

http://www.ebay.co.uk/itm/C2G-USB-2-0-B-Male-to-2-USB-A-Male-Y-Cable-NEW-/121330279449?pt=UK_Computing_Other_Computing_Networking&hash=item1c3fd92419

Edited by UKRetrogamer
Link to comment
Share on other sites

The chip fails blank check after writing FF. Doesn't that suggest that it actually wrote something?

What does the data window show? You should only see FF in each value. I suspect if it's writing something, it's writing random garbage somewhere. If it's showing every value as FF, it's effectively blank. Whether there's a flag somewhere which "locks" the EPROM until re-erased I'm not sure but it has always been my understanding that an EPROM containing only FF values is blank.

 

Each time mine has failed to verify (up until now), it's been because of a configuration error and it's not been able to actually write anything to the EPROM. A blank check after a failure in this case, means I've not had to erase the EPROM again before correcting the configuration and trying again.

 

In fact, the only time I've burned something and then had to immediately erase the EPROM was when I inadvertently programmed an EPROM with one of Kazoo's "Inverted" binary files, made for use with Classic99. Doh!

 

As OLD CS1 says, ideally, you should use one of the USB ports which are directly connected to the motherboard (around the back of the PC). I've read mixed responses about using USB3 ports for power-hungry devices. My own laptop has a BIOS setting relating to power for charging external devices on its single USB3 port. I've never worked out how this effects a device plugged into it, so unless I'm using a USB3-capable device, I don't use it.

Edited by UKRetrogamer
Link to comment
Share on other sites

You can also use a powered USB hub in lieu of the splitter cable.

 

Silly thought... are you using a laptop for this? It IS plugged into AC power if you are, correct?

My minipro has only ever been connected to a USB2 port on my Asus laptop and I've programmed EPROMs on battery power without a problem so I guess it comes down to the laptop's configuration.

 

I agree though, a laptop should ideally be plugged into the mains when being used to power an external device on its USB ports.

Link to comment
Share on other sites

Just a thought...

 

Do you have any other EPROMS or AVRs?

 

As well as some random BBC Micro and Dragon 32 EPROMS, I've played around and read in an Atmel ATMega328 (Arduino AVR), saved the entire thing as a project and then re-wrote the contents back to test the minipro works with these devices. I love messing around, trying to break things experimenting with devices like this - it's how I learn the quickest.

 

If possible, you might like to try with a different device plugged into it, test to see if the EPROM you're struggling with is faulty.

Edited by UKRetrogamer
Link to comment
Share on other sites

Have you tried my suggestion? I initially got similar results to the ones you got.

1) Erase the chip for <>30 minutes

2) Uncheck the "check devic ID" box

3) Enter the nominal values (i.e., Vpp 12.5V, etc.)

4) Program the chip

That procedure solved my problems with "imported" chips of Chinese origin. It appears that the Chinese chips were counterfeit. They programmed, verified, and functioned fine but the device ID bytes were wrong. If you are going to be at the Chicago Faire, bring along yor chips and I'll see if I can program them for you.

Link to comment
Share on other sites

It's all FF when I read a freshly erased chip.

 

If I fill the buffer with FF and then "Program", it works. After reading it, I see all FF. Blank check after this still reports that it's blank.

 

Then I load gamecart.bin and try to program. It fails after the first byte. I then do a "Read" and see it's all FF except for the first byte which is AA. It appears to have written the first byte but cannot verify it. This works if I write one byte at a time.

 

 

 

Darryl

Link to comment
Share on other sites

Darryl--as Bob suggested: try another chip to see if the results are the same. If you have another size/type/brand, that is even better. What you are trying to do here is isolate the problem (chip or programmer), so you need to be able to test multiple objects when possible. Note that all of the chips in the same lot may respond just like your original test chip, which is why using one from a different source is a good idea here.

Link to comment
Share on other sites

It fails after the first byte. I then do a "Read" and see it's all FF except for the first byte which is AA. It appears to have written the first byte but cannot verify it. This works if I write one byte at a time.

 

 

Have you uncheck the deviceid? -- Is there a setting to change the 'type of write-style'. -- Sounds like your programmer is using the wrong type of writing protocol for that type of chip. most likely it is not am AM27 chip but some other kind.

 

Also is there any 'firmware updates' for your programmer.

 

I once had a problem with a programmer, and it was due to fact it shipped out of factory with a buggy set of software and firmware on the programmer itself, I had to update the chip on the programmer itself to the latest version, guess what this is back in day before flashing firmware via usb, i had to remove the chip and reprogram, it on ANOTHER programer that worked! (haha)

 

And finally have you tried a different pc, windows, I had some problems getting external usb shit to work correctly on my 64bit windows 7, but on my 32bit it worked no problem. -- check to make sure there is not special usb driver updates needed.

Link to comment
Share on other sites

Well, I think I've tried everything I can for the moment. I have ordered a powered USB cable. I don't have any other EPROM chips other than this lot. But I have a friend with some, so maybe someday soon. Not sure what EPROM chips he has. He's into pinball. Or maybe I can order some more chips on Ebay.

 

Darryl

Link to comment
Share on other sites

I tend to buy my EPROMs pre-owned. Usually from local (UK) sellers on eBay. They're generally stripped out of old electronics (PBX systems, etc.) and blanked before sale. They can be purchased for around $1 each if bought 10-20 at a time and I've never found a dud which wouldn't re-program.

 

Buying new CMOS-type EPROMs, especially from China is a bit hit and miss in my experience.

 

It might be worth getting an AVR chip to test the programmer with.

 

An Atmel Atmega328P/U is common, cheap, supported directly by the programmer and doesn't require blanking in a UV eraser between writes. For a couple of dollars, you could find out if the programmer is working properly or not.

 

I could PM you a project to load and burn.

 

Edit: I'm taking for granted that you've already run the hardware diagnostics from the software's menu?

Edited by UKRetrogamer
Link to comment
Share on other sites

Just as an aside, are there any modern/still in production, pin-compatible ICs which can be used to replace 27C-type EPROMs and don't require a UV eraser?

 

It's a question I've been meaning to ask for some time but CMOS EPROMs are still readily available and cheap (especially pre-used) but lately, I've been wondering if such a thing exists since playing with Arduino and not needing to UV erase between writes is a miracle of modern science, as far as I'm concerned!

Link to comment
Share on other sites

It definitely won't work right. Note that you have to change the board jumpers to the positions for a 64K chip--and you have to install it as far away from the 74LS378 as you possibly can in the socket (leaving the two socket rows closest to the 378 empty). the 27512 should be a 28-pin chip, which is why the changes are made.

Edited by Ksarul
Link to comment
Share on other sites

I've just tried this on my minipro.

 

The software blindly reads the 512 KiloByte binary and only writes the first 512Kilobits of the file into the buffer. No errors, nothing.

I'm pretty sure I've seen the software throw an overflow dialog in the past. That's what I was expecting, anyway.

 

The fact it didn't throw any errors will be the reason Darryl thought everything was working fine.

 

I have to admit, I was so caught up in the "Yay, it writes EPROMs!" moment, I managed to skip the part numbers and just assumed he'd made a like-for-like exchange of EPROMs.

 

Looking on the bright side though Darrly, at least you know the minipro works.

Edited by UKRetrogamer
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...