RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF.
ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8145] Sun, 20 December 2020 17:08 Go to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
ZZRCC (Z280+RAM+CPLD+CF disk) is a simpler replacement for ZZ80CF. The component counts is now 3 ICs plus an oscillator instead of ZZ80CF's 6 IC, 2 oscillators, and a battery. ZZRCC also fixed the problem with asynchronous baud clock which intermittently injects spurious character in output. ZZRCC also has an I2C connector specifically for 128x64 OLED display.

The design approach of ZZRCC is quite different than ZZ80CF. Like ZZ80CF, the Z280 processor is operating in the 8-bit Z80-compatible mode. It also uses the same Z280 serial bootstrap function to load initial software into memory, but instead of storing the monitor in battery-backed RAM, it stores the monitor in the CF disk. During normal booting, a small ROM in CPLD loads the monitor from designated location in CF disk into RAM and execute. This approach eliminates the battery and the battery supervisor. I'm also pleased to squeeze all ZZRCC functions in the smallest & cheapest Altera CPLD, EPM7032SLC44. All in all, I'm quite pleased with this design.

ZZRCC homepage is here: https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:zzrcc

Bill
/forum/index.php?t=getfile&id=1945&private=0
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8146 is a reply to message #8145] Sun, 20 December 2020 17:24 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
This is ZZRCC driving 128x64 OLED display over I2C bus. The I2C bus is a simple bit-bang interface.
Bill

/forum/index.php?t=getfile&id=1946&private=0
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8153 is a reply to message #8146] Wed, 23 December 2020 01:38 Go to previous messageGo to next message
b1ackmai1er is currently offline  b1ackmai1er
Messages: 396
Registered: November 2017
Senior Member
Very Very nice.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8154 is a reply to message #8153] Wed, 23 December 2020 15:27 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
Thank you.

I also ported Conway's Life playing Gosper's Glider gun. The small 128x64 screen is rather limiting. I like to try the 320x240 QVGA screen which is surprisingly inexpensive now.

I have successfully built up 4 ZZRCC. After Christmas break, I plan to offer the remaining 6 boards either as $30 kits or $40 assembled/tested boards plus $5 shipping in USA or $15 International. If I have leftover after few weeks, I'll auction them off on eBay starting from $1.
Bill

[Updated on: Wed, 23 December 2020 15:28]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8177 is a reply to message #8154] Sat, 09 January 2021 17:40 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
That's very tidy! Is there a way to set the clock divider so it could have the option of running at 3.579545 MHz while still having a normal serial baudrate? I'd like to play around with old Coleco or MSX game stuff, which used a Z80 at that frequency. I've got a Z180 setup which has to run at a very nonstandard 23040 baud while running at 3.686 MHz (close enough to 3.579545). I'd be interested in one if Coleco/MSX speed isn't too much work.

BTW I saw you finished your ZZ80MB EEPROM programmer code, so I got that set up on mine. Very nice to be able to bootstrap from EEPROM now.

I hope you'll come back to the 68030 stuff. I'd love to see the CB030 evolve into something supporting ethernet and storage. I haven't touched mine since I got the linux demo running on it, sadly.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8178 is a reply to message #8177] Sat, 09 January 2021 22:16 Go to previous messageGo to next message
wsm is currently offline  wsm
Messages: 223
Registered: February 2017
Location: AB, Canada
Senior Member
Quote:
... I've got a Z180 setup which has to run at a very nonstandard 23040 baud while running at 3.686 MHz ...
I agree that 23040 is a very non-standard baud rate. However, it should be quite straightforward to swap a Z80180 with a Z8S180 which has an additional baud rate generator (BRG). It will require a change to the ASCI initialization but the BRG will allow standard baud rates up to 38400 with a PHI of 3.686 MHz.
i.e. TC=1=38400, TC=4=19200, TC=10=9600, etc.

If you're using the CSI/O the Z8S180 may cause an issue with the timing and/or residual value of the last bit sent.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8180 is a reply to message #8177] Sun, 10 January 2021 06:18 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
quarterturn wrote on Sat, 09 January 2021 18:40
That's very tidy! Is there a way to set the clock divider so it could have the option of running at 3.579545 MHz while still having a normal serial baudrate? I'd like to play around with old Coleco or MSX game stuff, which used a Z80 at that frequency. I've got a Z180 setup which has to run at a very nonstandard 23040 baud while running at 3.686 MHz (close enough to 3.579545). I'd be interested in one if Coleco/MSX speed isn't too much work.

BTW I saw you finished your ZZ80MB EEPROM programmer code, so I got that set up on mine. Very nice to be able to bootstrap from EEPROM now.

I hope you'll come back to the 68030 stuff. I'd love to see the CB030 evolve into something supporting ethernet and storage. I haven't touched mine since I got the linux demo running on it, sadly.
If 3.68MHz works for you, I can easily change the clock divider to /4 so your serial port can run at the standard 57600. Because Z280 CPU clock is 1/2 the input oscillator, the oscillator you'll need is actually 7.3728MHz. The much bigger question is whether Z280 is compatible with MSX. If you don't use Z280's internal functions like UART, timer, DMA, MMU, OK, it is more likely to be compatible, but then it is no better than a Z80.

I'm out fooling around with 6502. I recently added two 6502 homepages on my builder page:
https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:protor5:proto65:proto65r02
https://www.retrobrewcomputers.org/doku.php?id=builderpages: plasmo:crc65

I have plan to add video and keyboard capabilities to all my 68K, Z280, and Z80 products. That was my goal for this winter, but as you can see, I was distracted.
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8182 is a reply to message #8180] Mon, 11 January 2021 06:33 Go to previous messageGo to next message
lintweaker is currently offline  lintweaker
Messages: 69
Registered: April 2018
Member
plasmo wrote on Sun, 10 January 2021 15:18
The much bigger question is whether Z280 is compatible with MSX. If you don't use Z280's internal functions like UART, timer, DMA, MMU, OK, it is more likely to be compatible, but then it is no better than a Z80.
Indeed. I did a lot of experimenting trying to use the Z280 a the main cpu for MSX. I can be made to work but a that point the Z280 is slower then the regular Z80.
The Z280 cache cannot really be used as it interferes with the MSX slot mechanism and maybe some BIOS code (self modifying? WinkWink.
I played a lot with the clock and clock dividers, the MSX architecture quickly shows it limits.
Booting MSX1 is fairly easy, later models (2,2+) not so much.

[Updated on: Mon, 11 January 2021 06:34]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8183 is a reply to message #8182] Mon, 11 January 2021 12:56 Go to previous messageGo to next message
lowen is currently offline  lowen
Messages: 226
Registered: August 2016
Location: Western NC USA
Senior Member
So, this is the board I've really been waiting on. Like I originally said in my thread that morphed into the CPU280 revival thread, I have always wanted a Z280 speedup board for a TRS-80 model 4. Well, with a few modifications, ZZRCC is that board. The RC2014 bus, with a little bit of work, can interface back to a Z80 socket easily enough. I've booted a ZZRCC here, and now to design the modifications to make it drive a Z80 socket.

--
Bughlt: Sckmud
Shut her down Scotty, she's sucking mud again!
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8184 is a reply to message #8145] Mon, 11 January 2021 14:58 Go to previous messageGo to next message
hperaza is currently offline  hperaza
Messages: 68
Registered: March 2017
Member
Very nice design, indeed. Although I miss the RTC chip, needed for CP/M 3, MP/M, UZI280 and RSX280.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8185 is a reply to message #8184] Mon, 11 January 2021 17:47 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
hperaza wrote on Mon, 11 January 2021 15:58
Very nice design, indeed. Although I miss the RTC chip, needed for CP/M 3, MP/M, UZI280 and RSX280.
Interesting you should say that. Since ZZRCC does have an I2C interface, I'm just thinking about a small I2C board with RTC and stack-able 4-pin connector so the 128x64 OLED display can plug on top of it. The purpose is a clock where RTC provides the time base and 128x64 OLED the clock face. Will such a board serve your purpose, or do you also need an interrupt associated with it?
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8186 is a reply to message #8183] Mon, 11 January 2021 17:58 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
lowen wrote on Mon, 11 January 2021 13:56
So, this is the board I've really been waiting on. Like I originally said in my thread that morphed into the CPU280 revival thread, I have always wanted a Z280 speedup board for a TRS-80 model 4. Well, with a few modifications, ZZRCC is that board. The RC2014 bus, with a little bit of work, can interface back to a Z80 socket easily enough. I've booted a ZZRCC here, and now to design the modifications to make it drive a Z80 socket.
You may have tight space to work with, if so I can easily redesign the board to suit your application. Heck, if you've been wanting to do that all these years, I'm sure there are many other TRS-80 fans on VCFED that'll also be interested. So let me know what you need, I'm happy to help.
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8187 is a reply to message #8184] Mon, 11 January 2021 20:50 Go to previous messageGo to next message
dittman is currently offline  dittman
Messages: 9
Registered: February 2019
Junior Member
hperaza wrote on Mon, 11 January 2021 14:58
Very nice design, indeed. Although I miss the RTC chip, needed for CP/M 3, MP/M, UZI280 and RSX280.
While it's nice to have, CP/M Plus doesn't have to have an RTC chip.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8188 is a reply to message #8185] Tue, 12 January 2021 09:46 Go to previous messageGo to next message
hperaza is currently offline  hperaza
Messages: 68
Registered: March 2017
Member
Quote:
Interesting you should say that. Since ZZRCC does have an I2C interface, I'm just thinking about a small I2C board with RTC and stack-able 4-pin connector so the 128x64 OLED display can plug on top of it. The purpose is a clock where RTC provides the time base and 128x64 OLED the clock face. Will such a board serve your purpose, or do you also need an interrupt associated with it?
It will do, although I'd prefer the RTC chip on board. But I can see that there is almost no space remaining. BTW, I noticed that your ZZ80MB rev 3 (another design I like) does not have an RTC either? Rev 1 had it.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8189 is a reply to message #8187] Tue, 12 January 2021 10:07 Go to previous messageGo to next message
hperaza is currently offline  hperaza
Messages: 68
Registered: March 2017
Member
dittman wrote on Mon, 11 January 2021 20:50
While it's nice to have, CP/M Plus doesn't have to have an RTC chip.
True, but if can have a feature you will want to have it Smile. Without an RTC CP/M 3 will not have timestamps, and utilities like 'make' will not work. Yes, you could still maintain the TOD using timer interrupts, but is annoying having to enter the time and date every time you (re)boot the system. But the Z280 is a bit overkill for CP/M 3 anyway; it really shines in multitasking, and with multitasking OSes an RTC is normally a must.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8190 is a reply to message #8189] Tue, 12 January 2021 12:17 Go to previous messageGo to next message
dittman is currently offline  dittman
Messages: 9
Registered: February 2019
Junior Member
hperaza wrote on Tue, 12 January 2021 10:07
dittman wrote on Mon, 11 January 2021 20:50
While it's nice to have, CP/M Plus doesn't have to have an RTC chip.
True, but if can have a feature you will want to have it Smile. Without an RTC CP/M 3 will not have timestamps, and utilities like 'make' will not work. Yes, you could still maintain the TOD using timer interrupts, but is annoying having to enter the time and date every time you (re)boot the system. But the Z280 is a bit overkill for CP/M 3 anyway; it really shines in multitasking, and with multitasking OSes an RTC is normally a must.
Yes, entering the date and time on reboot is annoying. I used timer interrupts in my Model 4 CP/M Plus BIOS. It worked. Had an external RTC like the Newclock/80 been cheaper I'd have bought one.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8194 is a reply to message #8186] Wed, 13 January 2021 07:52 Go to previous messageGo to next message
lowen is currently offline  lowen
Messages: 226
Registered: August 2016
Location: Western NC USA
Senior Member
plasmo wrote on Mon, 11 January 2021 20:58

You may have tight space to work with, if so I can easily redesign the board to suit your application. Heck, if you've been wanting to do that all these years, I'm sure there are many other TRS-80 fans on VCFED that'll also be interested. So let me know what you need, I'm happy to help.
Bill
Wow. Let me think about this; I want to be very careful to not overcommit here....I've done that before, and caused some problems this past year.


--
Bughlt: Sckmud
Shut her down Scotty, she's sucking mud again!
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8195 is a reply to message #8194] Wed, 13 January 2021 08:41 Go to previous messageGo to next message
dittman is currently offline  dittman
Messages: 9
Registered: February 2019
Junior Member
lowen wrote on Wed, 13 January 2021 07:52
plasmo wrote on Mon, 11 January 2021 20:58

You may have tight space to work with, if so I can easily redesign the board to suit your application. Heck, if you've been wanting to do that all these years, I'm sure there are many other TRS-80 fans on VCFED that'll also be interested. So let me know what you need, I'm happy to help.
Bill
Wow. Let me think about this; I want to be very careful to not overcommit here....I've done that before, and caused some problems this past year.
I'd definitely be interested.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8208 is a reply to message #8180] Tue, 19 January 2021 13:47 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
I'll probably build a standard Z80 board combo just to be sure the games work. Of course the sensible thing would have been to simply use an emulator and left it at that, but NO I am doing it the hard way! Razz

[Updated on: Tue, 19 January 2021 13:48]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8238 is a reply to message #8145] Mon, 25 January 2021 08:10 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
BTW Plasmo, on the ZZ80MB, for rev3 you used the 74LS193 as a divide-by-13 right? I don't have a 74LS193 on hand but probably have something else which can do the job. I was thinking to borrow the 1.8432 MHz crystal socket to mount a little board on my rev2.

[Updated on: Mon, 25 January 2021 08:11]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8239 is a reply to message #8238] Mon, 25 January 2021 08:22 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
If you have 4-bit counters like '191, '161, '163 and some gates, you should be able to get a divide-by-13 out of that. What 4-bit counter do you have?

You can also continue to use a separate 1.84MHz clock except you'll get intermittent extra character output. XMODEM transfer may also intermittently failed because of the extra character output.
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8240 is a reply to message #8239] Mon, 25 January 2021 12:24 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Closest thing I have is a CD4516 but that tops out around 8 MHz. I'll use the opportunity to get the 74LS193 in SOIC-16; nice thing about that size is it works with the 0.05 hole-spaced Schmartboard protoboard and allows you to shrink things down quite a bit. It'll probably fit within the DIP-16 oscillator footprint.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8258 is a reply to message #8240] Fri, 29 January 2021 16:21 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Here's what I came up with. SOIC-16 74LS193 mounted to the 0.1/0.05" Schmartboard. I used LED lead clippings as the wires to go to the machine-pin crystal socket - they make a solid connection that way. Every other pin can touch a through-hole, so some connections are made by tacking down the wire to a hole and then soldering the end to a pin. I used rather coarse kynar wire. I didn't feel like getting out the special strippers for the wire-wrap wire. I haven't tried uploading anything big to the board but it seems solid to me.

Hey Bill, I have an extra Z280 and the EPM7032 CPD, let me know if you still have ZZRCC boards.

/forum/index.php?t=getfile&id=1967&private=0


  • Attachment: 768-1024.jpeg
    (Size: 319.04KB, Downloaded 1094 times)

[Updated on: Fri, 29 January 2021 16:28]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8259 is a reply to message #8258] Fri, 29 January 2021 20:11 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
That should work fine. Were you able to talk to the Z280?

I do have more ZZRCC blank board. I'll mail one to you tomorrow.
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8260 is a reply to message #8259] Sat, 30 January 2021 08:15 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Serial works well with the modification. I think if you used a 16-pin DIP socket for the full-size crystal like I did, you could actually use the DIP-16 version of the 74LS193 with pins 1, 16, and 8 inserted into the socket. The other pins could be bent to touch or connected with some fine wire-wrap wire as needed. Thanks for the board!
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8261 is a reply to message #8260] Sat, 30 January 2021 08:56 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
I have a picture 54193 modifications exactly as you've described.

The ZZRCC board is on its way to you.

--Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8282 is a reply to message #8261] Tue, 02 February 2021 10:09 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Got the board - thank you!

In trying to single-source my parts, I'm not having luck with the 29.5 MHz oscillator. I think the Z280 UART wants things to be a multiple of 2.4567 MHz so the closest I can find at Mouser is 22.1184MHz. Would that work?

I'll have to go to ebay for the CF adapter so maybe there's a 29.5 MHz oscillator there.

EDIT: There's a 7 mm x 5 mm 29.4912 MHz SMT part which will probably mount on schmartboard or some other 8-DIP SMT adapter I have lying around.

[Updated on: Tue, 02 February 2021 10:22]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8284 is a reply to message #8282] Tue, 02 February 2021 18:24 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
Did 29.49MHz 7mmx5mm works out for you? 22.18MHz won't get you a standard baud rate. 14.7MHz will get 57600. Another solution is change the CPLD equations.
Bill

[Updated on: Tue, 02 February 2021 18:24]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8285 is a reply to message #8284] Wed, 03 February 2021 08:19 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
I've got the SMD 29.49MHz on order so I'll be able to run the board as designed.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8289 is a reply to message #8285] Fri, 05 February 2021 15:39 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Turns out EPM7032LC44 is NOT JTAG-programmable! Well, this explains why they were cheap I guess.

Is P5 present on a newer rev of the board? Mine doesn't have it. I used a multimeter to figure out which of the PLCC44 socket pins are TDI, TDO, etc... and soldered on jumper wires to be shoved into the Altera USB Blaster connector.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8290 is a reply to message #8289] Fri, 05 February 2021 18:39 Go to previous messageGo to next message
lowen is currently offline  lowen
Messages: 226
Registered: August 2016
Location: Western NC USA
Senior Member
As far as I know, you need the S version, part EPM7032SLC44

--
Bughlt: Sckmud
Shut her down Scotty, she's sucking mud again!
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8292 is a reply to message #8289] Fri, 05 February 2021 20:52 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
EPM7032LC44 is absolutely NOT the same as EPM7032SLC44. The 'S' denotes JTAG programmability, without it, you'll need a very specialized Altera programmer that is incredibly hard to find.
Bill

[Updated on: Fri, 05 February 2021 20:53]

Report message to a moderator

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8297 is a reply to message #8292] Sat, 06 February 2021 08:29 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
You're welcome to them if you have the special programmer. I have some EPM7032S on order.

BTW I have seen some EPM7032S and EPM7064S on ebay with lasered-on markings. I wonder if they're remarked EPM7032LC fakes, or did Altera use laser marking at the time in addition to ink marking?

Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8298 is a reply to message #8297] Sat, 06 February 2021 08:58 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
Unfortunately I don't have the special Altera programmer either. It was a long PC/XT board with ribbon cable to a programming station. I used it at work during late 1980's and 1990's, I'm sure it is in the landfill now.

Laser markings may also be done at Altera factory. I purchased hundreds of EPM7128SQC100 in 2008 that have factory laser markings. They were pre-programmed at the factory to vendor provided programs. The vendor went out of business and I bought them at salvaged price. These were pre-programmed new parts; fortunately I'm able to reprogram them and I have used them extensively in my designs without any issues. I was lucky because factory programming can also disabled JTAG and enabled security fuse. Reprogram them would be quite difficult.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8310 is a reply to message #8298] Tue, 09 February 2021 07:23 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
These CPLDs can't be reprogrammed as much as flash EEPROM right? I read somewhere it is only about 100 times, is that correct?
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8311 is a reply to message #8310] Tue, 09 February 2021 08:11 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
Altera data sheet stated that:

The devices can be reprogrammed for quick and efficient iterations during design development and debug cycles, and can be programmed and erased up to 100 times.

That number is conservative. I have never ever destroyed a CPLD due to excessive re-programming.
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8312 is a reply to message #8311] Tue, 09 February 2021 10:55 Go to previous messageGo to next message
borutk is currently offline  borutk
Messages: 34
Registered: November 2015
Member
Bill,

What would it take to use a 44 pin EPM7064S instead of EPM7032S?
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8313 is a reply to message #8312] Tue, 09 February 2021 12:09 Go to previous messageGo to next message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
44 pin EPM7064S is pin compatible with EPM7032S, so if all you have is EPM7064S, it is matter of recompile with the same pin assignment and insert the EPM7064S in the socket instead of EPM7032S. Since EPM7064S has twice as many macrocells and logic, it is possible to have larger ROM or more sophisticated I2C or SPI controller.
Bill
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8320 is a reply to message #8313] Tue, 16 February 2021 15:54 Go to previous messageGo to next message
quarterturn is currently offline  quarterturn
Messages: 86
Registered: April 2018
Member
Bill,
my board is built and I'm having trouble getting to the monitor prompt. Using TerraTerm, I start out with 115200 8-odd-1 xon/xoff and send zserldr.bin with 'binary' checked. Then I switch to 115200 8-n-1 xon/xoff and send zzrmon.hex with 'binary' unchecked. No prompt though.

Things I've checked:
- 29.49 MHz at pin 8 of oscillator
- I programmed the CPLD with 'verify' checked, it passed
- removed R5
- bootstrap jumper removed
- known good power supply (works with ZZ80MB)
- swapped Z280 CPU with known-working one from ZZ80MB
- resistor SIP has common on pin 1 (square pad)
- reset switch tests N/O
- I used an MCP130485 reset supervisor, but that should be fine with 5.2V
- resistors verified

I'm sure there's something basic I'm missing.
Re: ZZRCC, Z280+RAM+CPLD+CFdisk, replacing ZZ80CF. [message #8321 is a reply to message #8320] Tue, 16 February 2021 17:43 Go to previous messageGo to previous message
plasmo is currently offline  plasmo
Messages: 866
Registered: March 2017
Location: New Mexico, USA
Senior Member
You should not enable XON/XOFF. Flow control should be "none". The first file (ZRSERLDR.BIN) successfully loaded should give you this prompt:

>
ZZRCC Loader v0.1
Change serial port to 115200 N81
Auto start at 0xB400


If Z280 detected errors during serial bootstrap stage, it will drive the transmit low (Break), If you are using CP2102 USB-serial adapter, you'll see the LED silkscreen with 'RXD' turned red when errors are detected.

Bill
Previous Topic: KiCAD footprint Molex drive power connector?
Next Topic: 74LS688 vs 74LS521


Current Time: Thu Mar 28 01:08:11 PDT 2024

Total time taken to generate the page: 0.01010 seconds