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

AS Configuration Problem with EP3C25E144

Altera_Forum
Honored Contributor II
2,147 Views

Hello ! 

i have designed circuit in EP3C25E144 TQFP FPGA. I am using both configuration scheme i.e JTAG and AS for EPCS64. 

 

Using the same connection schemes as mentioned in Altera Cyclon III configuration schemes. 

MSEL[0..2]= 010 for AS 3.3 Standards Connect MSEL1 with 3.3V. 

 

Programmmed is done sucessfully with JTAG but same program is not downloaded in serial device. 

 

Quartus II shows no programming error but device seems dead. I probe the memory signals on the Oscilloscope and found one observation that the device cannt go in user mode after the configuration.The data still communicate with FPGA after configuration. 

 

Please provide the above remedy for this problem. 

 

Regards, 

Mohsin Hayat
0 Kudos
15 Replies
Altera_Forum
Honored Contributor II
1,064 Views

How are you programming your EPCS64? Does it have it's own programming header? What file are you using to program it? 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Is the EPCS64 programmed (you state "same program is not downloaded in Serial device)?  

As the programmer forces the change of programming file to the *.pof one when switching between JTAG and Active Serial, this change must be done automatically (you cannot download *.sof to EPCS). Maybe you've set the Option which EPCS to use in QII falsely as IIRC the EP3C25 can be used with the EPCS16 or even the EPCS4, which would be chosen by QII if the device is set to "Auto" in Assignments => Device => Device and Pin Options => Configuration..
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Yes Sir, 

First i change the .sof to .pof and then download.Using the option from File Menu --> Change Programming File...But problem still
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Yes i m using seperate Header for JTAG AND AS....

0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

have you checked the EPCS type used on Hardware is same as assigned in QII to ensure the programming file matches the HW? have you chosen the option to generate a compressed programming file - maybe it's worth to start with a non - compressed one 

(there was a QII version generating fautly *.pof when compressed option is active, but I think this was round about QII ver.11.x to 12.x but not 13.1 sp1)
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Yes i have checked the EPCS Device on HW and also set the option in Configuration.I am using QII version 11.0 32bit.I am using the compressed bitstream option.

0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Try programming the EPCS via JTAG using a .jic file. 

 

Follow the instructions in app note 370 (http://www.altera.co.uk/literature/an/an370.pdf), see page 6 "generating .jic and .jam programming files in the quartus ii software". 

 

Once generated, connect to your target via your JTAG connector. Load the .jic file into the QUartus programmer and see if it'll program the EPCS that way. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

oK I WILL TRY AND LET U INFORM.

0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

iAM FACING PROBLEM IN GENERATING .JIC FILE. IN THE INPUT FILE DIALOG BOX, ITS ONLY SHOWS OPTIONS OF *.COF FILE. bUT I AM LOOKING FOR *.SOF FILE. PLEASE HELP

0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

don't click on the 'Open Conversion Setup Data...' button. Follow the instructions I sent you. 

 

1) Set the 'Programming file type:' to 'JTAG Indirect Configuration (.jic)' 

2) Select your 'Configuration device:' - EPCS4/16/64 

3) Chose an output file '*.jic' (or leave it as output_file.jic) 

4) Under Input file to convert, click on Flash Loader and then the 'Add Device...' button. Chose your FPGA (Cyclone III, EP3C25). Click OK. 

5) Click on 'SOF Data' and then the 'Add File...' button. Chose your .sof. Click OK. 

6) Click 'Generate'. 

 

Load the resulting .jic into the programmer and you're off. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Thank you so much..Its work from JTAG. its means we can use only single header for both JTAG and AS. 

Tell me one thing sir that in this case MESL pins are bypassed? 

And i m still confused that why its not programming with AS Mode?
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

Good, I'm glad it's working. Yes, you can do away with the AS programming header. I haven't bothered putting an AS header on a board for a long time. 

 

JTAG will always work, regardless of the setting on the MSEL pins - in a sense they are bypassed. However, for the FPGA to boot from the EPCS the MSEL pins must be correctly set for AS mode. 

 

As to why your AS programming header doesn't work - I can only presume a design or build fault. The FPGA & EPCS are clearly connected up correctly. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

i will send he design files.please analyse them. 

i used MSEL selection of 010 in my design for AS fast Standard configuration.
0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

It is recommended to pull the nCE pin of the FPGA to ground with 10k resister at AS mode, but connect to ground directly at some other mode. Please try this!

0 Kudos
Altera_Forum
Honored Contributor II
1,064 Views

 

--- Quote Start ---  

... 

JTAG will always work, regardless of the setting on the MSEL pins - in a sense they are bypassed. However, for the FPGA to boot from the EPCS the MSEL pins must be correctly set for AS mode. 

... 

 

--- Quote End ---  

 

 

Well - there was a thread some time ago dealing with a false MSEL-Pins configuration (one of the not assigned combinations) and the Cyclone did not work on JTAG as well. Modification of the board manually resolved this, thus the failure was not due to faulty PCB or device... 

I think the MSEL configuration (e.g. AS - mode) must be bypassed internally when accessing by JTAG, but I would not be sure that JTAG is working for any configuration of the MSEL Pins at all..
0 Kudos
Reply