Forum Discussion
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 noob19 Replies
- Altera_Forum
Honored Contributor
It would help if you posted your code and the timing warning you see.
- Altera_Forum
Honored Contributor
In the programmer do you go into Hardware Setup (button at top left) and select the USB Blaster? You have to manually make this selection. It does not happen automatically even though the USB Blaster is plugged in. At least that's always been my experience.
- Altera_Forum
Honored Contributor
I don't have code for this, just a block diagram.And I did select USB Blaster on the programmer.
- Altera_Forum
Honored Contributor
--- Quote Start --- 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? --- Quote End --- Won't matter for this design, you can safely ignore the warning. It comes because you did not define any timing constraints on any of the I/Os, so Quartus is warning you of that. It will go ahead anyway and map the logic to the device, but it won't try very hard to improve the timing, since you provided no constraints. Most likely it is way faster than what you can do with your manual switches anyway. - Altera_Forum
Honored Contributor
--- Quote Start --- Won't matter for this design, you can safely ignore the warning. It comes because you did not define any timing constraints on any of the I/Os, so Quartus is warning you of that. It will go ahead anyway and map the logic to the device, but it won't try very hard to improve the timing, since you provided no constraints. Most likely it is way faster than what you can do with your manual switches anyway. --- Quote End --- Thanks for the feedback. I still can't get a successful flash. The board does flash a light when it starts to program, then it immediately fails. I thought maybe it was the missing the constraints file for the board, but I added that and it didn't correct the problem. Any advice for getting the board to program? - Altera_Forum
Honored Contributor
Stupid question: you've selected the .sof file generated by Quartus as the file to use to program the board?
There also may be error messages indicating why the programming failed. You might have scroll the Messages window a little in the main Quartus window to see them. - Altera_Forum
Honored Contributor
--- Quote Start --- Stupid question: you've selected the .sof file generated by Quartus as the file to use to program the board? There also may be error messages indicating why the programming failed. You might have scroll the Messages window a little in the main Quartus window to see them. --- Quote End --- Yes, I selected the .sof file and checked the "Program/Configure" box. I just created a new project, just two inputs to an AND gate, one output, pins correspond to switches and LED. Still fails to program. The messages I get are:https://alteraforum.com/forum/attachment.php?attachmentid=13927&stc=1 - Altera_Forum
Honored Contributor
No I mean there should be messages about the failure to program when you click the Start button in the Programmer. They're usually red error messages if the Programmer was not able to complete the programming.
- Altera_Forum
Honored Contributor
--- Quote Start --- No I mean there should be messages about the failure to program when you click the Start button in the Programmer. They're usually red error messages if the Programmer was not able to complete the programming. --- Quote End --- I didn't see any error messages at all in the programmer. Just ran it again to double check. Is USB Blaster is the correct driver or should I use USB Blaster II? - Altera_Forum
Honored Contributor
Not in the Programmer. In the main Quartus window.