Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Total noob question on programming jic into de0-nano

I'm a complete and utter n00b to FPGA programming and the Quartus suite in general.

I thought I'd try getting my hands dirty on some of the basics; sending existing programs to the device. And, hey, the "System CD" comes with some nice examples!

I'm running 13.1 on Ubuntu 12.04LTS. The software installed, no problem. A bit of searching and I configured jtagd, and I can see the device properly using jtagconfig. So far so good!

I can also send an SOF to the device and it runs from RAM nicely:

  /altera/13.0sp1/quartus/bin/quartus_pgm -m jtag -o 'p;DE0_NANO_G_Sensor.sof'  /altera/13.0sp1/quartus/bin/quartus_cpf -c -d EPCS16 -s EP4CE22 DE0_NANO_G_Sensor.sof foo.jic
  quartus_pgm -m jtag -o 'bpvi;foo.jic'

And now it all goes wrong...


  Info (213045): Using programming cable "USB-Blaster "
  Info (213011): Using programming file output_file.jic with checksum 0x151558FA for device EP4CE22@1
  Info (209060): Started Programmer operation at Tue Sep 10 23:42:21 2013
  Info (209016): Configuring device index 1
  Info (209017): Device 1 contains JTAG ID code 0x020F30DD
  Info (209007): Configuration succeeded -- 1 device(s) configured
  Info (209018): Device 1 silicon ID is 0x16
  Info (209044): Erasing ASP configuration device(s)
  Info (209019): Blank-checking device(s)
  Error (209026): Blank-Check failed on device 1
  Error (209012): Operation failed

If I don't specify "b" then I can sometimes (but not 100%) program it.

Similarly with the DE0_NANO_default/output_file.jic file that came on the CD,

I also get the blank error if I try to use the GUI "programmer" interface.

Am I doing something stupid? Any guidance much appreciated.

Thanks!
No RepliesBe the first to reply