27C400/27C800 EPROM emulator

Any 8bit repairs, images, cool things, upgrades etc.
BlankVector
Posts: 65
Joined: Fri Sep 15, 2017 10:51 pm

Re: 27C400/27C800 EPROM emulator

Post by BlankVector » Wed Jul 08, 2020 5:58 pm

I was looking for a solution to update my Amiga ROM (to EmuTOS, of course) and I stumbled on this topic. Very nice device!
Subscribe to my Vretrocomputing channel on YouTube and Facebook. Latest video: Replace Atari STE ROMs with EEPROMs.

terriblefire
Moderator Team
Moderator Team
Posts: 3472
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK
Contact:

Re: 27C400/27C800 EPROM emulator

Post by terriblefire » Thu Aug 20, 2020 4:17 pm

Can these guys be used in a CDTV?
———
I get cranky when asked to repeat myself.

User avatar
valfac
Posts: 24
Joined: Fri Jul 03, 2020 6:21 pm

Re: 27C400/27C800 EPROM emulator

Post by valfac » Thu Aug 20, 2020 5:38 pm

Hi,

Ist posible to buy one?

Greetings,

cmorley
Posts: 168
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley » Thu Aug 20, 2020 8:28 pm

valfac wrote:
Thu Aug 20, 2020 5:38 pm
Ist posible to buy one?
Yes details here. I have some left for exxos forum users' projects, PM me.
terriblefire wrote:
Thu Aug 20, 2020 4:17 pm
Can these guys be used in a CDTV?
I don't know much about the CDTV so I just looked at a schematic I downloaded and the kickstart pinout seems to be the same as an Amiga 500. So if it physically fits (I don't know if there is something above the ROM in the CDTV) it should work. The main question I think would be can you hold a CDTV in reset to allow ROM switching - if there is just a monostable that fires on reset then you'll need something else (a switch or something)... if you can hold it in reset like an A500 with ctrl-A-A or on a physical reset button then it should just work (it shouldn't need the reset wire soldering).

As you can tell I really don't know a lot about the CDTV other than what one looks like!

edit: google found some stuff about a single ROM hack with a 27C800 for KS & extended ROM. You would be able to do that too with the eprom emu.

terriblefire
Moderator Team
Moderator Team
Posts: 3472
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK
Contact:

Re: 27C400/27C800 EPROM emulator

Post by terriblefire » Thu Aug 20, 2020 9:00 pm

Perfect.. that should do the trick.
———
I get cranky when asked to repeat myself.

gtfan
Posts: 2
Joined: Fri Aug 21, 2020 3:23 pm

Re: 27C400/27C800 EPROM emulator

Post by gtfan » Fri Aug 21, 2020 3:56 pm

Will it work as a replacement for 27C1024 PLCC44 (with proper adapter of course)? It would massively reduce time of tuning car ECU.

cmorley
Posts: 168
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley » Fri Aug 21, 2020 4:47 pm

Given the correct adapter electrically it should work. You'd need to tie the unused address lines to ground because 27C1024 is 64Kx16 and 27C200 (smallest EPROM my thing supports) is 128Kx16.

Adapting a DIP to a PLCC socket is a pain though - the other way round is a lot easier.

None of the parts on it are automotive grade for temperature or vibration. (e.g. no flexible MLCC caps) You could maybe use it for dyno work but not in a car on the public road.

terriblefire
Moderator Team
Moderator Team
Posts: 3472
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK
Contact:

Re: 27C400/27C800 EPROM emulator

Post by terriblefire » Sat Aug 22, 2020 5:02 pm

Hoping someone can tell me what i'm doing wrong here...

Code: Select all

 
****************************************************************
BooBip 27C200/400/800/160 EPROM emulator & ROM switcher
www.BooBip.com

Device          18.011 issue C/D
STM32 firmware  0.8 (C)2020 Chris Morley
CPLD firmware   0.10 (C)2020 Chris Morley
Firmware CRC    70ca0389
STM32 id        dev=0x445, rev=0x1000
STM32 uid       00050011 42504312 20323733
CPLD id         mfg=0x06e, dev=0x20a5, rev=0
FLASH id        mfg=1, dev=0xc4
EPROM type      27C800 (1024KB)
ROM selected    0
and

Code: Select all

                    A17 A18 A19
pull-up              n   n   n
enable               y   y   n
ROM size            27C800 1024KB
intial ROM          0
autosave initial    n
ROM switch pullup   y
wireless ROM switch y
enable LED          y
I have this in an 27C400 socket with the attached binary flashed. A18 from the EPROM is hard wired via dupont cable to VCC or GND.

If i flash the upper and lower halves of the 27C800 space with the same data everything works. Otherwise it never works. In this configuration

Lower 512K | Upper 512K | Wire | Result
DIAGROM | BLANK | GND | WORKS
BLANK | DIAGROM | VCC | FAILS
DIAGROM | DIAGROM | X | WORKS

Can anyone help me here its driving me crazy? I also noted that byteswap is very unreliable.
Attachments
FBA15D6C-792B-4F28-89ED-48E68F5001EA.jpeg
FBA15D6C-792B-4F28-89ED-48E68F5001EA.jpeg (130.17 KiB) Viewed 639 times
98257C8C-4261-4FE1-AFDE-E920373FF832.jpeg
98257C8C-4261-4FE1-AFDE-E920373FF832.jpeg (135.33 KiB) Viewed 639 times
bigrom.zip
(52.21 KiB) Downloaded 28 times
———
I get cranky when asked to repeat myself.

cmorley
Posts: 168
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley » Sat Aug 22, 2020 5:12 pm

You have nothing driving A19 and the pull ups enabled on A17 & A18. A19 is floating.

Code: Select all

                    A17 A18 A19
pull-up              n   n   y
enable               n   n   y
ROM size            27C800 1024KB
intial ROM          0
autosave initial    n
ROM switch pullup   n
wireless ROM switch y
enable LED          y
Use the wizard in the options menu (p - choose preset) to set it for you.

P.S. don't set pull ups on address lines driven externally... ST say this is bad in the STM32 datasheet

edit: the "wireless ROM switch" works by detecting activity on A0 (at the EPROM emu). Do you disable the external address bus when executing "private" cycles? >1.5s of inactivity and it will ROM switch for you. Also powering down/up the Amiga with the USB power attached, the module can't distinguish that from a RESET so watch out for it ROM switching if you're power cycling during dev. Set "wireless ROM switch=n" and set "ROM switch pullup=y" to disable ROM switching with nothing connected to the R pin.

terriblefire
Moderator Team
Moderator Team
Posts: 3472
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK
Contact:

Re: 27C400/27C800 EPROM emulator

Post by terriblefire » Sat Aug 22, 2020 5:42 pm

OK thanks.. thats helped.

What does Enable A19 do then? it seems redundant?
———
I get cranky when asked to repeat myself.

Post Reply

Return to “8 BIT CORNER”