Issue with ATF22V10C
Re: Issue with ATF22V10C
CUPL syntax is fairly simple in its basics. However, many of its extended features are device-specific; there's more than just GALs supported by it. So when you read a document explaining CUPL (such as the WinCUPL manual), a lot of things might look useful but simply don't apply to your device - you have to carefully cross-reference each one to the datasheet. And a lot of datasheets (Atmel's included) do a really bad job of explaining precisely what the device can handle.
A CUPL tutorial would do well to take the GAL22V10 as a standard platform, and teach the relevant subset of CUPL and the capabilities of that device well.
A CUPL tutorial would do well to take the GAL22V10 as a standard platform, and teach the relevant subset of CUPL and the capabilities of that device well.
Re: Issue with ATF22V10C
Got it! Thanks for all the helpful tips everyone.
I'm going to try some things out and report back, maybe there is a way to get this working with either the power down pin or some other way (if I can find other peoples code for the ATF22V10 that should work).
I'm going to try some things out and report back, maybe there is a way to get this working with either the power down pin or some other way (if I can find other peoples code for the ATF22V10 that should work).
Re: Issue with ATF22V10C
This document: http://ww1.microchip.com/downloads/en/D ... oc0737.pdf
seems to indicate that only ATF1500 family devices from Atmel support the OE extension, although it's interesting that the Lattice GAL chips support it. I've seen documents claiming per pin OE support on the ATF22V10C as well but can't find the document now (and google doesn't seem to find any documents or code using the OE feature).
seems to indicate that only ATF1500 family devices from Atmel support the OE extension, although it's interesting that the Lattice GAL chips support it. I've seen documents claiming per pin OE support on the ATF22V10C as well but can't find the document now (and google doesn't seem to find any documents or code using the OE feature).
Re: Issue with ATF22V10C
djkat wrote:
This document: http://ww1.microchip.com/downloads/en/D ... oc0737.pdf
seems to indicate that only ATF1500 family devices from Atmel support the OE extension, although it's interesting that the Lattice GAL chips support it. I've seen documents claiming per pin OE support on the ATF22V10C as well but can't find the document now (and google doesn't seem to find any documents or code using the OE feature).
seems to indicate that only ATF1500 family devices from Atmel support the OE extension, although it's interesting that the Lattice GAL chips support it. I've seen documents claiming per pin OE support on the ATF22V10C as well but can't find the document now (and google doesn't seem to find any documents or code using the OE feature).
My GALasm logic looks like:
Code: Select all
; Write and Read signals for the RAM - qualified with the 6502 phase2 clock
/WR.T = CLK * /RW * BE
/RD.T = CLK * RW * BE
; Single Enable input to tristate the chip select, etc. outputs
WR.E = BE
RD.E = BE-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Re: Issue with ATF22V10C
Hi Gordon, great to hear from you, I recently looked at your blog as I'm interested in other peoples designs and I really like your idea of using an atmega for SD card input etc. to avoid bitbanging it on the 6502.
My design actually already uses an atmega4809 chip, initially just as a bootloader to fill up my SRAM to avoid slow EEPROM chips (like you I assume?).
I'm redesigning a test on breadboard right now to try to make a new solution (inspired by yours!) to have a shared part of SRAM to communicate back and forth between the two chips.
I hope I can ask some questions if I run into problems?
Regarding your post above, I have never used GALasm, why do you prefer it? I would be happy to use something other than wincupl in any case.
Cheers,
Daniel
My design actually already uses an atmega4809 chip, initially just as a bootloader to fill up my SRAM to avoid slow EEPROM chips (like you I assume?).
I'm redesigning a test on breadboard right now to try to make a new solution (inspired by yours!) to have a shared part of SRAM to communicate back and forth between the two chips.
I hope I can ask some questions if I run into problems?
Regarding your post above, I have never used GALasm, why do you prefer it? I would be happy to use something other than wincupl in any case.
Cheers,
Daniel
Re: Issue with ATF22V10C
Apparently Atmel's preferred current production is the ATF22LV10CQZ. The datasheet for this clearly shows OE product terms for each output pin. This is also their "zero power" variant which automatically switches off the power-hungry product term circuitry when there are no input transitions to follow.
Re: Issue with ATF22V10C
djkat wrote:
Hi Gordon, great to hear from you, I recently looked at your blog as I'm interested in other peoples designs and I really like your idea of using an atmega for SD card input etc. to avoid bitbanging it on the 6502.
My design actually already uses an atmega4809 chip, initially just as a bootloader to fill up my SRAM to avoid slow EEPROM chips (like you I assume?).
I'm redesigning a test on breadboard right now to try to make a new solution (inspired by yours!) to have a shared part of SRAM to communicate back and forth between the two chips.
I hope I can ask some questions if I run into problems?
My design actually already uses an atmega4809 chip, initially just as a bootloader to fill up my SRAM to avoid slow EEPROM chips (like you I assume?).
I'm redesigning a test on breadboard right now to try to make a new solution (inspired by yours!) to have a shared part of SRAM to communicate back and forth between the two chips.
I hope I can ask some questions if I run into problems?
Quote:
Regarding your post above, I have never used GALasm, why do you prefer it? I would be happy to use something other than wincupl in any case.
Cheers,
Daniel
Cheers,
Daniel
Cheers,
-Gordon
--
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
Gordon Henderson.
See my Ruby 6502 and 65816 SBC projects here: https://projects.drogon.net/ruby/
- floobydust
- Posts: 1394
- Joined: 05 Mar 2013
Re: Issue with ATF22V10C
Chromatix wrote:
Apparently Atmel's preferred current production is the ATF22LV10CQZ. The datasheet for this clearly shows OE product terms for each output pin. This is also their "zero power" variant which automatically switches off the power-hungry product term circuitry when there are no input transitions to follow.
https://www.microchip.com/wwwproducts/en/ATF22V10B
https://www.microchip.com/wwwproducts/en/ATF22V10C
https://www.microchip.com/wwwproducts/en/ATF22V10CQ
https://www.microchip.com/wwwproducts/en/ATF22V10CQZ
As noted, programming them (Atmel/Microchip) can be difficult with many of the low-cost programmers. I've been using a Dataman 40pro for about 7 years now... it wasn't cheap, but (software) updates are still frequent and it handles the Atmel versions without any issue.
I use the CQZ version is my current SBC for a single glue logic chip.... it hovers around 40ma IIRC.
Regards, KM
https://github.com/floobydust
https://github.com/floobydust
Re: Issue with ATF22V10C
I have been using GALs a lot. However I always had many difficulties finding a programmer that supported the brands I got like Lattice, NS, TI etc. Also when buying Lattice GALs they are now mostly pulled devices and I did not always receive working ones. Using used and new GALs is always additional trouble-shooting as you never know is it the design, your setup, the programmer which did something wrong or is it a bad GAL. Programmers which officially support certain brands are mostly very expensive. The batch of China programmers all claim they can do all those chips but in a corner case you will be lost. Today only Microchip produces the ATF16V8 and ATF22V10 GALs. Many users in the internet claim the TL866II Plus supports them.
However this programmer was not available when I gave up the GALs. Or I should say, I completely switched to Microchip (former Atmel) CPLDs ATF1504 and ATF1508. As BDD says a ATF1504 in a PLCC-44 package does not use significantly more space than a ATF22V10. (DIP-24), but offers much more options and resources.
I can only recommend that you have a look into these CPLDs. They are extremely flexible and you get a USB Download Cable ATDH1150USB to program the for the same price you would pay for a TL866II Plus. But different to the TL866II Plus the USB Cable is an official Atmel product that supports the CPLDs. The required software is free and can be retrieved from Microchip. WinCUPL is quite flexible and allows you to create your designs in a very simple way. The programmer requires the Atmel ISP software which is as well a free download from Microchip.
Getting used to CPLDs may not always be easy but it was worth the effort I spent in learning how to use them. I'm happy to share my experience and give advice if you like. Some of my projects can be seen http://www.5votls.ch
Using these CPLDs requires some understanding of how they are internally structured and not always WinCUPL does what you want and honestly I had many strange results and a bad design file easily crashes WinCUPL. The error messages are cryptic and not always very useful. Eventually I will add my findings on my homepage.
Peter
However this programmer was not available when I gave up the GALs. Or I should say, I completely switched to Microchip (former Atmel) CPLDs ATF1504 and ATF1508. As BDD says a ATF1504 in a PLCC-44 package does not use significantly more space than a ATF22V10. (DIP-24), but offers much more options and resources.
I can only recommend that you have a look into these CPLDs. They are extremely flexible and you get a USB Download Cable ATDH1150USB to program the for the same price you would pay for a TL866II Plus. But different to the TL866II Plus the USB Cable is an official Atmel product that supports the CPLDs. The required software is free and can be retrieved from Microchip. WinCUPL is quite flexible and allows you to create your designs in a very simple way. The programmer requires the Atmel ISP software which is as well a free download from Microchip.
Getting used to CPLDs may not always be easy but it was worth the effort I spent in learning how to use them. I'm happy to share my experience and give advice if you like. Some of my projects can be seen http://www.5votls.ch
Using these CPLDs requires some understanding of how they are internally structured and not always WinCUPL does what you want and honestly I had many strange results and a bad design file easily crashes WinCUPL. The error messages are cryptic and not always very useful. Eventually I will add my findings on my homepage.
Peter
- GARTHWILSON
- Forum Moderator
- Posts: 8773
- Joined: 30 Aug 2002
- Location: Southern California
- Contact:
Re: Issue with ATF22V10C
cbscpe wrote:
Getting used to CPLDs may not always be easy but it was worth the effort I spent in learning how to use them. I'm happy to share my experience and give advice if you like. Some of my projects can be seen http://www.5votls.ch
I get the error message, "Hmm. We’re having trouble finding that site. We can’t connect to the server at http://www.5votls.ch.
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?
Re: Issue with ATF22V10C
Looks like a typo, should have been http://www.5volts.ch , not 5votls.ch
Re: Issue with ATF22V10C
Sorry, yes of course, my bad.
Re: Issue with ATF22V10C
Hi all,
have recently been using WinCUPL 5.30.4 to design logic for a retro 6502 computer project of mine.
I've used both the ATF22V10C and ATF16V8B, programmed successfully with a genuine TL866II+.
I initially tried running WinCUPL in a Win 7 x64 virtual machine and it was awful. It would crash constantly, often without giving any useful error information. In frustration I tried running it up in a Win 7 x32 VM. This has done the trick, stable, working, all good. It's obviously 32 bit software.
have recently been using WinCUPL 5.30.4 to design logic for a retro 6502 computer project of mine.
I've used both the ATF22V10C and ATF16V8B, programmed successfully with a genuine TL866II+.
I initially tried running WinCUPL in a Win 7 x64 virtual machine and it was awful. It would crash constantly, often without giving any useful error information. In frustration I tried running it up in a Win 7 x32 VM. This has done the trick, stable, working, all good. It's obviously 32 bit software.
- BigDumbDinosaur
- Posts: 9426
- Joined: 28 May 2009
- Location: Midwestern USA (JB Pritzker’s dystopia)
- Contact:
Re: Issue with ATF22V10C
SteveD wrote:
I initially tried running WinCUPL in a Win 7 x64 virtual machine and it was awful. It would crash constantly, often without giving any useful error information. In frustration I tried running it up in a Win 7 x32 VM. This has done the trick, stable, working, all good. It's obviously 32 bit software.
x86? We ain't got no x86. We don't NEED no stinking x86!
Re: Issue with ATF22V10C
(welcome, SteveD! It would be good to see a thread about your 6502 retro project some time...)