Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

EPROM, once more

201 views
Skip to first unread message

Orange

unread,
Oct 9, 2004, 5:45:32 PM10/9/04
to
OK, I got 27c400 EPROM and ROM image file (524,288). Now, how do I
write it? As I understood, most EPROM "burners" use some INTEL format.
So, is some conversion needed? If so, where do I find program for it?
--
Be the sky blue or gray

Mika Leinonen

unread,
Oct 9, 2004, 7:22:36 PM10/9/04
to
>OK, I got 27c400 EPROM and ROM image file (524,288). Now, how do I
>write it? As I understood, most EPROM "burners" use some INTEL format.
>So, is some conversion needed? If so, where do I find program for it?

EPROM burners often can read binary files. But for 16-bit EPROMS
you might need to swap the bytes. (little vs. big endian thingy?)
You could use the c-program below, if You have a c-compiler.
The program is quick and dirty made for this purpose,
so it doesn't handle file r/w error conditions.

#include <stdio.h>
int main (void)
{
FILE *in;
FILE *out;
int i;
int c;
int c2;

in=fopen("eprommi.bin","rb");
out=fopen("swapped.bin","wb");
while ((c=fgetc(in))!=EOF)
{
c2=fgetc(in);
fputc(c2,out);
fputc(c,out);
}
fclose(in);
fclose(out);
return 0;
}

Daniele Gratteri

unread,
Oct 10, 2004, 8:40:44 AM10/10/04
to
"Orange" <oran...@mail.ru> ha scritto nel messaggio
news:7rmgm0lbbcaa9pc9r...@4ax.com...

> OK, I got 27c400 EPROM and ROM image file (524,288). Now, how do I
> write it? As I understood, most EPROM "burners" use some INTEL format.
> So, is some conversion needed? If so, where do I find program for it?

You should be able to load the ROM file as a binary file. If the ROM image
you have is made to be used into an emulator, you will have to use the "swap
bytes" option in the EPROM burner software (most burners have this option,
if they are made for programming 16-bit wide EPROMs).

--
___ __
/ __|___ Daniele Gratteri, Italian Commodore-Amiga user... ///
| / |__/ Nickname: FIAT1100D - ICQ: 53943994 Ritmo S75 __ ///
| \__|__\ Home page: http://www.gratteri.tk forever! \\\///
\___| E-MAIL: dan...@gratteri.tk ...since 1990 \///


Orange

unread,
Oct 10, 2004, 4:41:00 PM10/10/04
to
On Sun, 10 Oct 2004 14:40:44 +0200, "Daniele Gratteri"
<grat...@despammed.com> wrote:

>"Orange" <oran...@mail.ru> ha scritto nel messaggio
>news:7rmgm0lbbcaa9pc9r...@4ax.com...
>
>> OK, I got 27c400 EPROM and ROM image file (524,288). Now, how do I
>> write it? As I understood, most EPROM "burners" use some INTEL format.
>> So, is some conversion needed? If so, where do I find program for it?
>
>You should be able to load the ROM file as a binary file. If the ROM image
>you have is made to be used into an emulator, you will have to use the "swap
>bytes" option in the EPROM burner software (most burners have this option,
>if they are made for programming 16-bit wide EPROMs).

Thank you, both. You're cool :)

Daniele Gratteri

unread,
Oct 10, 2004, 4:53:55 PM10/10/04
to
"Orange" <oran...@mail.ru> ha scritto nel messaggio
news:ng7jm0lfipio3loo6...@4ax.com...

> Thank you, both. You're cool :)

You're welcome!

May I ask you were did you find the EPROM, maybe you bought it into some
Internet shop? Is it UV-erasable or it is an OTP one (One Time
Programmable)? Thanks.

Orange

unread,
Oct 11, 2004, 2:53:25 AM10/11/04
to
On Sun, 10 Oct 2004 22:53:55 +0200, "Daniele Gratteri"
<grat...@despammed.com> wrote:

>"Orange" <oran...@mail.ru> ha scritto nel messaggio
>news:ng7jm0lfipio3loo6...@4ax.com...
>
>> Thank you, both. You're cool :)
>
>You're welcome!
>
>May I ask you were did you find the EPROM, maybe you bought it into some
>Internet shop? Is it UV-erasable or it is an OTP one (One Time
>Programmable)? Thanks.

Its UV
I'll send you email with details.
--
I've nothing much to offer
There's nothing much to take

Graham Prout

unread,
Oct 11, 2004, 6:02:00 AM10/11/04
to
Are the epsoms usable a rom chips?

"Orange" <oran...@mail.ru> wrote in message
news:gdbkm0to5502bh2d9...@4ax.com...

Daniele Gratteri

unread,
Oct 11, 2004, 10:14:21 AM10/11/04
to
"Graham Prout" <gra...@topazhaircosmetics.co.uk> ha scritto nel messaggio
news:kRsad.41439$IO5....@fe53.usenetserver.com...

> Are the epsoms usable a rom chips?

Yes, since, in fact, they actually ARE ROMs :-)
EPROM => Erasable Programmable Read Only Memory.

Graham Prout

unread,
Oct 11, 2004, 11:29:20 AM10/11/04
to
I ment for use as kickstart roms.


"Daniele Gratteri" <grat...@despammed.com> wrote in message
news:2sviptF...@uni-berlin.de...

Daniele Gratteri

unread,
Oct 11, 2004, 2:04:47 PM10/11/04
to
"Graham Prout" <gra...@topazhaircosmetics.co.uk> ha scritto nel messaggio
news:dExad.46449$ua2....@fe13.usenetserver.com...

>I ment for use as kickstart roms.

Since they are programmable, you can put in them whatever you want.

Daniele Gratteri

unread,
Oct 12, 2004, 8:27:55 AM10/12/04
to
"Orange" <oran...@mail.ru> ha scritto nel messaggio
news:1dbnm0dp3mpb8g7g0...@4ax.com...

> The file works in emulator (UAE). So, I need to know: how is that
> format exactly called?

It's simply a plain BINARY file (512KB => 524288 bytes)! It isn't coded in
any particular (read: proprietary) format.

Dave

unread,
Oct 12, 2004, 8:21:31 PM10/12/04
to
Orange wrote:
> huh, I still have the problem. The guy who is writing EPROM for me is
> asking me in what format is the file. He says there are 100s of
> different formats.

>
> The file works in emulator (UAE). So, I need to know: how is that
> format exactly called?

More info is required, what Amiga is/are the EPROM(s) going to end up
in, (ie. 1 or 2 ROM Amiga).

If it's an Amiga A1200/A3000(T)/A4000(T) then the ROM file used by UAE
is not suitable, it requires being split into 2 files - one containing
the upper bytes, the other the lower bytes.

If it's _dumped_ from an Amiga 500(+)/600/2000/2500 then that's no problem.

Also, UAE is capable of using two types of Kickstart file - the one you
get by dumping ones from your Amiga and the one provided by Cloanto.
The one provided by Cloanto is _encrypted_ and not suitable as a
Kickstart ROM. If you can read 'AMIGA ROM Operating System' within the
first 7F bytes it's not encrypted.

As Daniele has said, it's a straight binary file - if it's from a single
ROM Amiga just dump it to the EPROM directly - no data massaging required.

If it's from a dual ROM Amiga then besides being split into 2 files,
(upper/lower byte), it _might_ also need to be 'byte swapped', (as Mika
said), which the majority of programmers should be able to do, (the
Willem does).

I actually just sold my Amiga based EPROM programmer, (was capable of
doing Kickstart (E)PROMs), now using a Willem programmer,
(http://www.willem.org), that does a _lot_ more and was cheaper :)

I'd also like to know where you got the EPROM(s) thank you.

Dave

Daniele Gratteri

unread,
Oct 13, 2004, 3:24:18 AM10/13/04
to
"Dave" <QBXVRA...@spammotel.com> ha scritto nel messaggio
news:416c7...@news.iprimus.com.au...

> As Daniele has said, it's a straight binary file - if it's from a single
> ROM Amiga just dump it to the EPROM directly - no data massaging required.

Well, also if it is for a single ROM Amiga, it should be byte swapped:
before programming such an EPROM, I used to read the contents of an original
ROM and noticed that the bytes are swapped.

Encrypted ROM shouldn't be exactly 512KB (524,288 bytes) long.

Daniele Gratteri

unread,
Oct 13, 2004, 9:42:38 AM10/13/04
to
"Michael Zacherle" <zach...@szs.uni-karlsruhe.de> ha scritto nel messaggio
news:ckjb0n$66e$1...@news2.rz.uni-karlsruhe.de...

> Hello,
>
> does it have to be a 27C400 or could it be a 27C4002 as well? I found
>
> 27C4002-100 256K X 16
> C-MOS UV-EPROMs
> Gehäuse: F-DIL-40
> 256Kx16 100ns
>
> for 11 Euro, but no 27C400.

It has to be 27C400, because the 27C400 is pin compatible with the ROM.
There are other pin-compatible EPROMs from other manufacturers, such as
Macronix's 27C4100. The 27C400 is 512Kx8/256Kx16 (selectable with an input).
The 27C4002 could be used, too, but its pinout has to be adapted.

Graham Prout

unread,
Oct 13, 2004, 11:36:20 AM10/13/04
to
I will have a look at my prog software and let you know.


"Daniele Gratteri" <grat...@despammed.com> wrote in message

news:2t4oouF...@uni-berlin.de...
> Ok, here is how to prepare the files for programming EPROMs for
> A1200/3000/4000 starting from the UAE image.
>
> You first load the binary image (512KB) into the EPROM burner software,
> then select the "swap bytes" function. After that you can check, by
> listing the buffer contents, that you can't read "AMIGA ROM Operating..."
> anymore.
>
> Then you save the swapped buffer as another file.
>
> Finally, you use a 2-way 16-bit file splitter for splitting the file you
> saved into the two files to be programmed into the two EPROMs. For
> A1200/3000/4000 the 27C400 would be only partially used, though, so you
> have to put two copies of the files into the EPROM or use an EPROM with
> half the capacity.
>
> If you aren't able to find proper software for doing the various
> operations, I may provide it (it's for DOS PCs).

Dave

unread,
Oct 13, 2004, 10:48:39 PM10/13/04
to
Graham Prout wrote:
> So how would you split and byte swop say the kickstart 3.1 for the 1200 and
> 4000?

The absolute easiest way?

Take the ROMs out of the Amiga, stick them in the programmer and dump
them to files, this is the method I use.

Can't get any easier than that and considering the majority of
programmers are for Windows machines, highly practical since you're not
incapacitating the machine needed to read them.

Dave

Dave

unread,
Oct 13, 2004, 11:30:26 PM10/13/04
to
Dave wrote:

> Daniele Gratteri wrote:
>
>> "Michael Zacherle" <zach...@szs.uni-karlsruhe.de> ha scritto nel
>> messaggio news:ckjb0n$66e$1...@news2.rz.uni-karlsruhe.de...
>>
>>>
>>> does it have to be a 27C400 or could it be a 27C4002 as well? I found
>>>
>>> 27C4002-100 256K X 16
>>> C-MOS UV-EPROMs
>>> Gehäuse: F-DIL-40
>>> 256Kx16 100ns
>>>
>>> for 11 Euro, but no 27C400.
>>
>>
>> It has to be 27C400, because the 27C400 is pin compatible with the
>> ROM. There are other pin-compatible EPROMs from other manufacturers,
>> such as Macronix's 27C4100. The 27C400 is 512Kx8/256Kx16 (selectable
>> with an input).
>> The 27C4002 could be used, too, but its pinout has to be adapted.
>
>
> Don't forget you can also use OTP PROMs, the 23C4100 is still made by
> Macronix.
>
> They also used to make a pin compatible FlashROM but I don't recall the
> number, (poss. 28F400).
>
> Another suggestion, the A600 was designed to take 8Mbit ROMs, (42 pin
> socket), don't know about A1200/4000. When you put a 27C400, (4Mbit),
> compatible in, pin 1 & 42 on the socket are not used.
>
> Ergo, in theory you could use a 5V Page Mode 8Mbit (E)PROM in a 40 pin
> socket but with pin 1 & 42 of the (E)PROM not plugged in, ie. pin 2 of
> (E)PROM goes into pin 1 of the socket.
>
> This gives you a few more devices you can try, eg. 23C8100 and equivalents.
>
> Make sure you check pin compatibility though.

Looks like the Macronix 42pin 29F1615 FlashROM is compatible with both
40 & 42 pin sockets.

http://www.mxic.com.tw/QuickPlace/hq/PageLibrary48256D9D002BA613.nsf/h_E800A46B2447112B48256DC60024E4CF/23673E6DAF0E1E4F48256EF500196061/$File/MX29F1615-1.3.pdf

Dave

Graham Prout

unread,
Oct 14, 2004, 5:30:07 AM10/14/04
to
Is there a programmer that can cope with there caips that is fairly cheep?

"Dave" <QBXVRA...@spammotel.com> wrote in message
news:416de...@news.iprimus.com.au...

Dave

unread,
Oct 14, 2004, 10:06:54 PM10/14/04
to
Daniele Gratteri wrote:
> "Dave" <QBXVRA...@spammotel.com> ha scritto nel messaggio
> news:416dec29$1...@news.iprimus.com.au...

>
>>Don't forget you can also use OTP PROMs, the 23C4100 is still made by
>>Macronix.
>
> The 23C4100 actually is a Mask ROM, not an OTP EPROM, so you would have to
> ask Macronix to produce a batch of Kickstarts for you :-)

Don't they just manufacture the part and then sell them to any other
company that does the programming as necessary?

I mentioned previously on aus.computers.amiga when I was selling my
EPROMmer that the following site shows literally thousands of 27C400,
27C4100, 23C4100, 29F1615, etc, available.

www.hkinventory.com

This is a stock trading site so there probably is minimum quantity
orders - the last time I bought 27C400s, (quite a while ago and through
local AMD distributor), I had to buy a minimum of 32 @ ~AU$26 each,
(bought 40 of them).

But it doesn't cost anything to ask.

Dave

Doobster

unread,
Oct 13, 2004, 5:47:52 PM10/13/04
to

"Graham Prout" <gra...@topazhaircosmetics.co.uk> wrote in message
news:Rk9bd.70693$XE5....@fe21.usenetserver.com...

> So how would you split and byte swop say the kickstart 3.1 for the 1200
and
> 4000?

Have a look on aminet for a prog called SplitKick13.lha..


Daniele Gratteri

unread,
Oct 14, 2004, 8:30:47 AM10/14/04
to
"Dave" <QBXVRA...@spammotel.com> ha scritto nel messaggio
news:416df2cc$1...@news.iprimus.com.au...

> Looks like the Macronix 42pin 29F1615 FlashROM is compatible with both 40
> & 42 pin sockets.

Interesting, with 16Mbits it would be possible to write up to four different
Kickstarts and to select them by using some switches.

Daniele Gratteri

unread,
Oct 15, 2004, 2:37:04 AM10/15/04
to
"Dave" <QBXVRA...@spammotel.com> ha scritto nel messaggio
news:416f3...@news.iprimus.com.au...

> Don't they just manufacture the part and then sell them to any other
> company that does the programming as necessary?

Mask ROMs have to be programmed at the moment they are produced, they aren't
PROMs or OTP EPROMs.
They are the TRUE ROMs! :-)

Dave

unread,
Oct 14, 2004, 9:46:38 PM10/14/04
to
Graham Prout wrote:
> Is there a programmer that can cope with there caips that is fairly cheep?

Go to www.willem.org and click on the 'Eprom programmer shop' link on
the left, click on specs to see what it's capable of programming.

I bought the blank 3.1 PCB and two blank adapter PCBs, (for 16bit
(E)PROMs and Atmel micros), for ~35Euros inc. P&P, (about AU$50 at the
time).

Then just built them up from local sourced parts, (this is admittedly
much easier to do in Oz than UK - more local electronics shops).

Total was probably less than AU$80, which is about UKP32 at the moment.

End result: a programmer that can do a lot of (E)PROMs, PICs, Atmel
micros, FlashROMs and even more if I get other adapters, (or make them
yourself if you're not as lazy as me :)

As far as I'm concerned, this is the _cheapest_ way to get a decent
programmer, (even cheaper if you make your own PCB).

Dave

Alexander Holland

unread,
Oct 25, 2004, 3:58:53 AM10/25/04
to
Hi Amiga users,

As of this date, you can still buy MX27C4100 EPROM's online in Europe
for about 8 Euro's each (~10 USD or ~13 AUD). I've had to buy them in
10's before, but now you can buy them singly.

I only wanted one which means I've still got nine of them here ;)

Cheers

Alex Holland
Thalion Webshrine
http://thalion.amiga.tm

0 new messages