Forum Discussion
Altera_Forum
Honored Contributor
15 years agoNios II problem in programming
Hi,
I want to load a program in the Nios II processor of cyclonII by ByteBlasterMV programmer. I encountered with an error that it means:I can not use a ByteBlaster programmer and I should use a USB-Blaster programmer. How to use a ByteBlaster programmer to load my program in the Nios II processor? Best Regards,7 Replies
- Altera_Forum
Honored Contributor
Hi all,
I can understand my mistake. It did not relate to my programmer. Its reason was false address map between sopc builder system and Nios II. many thanks for your assistance - Altera_Forum
Honored Contributor
hi,
I think my .elf file is ok. how to sure my BSP/syslib is set up to use communication device? can you guide me obviously? I am begginer to Nios IDE. I buy a usb-blaster Rev.A for removing this warning but can not solve it. Best Regards - Altera_Forum
Honored Contributor
The Nios II Command Shell gives you access to all the command line tools that the Eclipse tools use when compiling, downloading, opening terminals, etc... The various tools available on the command line are documented in the Nios II software handbook. This assumes you are using Windows, if you are on Linux then you just run the command line tools from a terminal.
The .elf file is the executable you compiled. When you download your code to the FPGA it's the .elf file that gets sent to the target. - Altera_Forum
Honored Contributor
hi,
excuse me, I can not understand your opinion. what is command line tools? what is elf file? can you describe your opinion? if exist any document that solve my problem, please guide me. Best Regards. - Altera_Forum
Honored Contributor
Make sure your BSP/syslib is setup to use the communication device you are using (JTAG UART or UART). If that's already setup correctly try using the command line tools.
To download and open a terminal from the command line navigate to the directory with your elf file and run: nios2-download -r -g <elf file name>; nios2-terminal If that doesn't work type this into the command line tools and post what is returned in a reply: jtagconfig -n - Altera_Forum
Honored Contributor
hi,
version of my quartus II and my Nios II is 7.2. yes, it is a warning and it appeared as follows: warning: the JTAG cable you are using is not supported for Nios II systems. you may experience intermittent JTAG communication failures with this cable. please use USB revision B cable or another supported cable. please refer to the file errata.txt include in the Nios II dvelopment kit documents directory fopr more information. connected to hardware target using JTAG UART on cable '' ByteBlasterMV [LPT1]'' , device 1, instance 0 (USE the IDE stop button or Ctrl-C to terminate) after this warning did not occure any thing. In a document of the altera website, I studied that for programming of Nios II, we should use USB-Blaster programmer. now, how to use my ByteBlaster programmer? Best Regards, - Altera_Forum
Honored Contributor
I have a ByteBlaster. II and I encountered a red text in the NIOS IDE Console which looks like yours but it is not an error. I can continue. It is just a warning.
Which version of Quartus do you use ? 64 bits ? maybe newer versions doesn't support.