Altera_Forum
Honored Contributor
10 years agoprogram/erase MAX II with TDO disabled?
I think I messed up and bricked my board, but I'm open to ideas. Here's the scenario:
My board uses the EPM240 in the 100-pin micro BGA package. There are no other JTAG devices in the chain, so the JTAG signals go to a 10-pin connector to mate to a USB Blaster. To make PCB layout easier, the TDO pin is routed through an unused (tri-stated) GPIO pin. Everything was working well, I could program and operate the device without any problems. At one point in the debugging cycle, I decided to use the GPIO pin connected to the TDO pin to bring out a signal for testing (easy access via the JTAG connector for a scope probe.) That also worked, except now I can't get the USB Blaster to recognize the device, presumably because the TDO line is driven low by the GPIO pin. I have the DEV_CLRn pin set up for a device-wide reset, so I tried holding it low while powering up, but that didn't work. I suspect this also holds the JTAG pins in reset, defeating the ability to communicate. I don't have the DEV_OE pin enabled for device-wide operation, and probably couldn't get to that pin even if I did. I think that if I can get the current program out of there, I would once again have normal operation of the TDO line. Is there any way to erase or reprogram the device without the functionality of the TDO pin? Can this be done with a USB blaster, or would I have to use another JTAG programmer? Please don't tell me I just turned my CPLD into an OTP device...