I'm using the ATF15XX-DK3-U version 1.2 development kit with Atmel ATDH1150USB-K USB interface and WinCUPL version 5.30.4 compiler and ATMISP version 7.2 programming environment. With the kit I received one ATF1502AS-10AU44 CPLD and a ATF1504ASV-15AU44 CPLD.
I went through the WINCUPL Tutorial1.pdf and the ATMISP QSTutor.pdf Quick Start Tutorial. There's a bunch of different .PLD project files in the Examples subfolder that came with the WinCUPL software I believe. One of the files called GATES.PLD is used in the WinCUPL tutorial, which tells you to change "signal nand" from Pin 15 to Pin 20.
So I compile and program the 1504ASV and everything seems fine, although the device on the evaluation board doesn't seem to light up the correct LEDS and 7-segment displays or respond to the pushbuttons correctly. At this point I didn't realize I had the evaluation board jumpers still set to +5V and the 1504ASV is a 3.3V device. So I try changing the code and reprogramming the device, but when I give a command to Program/Verify, or Erase, or anything, all I get is an error message: Hardware and software settings mismatch.
Seems the ATMISP program doesn't think there's a CPLD device present. The ATMISP program tells me "total number of device(s) set in software: 1. total number of real device(s) found in hardware: 0.
So I switch over to using the 1502AS which IS a +5V device. I also noticed that in the Example code for GATES.PLD there's LOTS of pin assignments that don't match up with the evaluation board. So I make a bunch of changes, and I'm able to program the CPLD several times, but it never seems to do what I expect it to do. No big surprise since I'm just starting to learn this new code/language and development tools. So I give it a try at programming the original GATES.PLD file and OOPS! the 1502AS starts behaving like the 1504ASV did. Now, it looks like I zapped the second CPLD because all I get is the "Hardware and software settings mismatch" message.
Did I destroy the CPLDs somehow with inappropriate pin assignments in the .PLD file code? Any way I can narrow it down to what it is exactly I did wrong? The supply voltage mismatch would explain why the 1504ASV is non-responsive, but not why the 1502AS would be.