Page 9 of 17

Re: 27C400/27C800 EPROM emulator

Posted: 27 Jan 2020 21:21
by PaulJ
cmorley wrote: 27 Jan 2020 20:41 Wikipedia says green is DP.

Let me know what you find under the microscope.
Looked further on the web and it appears to be shown both ways. Anyway the cable I made needs white going to - and green to +. At least the +5 and ground are consistant. Just finished looking things over with the microscope and couldn't find anything obvious. The solder joints all look 1st class. Did find some small pieces of black foam imbedded in some of the flash leads but after removal no change.

Re: 27C400/27C800 EPROM emulator

Posted: 03 Feb 2020 10:39
by Squirrel61
Isn't it funny to know that the STM32 used on the emulator probably has more processing power than the main processor of the system it's used in?

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 18:07
by terriblefire
Ok it appears to have flashed ok.. but no boot..

what am i doing wrong..
IMG_1741.jpg
Connected

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

OK

/

Have tried with and without byte swap.

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 18:31
by cmorley
terriblefire wrote: 04 Feb 2020 18:07 Ok it appears to have flashed ok.. but no boot..

what am i doing wrong..

Command: program & verify 27C160 (2048KB)
Go to the options menu "o" and run the preset "wizard" to set them to 27C400. If you've not got a reset/rom switch line hooked up yet, then you'll need to make sure the ROM switch pull up is active in the same menu. Press C to commit the options to FLASH once set.

Then reprogram.

To switch images together in set one module as master and one as slave and link A18 & A19 pads.

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 19:25
by terriblefire
cmorley wrote: 04 Feb 2020 18:31 Go to the options menu "o" and run the preset "wizard" to set them to 27C400. If you've not got a reset/rom switch line hooked up yet, then you'll need to make sure the ROM switch pull up is active in the same menu. Press C to commit the options to FLASH once set.

Then reprogram.

To switch images together in set one module as master and one as slave and link A18 & A19 pads.
tried all this but no joy.

Connected

HI ROM

****************************************************************
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 00050011 42504312 20323733
CPLD id mfg=0x06e, dev=0x20a5, rev=0
FLASH id mfg=1, dev=0xc4
EPROM type 27C400 (512KB)
ROM selected 3


LO ROM

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 002f002b 42504313 20323733
CPLD id mfg=0x06e, dev=0x20a5, rev=0
FLASH id mfg=1, dev=0xc4
EPROM type 27C400 (512KB)
ROM selected 3

I've tried DiagROM both swapped and unswapped (rom 0 swapped, 3 unswapped).

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 19:53
by cmorley
I will assume you have the hi and low the correct way round. IIRC Chucky's ROM images are already byte swapped.

3 should be OK then. Try setting 3 as the initial ROM image from the options (+ COMMIT) then power the lot off and power the Amiga back on. Then they should be guaranteed to go to image 3 on power up.

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 20:15
by terriblefire
cmorley wrote: 04 Feb 2020 19:53 I will assume you have the hi and low the correct way round. IIRC Chucky's ROM images are already byte swapped.

3 should be OK then. Try setting 3 as the initial ROM image from the options (+ COMMIT) then power the lot off and power the Amiga back on. Then they should be guaranteed to go to image 3 on power up.
Yes this is what i tried but i'll throw the TF1260 and the scope on it to see what happens at startup on the data bus.

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 21:19
by terriblefire
terriblefire wrote: 04 Feb 2020 20:15 Yes this is what i tried but i'll throw the TF1260 and the scope on it to see what happens at startup on the data bus.
OK I have this on the LA now. Here goes. Both are set to boot from slot 3.

With No USB plugged in...
nousb.JPG
with the usb plugged into LO rom and powercycle...
lo_usb.JPG
with the usb plugged into the HI rom and power cycle
hi_usb.JPG

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 21:29
by cmorley
Do you have anything connected on the ROM switch pin now? If no, are both modules set to pull up on ROM switch?

The USB keeps the STM32 powered. Turning off the Amiga the module will see /RST go low and can perform a ROM switch depending on the length of time. Or if the input is floating with no pull up then all bets are off.

Please post the options summary. Try doing a full erase and then only program one of the slots. It looks like it is switching between 0 and 3 for some reason. If all the other slots are erased you'll get FFFF if it isn't booting the slot you expect.

Re: 27C400/27C800 EPROM emulator

Posted: 04 Feb 2020 22:08
by Maximilian
These days I always check USB cables with my multimeter, I have had 2 cables with VCC and GND swapped :o and a few with the data lines swapped.

And yes, the board i was working on at that time was destroyed with the swapped VCC and GND.