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 (34.8 KiB) Viewed 8243 times