Forum Discussion
about the CONF_DONE in the PS configuration
Dear all, I am trying to configure the Cyclone III device using the Passive Serial mode. In the very beginning, I draw the nCONFIG low, and subsequently the Cyclone III draw the nSTATUS low....the question is: why CONF_DONE is always low from the very beginning? As to the configuration handbook, there should be a high-to-low transition for the CONF_DONE... why?
In addition, there is said to be a low-to-high transition for the CONF_DONE in the end of the configuration, I just want to know, how does the Cyclone device know the configuration is done ? PS. MSEL is 0000, and the clock is 1M, and the file format is .hex. Thanks !37 Replies
- Altera_Forum
Honored Contributor
I have even tried padding the end of the transmission with extra clock cycles 8,16,32,64... and still never see CONF_DONE go high.
I did look at this document yesterday... All of my timing looks within spec on the scope output. I just never get CONF_DONE... - Altera_Forum
Honored Contributor
Do you have JTAG connected on the board? If so, try configuring the FPGA with JTAG to confirm it is possible.
This will eliminate an issue with say nCE not being asserted low, or the MSEL pins being incorrect. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- Is there a specific way Quartus should be setup to build a PS serial file for loading like this? --- Quote End --- I don't think so. The doc I linked to has the methods I used to generate the images I needed in Appendix A. There was no special step required. Cheers, Dave - Altera_Forum
Honored Contributor
The board currently is being used by the team with the EPCS4 prom loading the FPGA at startup. My board has been modified to move to loading it with the MPC8309. So we have been able to program it, but to reduce board cost we are moving the the micro loading it and removing the EPCS4. I am seeing if we still have JTAG access to try this method.
- Altera_Forum
Honored Contributor
--- Quote Start --- The board currently is being used by the team with the EPCS4 prom loading the FPGA at startup. --- Quote End --- Ok, that is good to know. --- Quote Start --- My board has been modified to move to loading it with the MPC8309. So we have been able to program it, but to reduce board cost we are moving the the micro loading it and removing the EPCS4. I am seeing if we still have JTAG access to try this method. --- Quote End --- You could also replace the EPCS4 with a lower-cost part. These parts are rebranded Numonyx (Micron) devices. Spansion devices also work. Regardless of that fact, there should be no reason you cannot PS program the part. Check your MSEL settings, eg., check any logic high levels are pulled up to the correct voltage (I think its VCCA). Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- Regardless of that fact, there should be no reason you cannot PS program the part. Check your MSEL settings, eg., check any logic high levels are pulled up to the correct voltage (I think its VCCA). --- Quote End --- I think I may have solved your problem ... you're not going to believe this (or that I remembered seeing this line of code) ... Download the Altera JRunner software, unzip it, open jrunner.c and you'll find this at line 878
Subtle, eh! Cheers, Dave/*Ignore first 44 bytes in the rbf file for Cyclone device*/ - Altera_Forum
Honored Contributor
With the modifications, MSEL0 - pulled up to VCCA, MSEL1 & MSEL2 pulled down. The documentation I have says MSEL 0 to VCC and mSEL1 to GND. doesn't mention MSEL2.
- Altera_Forum
Honored Contributor
--- Quote Start --- I think I may have solved your problem ... you're not going to believe this (or that I remembered seeing this line of code) ... Download the Altera JRunner software, unzip it, open jrunner.c and you'll find this at line 878
Subtle, eh! Cheers, Dave --- Quote End --- Still not getting the CONF_DONE.../*Ignore first 44 bytes in the rbf file for Cyclone device*/ - Altera_Forum
Honored Contributor
--- Quote Start --- Still not getting the CONF_DONE... --- Quote End --- Darn ... Compare the bytes in the .rbf file with those in the EPCS image (.rpd file). How similar are they? Cheers, Dave - Altera_Forum
Honored Contributor
just found a that there are two different documents for this that tell me two different setting for MSEL