- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to download the u-boot.bin file that I created using debian linux with gnu cross-compiler for uclinux.
I am using nios-II command line utility program that comes with altera NIOS-II IDE ...which I downloaded from their website. After running this command " bin2flash --input=u-boot.bin --output=u-boot.flash --base=0x00000000 --flash=U5 --location=0x0 I got a file "u-boot.flash" when I was trying to run "nios2-flash-programmer --base=0x00000000 --input=u-boot.flash --sof=standard.sof --verbose NOTE:---- The "standard.sof" file came with altera's software for "niosII_stratix_1s40" board. I got an error....which is copied below: *********************************************************************** Errors *********************************************************************** Aug 2, 2005 9:53:16 PM - (FINE) nios2-flash-programmer: nios2-flash-programmer starting Aug 2, 2005 9:53:16 PM - (INFO) nios2-flash-programmer: args = --base=0x00000000 --input=u-boot.flash --sof=standard.sof --verbose Aug 2, 2005 9:53:16 PM - (INFO) nios2-flash-programmer: Attempting to read input-data from u-boot.flash Aug 2, 2005 9:53:17 PM - (INFO) nios2-flash-programmer: Launching Quartus Programmer to download:standard.sof Aug 2, 2005 9:53:17 PM - (FINE) nios2-flash-programmer: Quartus Pgm launched Info: ******************************************************************* Info: Running Quartus II Programmer Info: Command: quartus_pgm --no_banner --mode=jtag --operation=p;standard.sof Info: Using programming cable "ByteBlasterII [LPT1]" Info: Started Programmer operation at Tue Aug 02 21:53:23 2005 Info: Configuring device index 1 Info: Device 1 contains JTAG ID code 0x020050DD Info: Configuration succeeded -- 1 device(s) configured Info: Successfully performed operation(s) Info: Ended Programmer operation at Tue Aug 02 21:54:06 2005 Info: Quartus II Programmer was successful. 0 errors, 0 warnings Info: Processing ended: Tue Aug 02 21:54:06 2005 Info: Elapsed time: 00:00:47 Aug 2, 2005 9:54:06 PM - (FINE) nios2-flash-programmer: SOF programming done. ex it code = 0x0000 Connecting with target design Attempting to resynch with target Send (64) failed. Unable to synchronize with target. Aug 2, 2005 9:54:26 PM - (SEVERE) nios2-flash-programmer: Error opening target hardware Aug 2, 2005 9:54:26 PM - (SEVERE) nios2-flash-programmer: In order to program flash, you must first create a purpose-built flash-programming design (i.e. FPGA configuration) and associate it with your particular board. The Nios development kit is delivered with purpose-bui lt flash-programming designs pre-built for several development boards. If you wi sh to program flash on your own board, you must first create a flash-programming *************************************************************** End **************************************************************** Anyone has an idea what's going on.??Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi haq,
<div class='quotetop'>QUOTE </div> --- Quote Start --- when I was trying to run "nios2-flash-programmer --base=0x00000000 --input=u-boot.flash --sof=standard.sof --verbose NOTE:---- The "standard.sof" file came with altera's software for "niosII_stratix_1s40" board.[/b] --- Quote End --- I believe the standard.sof file is just a II/s example design -- not a flash programmer design. Try using the the file altera_nios_dev_board_stratix_1s40.sof from the directory altera/kits/nios2/components/altera_nios_dev_board_stratix_1s40/system I'm assuming you're using the 1s40 development kit of course ;-) Regards, --Scott- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi scott,
i want to flash a EP1S25 board. Any idea where i can start to write the programming file because there isnt any support for this on NIOSII IDE. Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think you are looking for mk_target_board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Toysoldier,
Markus is correct, you need to use mk_target_board You should read Chapter 2 in "Nios II Flash Programmer User Guide" -- it is a very useful doc :-) http://www.altera.com/literature/ug/ug_nio..._programmer.pdf (http://www.altera.com/literature/ug/ug_nios2_flash_programmer.pdf) Regards, --Scott
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page