Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21325 Discussions

Programming CPLD second time

Altera_Forum
Honored Contributor II
1,041 Views

Hello everybody, 

 

My test guys are having a problem programming our CPLD's, but only on the second time around when the CPLD already has a POF loaded. 

 

This would indicate to me that the CPLD has an issue with too much power  

draw on the second programming attempt since the device is drawing power due to toggling flops and such or ? 

 

My idea was to use the DEV_OE pin to keep the CPLD quiet during programming, or are there other tricks here we can use ? 

 

Thanks in advance for the help, 

Eric
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
271 Views

 

--- Quote Start ---  

 

This would indicate to me that the CPLD has an issue with too much power  

draw on the second programming attempt since the device is drawing power due to toggling flops and such or ? 

 

--- Quote End ---  

That sounds like a pretty random guess to me :) 

 

 

--- Quote Start ---  

 

My idea was to use the DEV_OE pin to keep the CPLD quiet during programming, or are there other tricks here we can use ? 

 

--- Quote End ---  

You need to attack the problem systematically. 

 

Lets start with your above hypothesis. Too much power. Ok, create a configuration that requires almost no power, eg., it blinks an LED. Download that configuration. Does the second configuration fail? 

 

Its more likely that you have either; a power issue (voltage regulation), a clock issue, or JTAG signal integrity issues. 

 

What CPLD are you using? 

 

Cheers, 

Dave
0 Kudos
Altera_Forum
Honored Contributor II
271 Views

DEV_OE functionaility has to be enabled in the CPLD code, you should know if it has any effect in your case. Stopping the input clock would be the most promising method to suppress possible interferences, 

 

I generally agree about the random guess. By the way, an effective method to lock up further JTAG programming would be to disable the JTAG interface in the design.
0 Kudos
Reply