Forum Discussion
15 Replies
- Altera_Forum
Honored Contributor
Hi,
NiosII IDE is integrated with a tool name: Flash Programmer. You can use it to download software or FPGA configuration file. The menu locates at: Tools->Flash Programmer FYI. regards, David - Altera_Forum
Honored Contributor
i know! but when i download the fpga configuration data to the flash it shows "The target board must define at least one hardware image to program an FPGA configuration."! what shall i do ?
thanks! with my regard! - Altera_Forum
Honored Contributor
Hi wbqyy,
Before using flash programmer, you should create a board description for your board so that Flash programmer can identify your Flash device. This function is discussed in QuartusII 5.0 handbook. As I know, NiosII 5.1 and QuartusII 5.1 will support this functionality without board description. Try it. FYI regards, David - Altera_Forum
Honored Contributor
my system could identify the flash ! I also could download the software data into the flash, only when i download the fpga configuration data to the flash, it shows " The target board must define at least one hardware image to program an FPGA configuration." what was wrong ??
with my regards! - Altera_Forum
Honored Contributor
Hi, wbqyy
Sorry I can't help more... I always use Altera's kits, so... I think this feature must be declared in QuartusII 5.1 hankbook... If you have any resolution, pls also let me know!:) Altera's chinese FAE tell me that NiosII 5.1 and QuartusII 5.1 will support this functionality without board description. Try it. regards, David - Altera_Forum
Honored Contributor
to download ur hardware fpga config code... u hav to use the e command to erase the hardware section (user portion of flash).. then use r command to relocate the stack pointer to the starting of the hardware section, then
nr -p <com port> XXX.hexout u will now prog ur fpga hardware config to ur hardawre section of the flash memory - Altera_Forum
Honored Contributor
i'm just guesing here ,
but try to hopen your target board design with sopc go to the : "more board system setting tab " check if in the :" board system setting " section , there should be at least one hw- image defined - Altera_Forum
Honored Contributor
I have the same exact problem with the new and improved flash programmer. You are supposed to be able to just create a board description and only need to designate the flash devices in the "Flash Memory" tab. After this, the programmer is supposed to work!! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif
Not only does the programmer NOT work, but once I made a board description, my SOPC system no longer compiles! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/mad.gif The Flash Programmer GUI gives the error message: " the target board must define at least one hardware image to program an fpga configuration." As for the post by Ilan - I don't have any tab anywhere called "more board system setting tab". I also tried doing everything from the SDK shell where I had some success programming - but the verify fails! - Altera_Forum
Honored Contributor
The option "more board system setting tab "
Is available only in the target board (this is not the design board) Read this doc about ug_nios2_flash_programmer.pdf - Altera_Forum
Honored Contributor
TO_BE_DONE