- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using QII v11.0 with Eclips only(Not installing lagancy) on my machine. My question is have you guys every try to download ELF/FLASH file using .BAT files?(i.e using command like "nios2-download") I have tried but its given an error that "nios2-download cmd not found" so any one have an idea about how we can create quick demo using such above command for downloading SOF/JIC/POF and ELF/FLASH files on hardware without runing STB(Eclipse project). Note:- If install legancy for NIOSII IDE then its work fine but i don't want to install it because i am using Eclipse SBT. Thank In Advance dgLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use NiosII command shell, then do there nios2-download -g file.elf.
Contents of NiosII command shell executable should be somewhere around here: X:\altera\10.1\nios2eds\Nios II Command Shell.bat- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recommend passing in the reset command as well. i.e. nios2-download -r -g <elf_file.elf>
If you want to open a terminal connection it is nios2-terminal. Both of these commands have cable options as well in case you have multiple programming cables. Use the --help to find out more about the syntax in those cases.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
On Windows 7 I use the following two commands in the command prompt:
<Quartus II Path>\bin\nios2-elf-objcopy <My Application Path>\<My Application name>.elf -O srec <My Application Path>\<My Application name>.srec
<Nios 2 EDS Path>\bin\nios2-gdb-server --cable="Usb-blaster " <My Application Path>\<My Application name>.srec --go
Thomas.
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