I have troubles reprogramming the firmware of the CPLD located on my TE0720-03-1CFA board with lattice diamond. What I actually want is to deactivate the internal pull-ups of the Zynq. For this I have to change the firmware which controls the PUDC pin of the Zynq. I emailed Trenz a while ago and asked for a new firmware and got a *.jed file which should do the job. However, I'm not able to bring this into the CPLD, regardless of what I'm doing I always get an error "Failed to verify the ID (Expected 0x012BA043, Read: ....)
What I did so far:
- Set the DIP-switches: S2-2 is set to OFF, S2-3 is set to ON
- I connected the USB cable and started Lattice Diamond Programmer. When I carry out a JTAG scan I get the screenshot in the attachment. The program finds two "Generic JTAG Devices". I guess this is the two CPLDs (one on the TE0720, one on the TE0703)?
- I manually set the Devices to the ones used on the boards: MachOX2, LCMXO2-1200HC
- I used FLASH Read and Save for both of them (I didn't want to program since I don't know which of the devices is the correct one). Earlier I also tried to program one of the devices with the content of the .jed file. The problem is always the same (wrong device ID).
Any ideas of what I'm doing wrong? Any help would be appreciated.
(As a side question: Why are the pull-ups activated by default? Does this have some idea behind it? I ask this question since I keep finding this problem with many digital ICs/microcontrollers/LVDS-drivers where the "idle state" seems to be "high". It's extremely annoying for me since I usually do power converters where these signals are the gate signals for some power MOSFETs. If you want to reprogram your converter while your DC-link is still charged and your gate signals go all high you end up with fireworks.)