27C400/27C800 EPROM emulator

Any 8bit repairs, images, cool things, upgrades etc.
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

PaulJ wrote: Mon Jan 27, 2020 6:08 pm I believe it maybe bad.. it thinks its writing an image and immediately fails on verify saying the rom has 0xff.

Unless there is something else Needed it maybe bad. Still looks like an erased device.
Can you post the dump from the i page from the main menu please? I want to see if it can read the FLASH chip's device ID or if that is FF too...

Try the other one and I'll sort out replacements with you via PM. I'd like that one back so I can work out diagnose is going on with it.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

@cmorley here is the i command, will play with eol for hung commands, most likely a return doesn't work on this terminal program.

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

Device 18.011 issue C/D
STM32 firmware 0.6 (C)2020 Chris Morley
CPLD firmware 0.9 (C)2020 Chris Morley
STM32 id dev=0x445, rev=0x1000
STM32 uid 0005002d 42504312 20323733
CPLD id mfg=0x06e, dev=0x20a5, rev=0
FLASH id mfg=ff, dev=0xff
EPROM type 27C160 (2048KB)
ROM selected 7

Acknowledgements
Clifford Wolf. Lib(X)SVF:
A library for implementing SVF and XSVF JTAG players.
http://www.clifford.at/libxsvf/

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

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

PaulJ wrote: Mon Jan 27, 2020 6:18 pm @cmorley here is the i command, will play with eol for hung commands, most likely a return doesn't work on this terminal program.
No need. It is definitely faulty. The STM32 is just receiving 1s on the STM<>CPLD serial link it seems.

I suspect the CPLD got crushed when the delivery box got crushed & might have broken a solder joint. If you have magnification then take a look at the CPLD pins around the corner closest to the STM32. If not, don't worry I will look when I get it back.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

@cmorley got a output but not with the return key. Just randomly hitting keys caused it to spit up. What is deceiving is when you type the desired address in it doesn't echo any characters which gives the appearance of hung. Need to try another program or see if I can play with eol.


Command: view 27C160 (2048KB)
Offset into ROM? [0x]digits[K|M]
010000 ff ff ff ff ff ff ff ff ........
010008 ff ff ff ff ff ff ff ff ........
010010 ff ff ff ff ff ff ff ff ........
010018 ff ff ff ff ff ff ff ff ........
010020 ff ff ff ff ff ff ff ff ........
010028 ff ff ff ff ff ff ff ff ........
010030 ff ff ff ff ff ff ff ff ........
010038 ff ff ff ff ff ff ff ff ........
010040 ff ff ff ff ff ff ff ff ........
010048 ff ff ff ff ff ff ff ff ........
010050 ff ff ff ff ff ff ff ff ........
010058 ff ff ff ff ff ff ff ff ........
010060 ff ff ff ff ff ff ff ff ........
010068 ff ff ff ff ff ff ff ff ........
010070 ff ff ff ff ff ff ff ff ........
010078 ff ff ff ff ff ff ff ff ........
010080 ff ff ff ff ff ff ff ff ........
010088 ff ff ff ff ff ff ff ff ........
010090 ff ff ff ff ff ff ff ff ........
010098 ff ff ff ff ff ff ff ff ........
0100a0 ff ff ff ff ff ff ff ff ........
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

If your terminal is set to LF only then it won't register. It needs a CR as per unix or windows line endings. Mac is LF only.
Most terminal programs allow you to turn on local echo.

I found the lack of echo annoying too so I might do something about that in a future firmware.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

cmorley wrote: Mon Jan 27, 2020 6:26 pm
PaulJ wrote: Mon Jan 27, 2020 6:18 pm @cmorley here is the i command, will play with eol for hung commands, most likely a return doesn't work on this terminal program.
No need. It is definitely faulty. The STM32 is just receiving 1s on the STM<>CPLD serial link it seems.

I suspect the CPLD got crushed when the delivery box got crushed & might have broken a solder joint. If you have magnification then take a look at the CPLD pins around the corner closest to the STM32. If not, don't worry I will look when I get it back.
I'll take a look at it under the microscope. To the naked eye the construction looks great but under the AmScope maybe I'll see something. When my header pins arrive I'll try the other board. So I'll be on hold until then.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

PaulJ wrote: Mon Jan 27, 2020 6:35 pm
cmorley wrote: Mon Jan 27, 2020 6:26 pm

No need. It is definitely faulty. The STM32 is just receiving 1s on the STM<>CPLD serial link it seems.

I suspect the CPLD got crushed when the delivery box got crushed & might have broken a solder joint. If you have magnification then take a look at the CPLD pins around the corner closest to the STM32. If not, don't worry I will look when I get it back.
I'll take a look at it under the microscope. To the naked eye the construction looks great but under the AmScope maybe I'll see something. When my header pins arrive I'll try the other board. So I'll be on hold until then. The electronics is under the highth of the header pins but the board could have been flexed.
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

Correction to above... the CPLD<>STM32 comms are working. Something is wrong with the FLASH - either a short or an NC either on the FLASH or the FLASH address buffers or FLASH<>CPLD connections.

If pretty much any pin on the FLASH is not right then the JEDEC magic sequences won't work and you can't write commands or data... and it will always therefore read FF for everything.
User avatar
PaulJ
Posts: 1568
Joined: Sun Apr 08, 2018 1:14 am
Location: USA

Re: 27C400/27C800 EPROM emulator

Post by PaulJ »

cmorley wrote: Mon Jan 27, 2020 7:46 pm Correction to above... the CPLD<>STM32 comms are working. Something is wrong with the FLASH - either a short or an NC either on the FLASH or the FLASH address buffers or FLASH<>CPLD connections.

If pretty much any pin on the FLASH is not right then the JEDEC magic sequences won't work and you can't write commands or data... and it will always therefore read FF for everything.
Had some short pins so I soldered them into the second board and its working fine. Also changed eol and that's working. So now all I have to do is change the pin that's broken off. It looks like the silk screen is bad for the usb data lines. There's a P (positive) and N (negative) one can only assume. To get it to work I had to connect the white(+) to negative and the green(-) to positive. See attached photo.

I hope there's going to be a little more info than what's available today. :)

------------------------------------------------------------------------------------------------------
Command: program 27C160 (2048KB)BooBip 27C200/400/800/160 EPROM emulator & ROM switcher
www.BooBip.com

Device 18.011 issue C/D
STM32 firmware 0.6 (C)2020 Chris Morley
CPLD firmware 0.9 (C)2020 Chris Morley
STM32 id dev=0x445, rev=0x1000
STM32 uid 0005001a 42504312 20323733
CPLD id mfg=0x06e, dev=0x20a5, rev=0
FLASH id mfg=1, dev=0xc4
EPROM type 27C160 (2048KB)
ROM selected 7

------------------------------------------------------------------------------------------------------
Command: program 27C160 (2048KB)
Size? 1=128KB? 2=256KB? 5=512KB? 4=1024KB? 0=2048KB
Byte swap? y/n
slot 0, filesize 262144, byteswap 1
Erase, done
Address=000000,1fffff
Send binary
262144/262144
Took 21.102s

OK

Command: verify 27C160 (2048KB)
Size? 1=128KB? 2=256KB? 5=512KB? 4=1024KB? 0=2048KB
Byte swap? y/n
slot 0, filesize 262144, byteswap 1
Address=000000,1fffff
Send binary
262144/262144
Took 11.795s

OK

Command: program 27C160 (2048KB)
------------------------------------------------------------------------------------------------------
usbwc.jpg
usbwc.jpg (34.8 KiB) Viewed 8263 times
cmorley
Posts: 291
Joined: Tue May 28, 2019 5:46 pm

Re: 27C400/27C800 EPROM emulator

Post by cmorley »

Wikipedia says green is DP.

Let me know what you find under the microscope.
Post Reply

Return to “8 BIT CORNER”