Forum Discussion

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

Programming Fail De0 board

Could anyone provide me some insight into why this continues to happen?

I setup a block diagram file with this logic: AB'CD'+A'BCD. I have four inputs mapped to the correct pins for the first 4 switches on the board, and my output mapped to J1, the first LED on the board. I ran a successful simulation, and the output waveform is correct for the logic. I have the correct board selected, successfully compiled, and have USB Blaster installed. However, as soon as I press Start (to program the board), the process fails.

I do have the board switched to Prog mode.

I have a Timing warning shows up in red: All of my input ports and output ports are "unconstrained". Does this need to be corrected, even though I successfully compiled?

https://alteraforum.com/forum/attachment.php?attachmentid=13926&stc=1

Thanks in advance, FPGA noob

19 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Update: This is driving me nuts. Usually I can figure out this sort of thing, but every project I try fails to program. Anyone have any other advice for me on this?

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Try your board on another system that has Quartus tools installed and is know to be working in programming some other board(s).

    Try another known-good Altera FPGA board on your Quartus install to see if you can get it to program.

    It may very well be you have either a bad FPGA board or a corrupted Quartus install.

    BTW you have never indicated which version of the Quartus tools you are trying to use, or what FPGA device/board you are using.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sounds like a good idea. Is there another programming software I could use? I've thought about using Xilinx.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I'm using a free version of Quartus Web Edition 13.1 and the board is a terasIC DE0 development board with a Cyclone III. The chip number is EP3C16F484C6.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Sounds like a good idea. Is there another programming software I could use? I've thought about using Xilinx.

    --- Quote End ---

    Xilinx software for Altera, nope, will not work. Lots of reasons why.

    By 'another programming' I meant a Quartus install on another PC that is known to be working.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    I'm using a free version of Quartus Web Edition 13.1 and the board is a terasIC DE0 development board with a Cyclone III. The chip number is EP3C16F484C6.

    --- Quote End ---

    Ok, that should probably work. I assume when you launch the Quartus programmer that it can detect the USB-Blaster hardware?

    If so, then when you ask it to autodetect the devices, the correct one shows up (detected by scanning the JTAG ID)?

    Can you then do an erase / blank check on the device, and have it pass?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Ok, that should probably work. I assume when you launch the Quartus programmer that it can detect the USB-Blaster hardware?

    If so, then when you ask it to autodetect the devices, the correct one shows up (detected by scanning the JTAG ID)?

    Can you then do an erase / blank check on the device, and have it pass?

    --- Quote End ---

    It does detect USB Blaster hardware and it shows the JTAG ID.

    I installed Quartus on another PC. I made the exact same block diagram and had the same issue.

    BUT!

    I did get error codes when trying to program:

    209014 CONF_DONE pin failed to go high in device 1

    and 209012 Operation failed
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    :oops:

    WELL....I Feel stupid.

    Thank you for the help on this AK6DN and sstrell

    I found a similar post which stated that this board is supposed to be switched to RUN when programming with JTAG. Kind of counter-intuitive, I think.

    I reviewed the manual, and it does say that, but it also says that this board can be programmed with Active Serial, but that method doesn't list my board.

    In any case, I got it working before my next class.:cool: