Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by sglow@Dec 19 2006, 04:30 PM i'm just getting started with my new nios ii developer's kit (cyclone ii edition). i'm trying to program a trivial design into the board just to make sure that i can download correctly.
the design is about as simple as it gets; i'm using two switchs as inputs, and output the and of those two inputs to an led.
i compile and download with no obvious problems, but immediately after the download the system resets into the default factory configuration (flashing leds, etc).
the question is; how can i download a design directly to the fpga without the factory design being reloaded immediately after the download finishes?
thanks,
steve
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=20123)
--- quote end ---
--- Quote End --- Not sure why your board would reset. Perhaps you have invalid pin assignments to your output LEDs? Have you loaded an existing quartus project file that assigns the pins according the the specifics of your dev kit? I am assuming you are using JTAG to download. For my system it just downloads and starts working. If you are talking about powering up and having your configuration run, you will need to program your board in AS mode to write the data into the EPCS chip. This requires converting the .SOF file to a .POF file under the FILE->Convert programming files of the quartus menu, and setting the correct EPCS chip in the configuration device box. On my board I have a RUN/PROG switch. RUN=JTAG download, power up from EPCS. PROG = AS Mode programming. Then use the quartus programmer to program in AS mode and select the file you created. Upon power-up, your device will be programmed with your program now instead of the factory default. (Reset your Run/Program switch back to run before repowering.) Don't know if this helps as this is pretty basic information, but it looks like you are really starting from scratch. I suggest reading until you are blue in the face, and going through all tutorials first before you try your own "simple" test. It all eventually becomes clear, although it seems you have done nothing for days. I just started myself about a month ago. Hope this helps. Nails.