Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by slacker+dec 4 2006, 03:02 pm--><div class='quotetop'>quote (slacker @ dec 4 2006, 03:02 pm)</div>
--- quote start ---
the flash programmer doesn't program/configure the fpga. to do so (if you think about it), would be rather difficult, if not impossible.[/b]
--- quote end ---
that makes sense. i missed it the first time through, but it's stated clearly in the users guide:
<!--quotebegin-nios ii flash programmer user guide the target design must be running on the fpga before you can run the
nios ii flash programmer on the host. --- Quote End --- <div class='quotetop'>QUOTE </div> --- Quote Start --- if you can't use the QII programmer, you're not going to be able to use the flash programmer. There is a nios2-configure-sof command, but it is just a thin wrapper around the QII programmer.[/b] --- Quote End --- Bingo -- that's the program I was looking for. I'm going to try to get that running. <div class='quotetop'>QUOTE </div> --- Quote Start --- You should, however, be able to install a subset of Quartus II only for programming the device.... ("basically" the jtag-related DLLs or SOs from a QII installation).[/b] --- Quote End --- I do have the jtag stuff and can run the nios2 gdb proxy. <div class='quotetop'>QUOTE </div> --- Quote Start --- If you've used the flash programmer (at all), you already have this subset. Try typing "jtagconfig -n", when connected to a board with a configured FPGA and you should see some useful information.[/b] --- Quote End --- Here's what I get:
$ ./jtagconfig --enum
1) USB-Blaster
020B30DD EP2C20
020A10DD EPM240The first is the Cyclone-II part (which is the one I'm concerned with), the second is a Max-II part that's not relevent to this thread). If I can coax nios2-configure-sof to work, then I should be all set and won't have to have my board towed into the shop every time I manage to accidentally muck up the flash contents.