Author Topic: Help with Altera Cyclone III configuration problems.  (Read 3729 times)

0 Members and 1 Guest are viewing this topic.

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 274
Help with Altera Cyclone III configuration problems.
« on: April 04, 2015, 12:49:00 pm »
Hi,

I've tried to make a development board for the Cyclone III, most of it works as far as I can tell without the FPGA.

My problem is with the FPGA configuring after I have successfully downloaded the configuration file to the serial memory. Referencing this document:

https://www.altera.com/en_US/pdfs/literature/hb/cfg/cfg_cf51001.pdf

I can tell what stage the FPGA is in when powering up. Well nothing happens. The FPGA just sits there with NCONFIG at 1.5V, CONFIG_DONE at 0V and NSTATUS at 0V.

I think there may be something wrong with the FPGA as NCONFIG isn't at 0V, when I pull it low to reset the device and attempt to restart the configuration it drops a little to 1.2V.

I have gone over the pins and connection scheme and unfortunately haven't found any problems!

Attached is my schematic, it has some errors but I have made a rev1.1 schematic and changed those. One of those is the schematic says I'm using 1MB of memory when I'm using 16MB. I show rev1.0 as this is the revision of the board I'm working on.

Thanks for any help!
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: Help with Altera Cyclone III configuration problems.
« Reply #1 on: April 06, 2015, 09:00:59 pm »
NCE is pulled low by 10k. I think it has internal 10k pull-up. Pull that hard to GND with 0Ohm.
 

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 274
Re: Help with Altera Cyclone III configuration problems.
« Reply #2 on: April 07, 2015, 01:54:19 pm »
Thanks for your reply. It is pulled low in the schematic however I replaced the 10k with 0R and no change.

I decided to test whether the pad on the bottom had continuity to GND and it didn't so I fixed that and the FPGA configures from the memory however now Quartus Programmer does not recognise the memory when the pad is connected to GND. It works when I lift it.
 

Offline Scrts

  • Frequent Contributor
  • **
  • Posts: 797
  • Country: lt
Re: Help with Altera Cyclone III configuration problems.
« Reply #3 on: April 07, 2015, 02:52:01 pm »
Can you program the FPGA using JTAG? Does CONF_DONE go up then?
 

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 274
Re: Help with Altera Cyclone III configuration problems.
« Reply #4 on: April 08, 2015, 12:41:19 pm »
Unfortunately I didn't bring the JTAG out and I can't mod it. :(

Do you have any other ideas?

I haven't had time to look at it since I got it working a bit. I have time tonight and see if I can solve it.
 

Offline deephaven

  • Frequent Contributor
  • **
  • Posts: 796
  • Country: gb
  • Civilization is just one big bootstrap
    • Deephaven Ltd
Re: Help with Altera Cyclone III configuration problems.
« Reply #5 on: April 08, 2015, 12:51:40 pm »
Have you got MSEL 1, 2 and 3 set appropriately? See https://www.altera.com/en_US/pdfs/literature/hb/cyc3/cyc3_ciii51016.pdf

I have MSEL 2, 0 connected to 0v and MSEL 1 connected to Vdd.

 

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 274
Re: Help with Altera Cyclone III configuration problems.
« Reply #6 on: April 08, 2015, 07:56:01 pm »
Have you got MSEL 1, 2 and 3 set appropriately? See https://www.altera.com/en_US/pdfs/literature/hb/cyc3/cyc3_ciii51016.pdf

I have MSEL 2, 0 connected to 0v and MSEL 1 connected to Vdd.


Yes, that's how I've got them.

My problem is with nCE. When lifted Quartus downloads the data to the config device fine but the FPGA doesn't configure. If I then ground nCE, it configures and works but I can't download anything.


 

Offline BoscoeTopic starter

  • Frequent Contributor
  • **
  • Posts: 274
Re: Help with Altera Cyclone III configuration problems.
« Reply #7 on: April 08, 2015, 08:01:04 pm »
Okay I've got everything working now. It was because I shorted nCE to ground but in the app note it says to pull it to GND via 10k.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf