- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am getting started with NIOS V soft IP, looking for example designs.
I have downloaded nios v helloworld example design, I am going to try out on hardware with ready to test files.
1. I have a doubt in the above design, what is ram.hex file which is loaded onto OCM? What's its significance? If I am buildong the design from scratch where do I get the hex file?
Also, sof I understand I can program through JTAG, how do I load elf file to board? Document read me says load the elf file onto the board, what does it mean really? What exactly elf consists of, why is it needed?
2. Is Ashling tool a must to develop/run the software/application?
3. What's significance of JTAG uart peripheral in the hello world design?
Could you give insights on how the design works, how we are able to print hello world in terminal?
3. Could you pls provide or point me to the blink an led example using Nios V.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Please find my answers:
1. I have a doubt in the above design, what is ram.hex file which is loaded onto OCM? What's its significance? If I am buildong the design from scratch where do I get the hex file?
Also, sof I understand I can program through JTAG, how do I load elf file to board? Document read me says load the elf file onto the board, what does it mean really? What exactly elf consists of, why is it needed?
The hex files is generated from the IDE when u compiled the project.
You will need to regenerate the project once u got the hex file by initiating the initial values from the OCM by adding the hex file to the OCM IP.
This method is running the NiosV in place in the OCM.
2. Is Ashling tool a must to develop/run the software/application?
You could develop and run the application using command line using as the guide below:
Ashling is just the IDE to help with the develpment. It will be easier to develop using the IDE instead of commandline.
More information on the tool could be found below:
3. What's significance of JTAG uart peripheral in the hello world design?
The JTAG Uart peripheral is just to output the debug prints from the NiosV application through the JTAG connection.
Could you give insights on how the design works, how we are able to print hello world in terminal?
It is possible to add output the printout to a physical UART terminal but in the examples it is directed through the JTAG using the JTAG UART Peripheral. You would can add in the UART core IP and map it to a physical pins and get the uart logs from there.
3. Could you pls provide or point me to the blink an led example using Nios V.
You could take a look at the link below:
Intel Agilex® 7 FPGA – Nios® V Processor PIO LED Toggle Design Example
Regards
Jingyang, Teh
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Please find my answers:
1. I have a doubt in the above design, what is ram.hex file which is loaded onto OCM? What's its significance? If I am buildong the design from scratch where do I get the hex file?
Also, sof I understand I can program through JTAG, how do I load elf file to board? Document read me says load the elf file onto the board, what does it mean really? What exactly elf consists of, why is it needed?
The hex files is generated from the IDE when u compiled the project.
You will need to regenerate the project once u got the hex file by initiating the initial values from the OCM by adding the hex file to the OCM IP.
This method is running the NiosV in place in the OCM.
2. Is Ashling tool a must to develop/run the software/application?
You could develop and run the application using command line using as the guide below:
Ashling is just the IDE to help with the develpment. It will be easier to develop using the IDE instead of commandline.
More information on the tool could be found below:
3. What's significance of JTAG uart peripheral in the hello world design?
The JTAG Uart peripheral is just to output the debug prints from the NiosV application through the JTAG connection.
Could you give insights on how the design works, how we are able to print hello world in terminal?
It is possible to add output the printout to a physical UART terminal but in the examples it is directed through the JTAG using the JTAG UART Peripheral. You would can add in the UART core IP and map it to a physical pins and get the uart logs from there.
3. Could you pls provide or point me to the blink an led example using Nios V.
You could take a look at the link below:
Intel Agilex® 7 FPGA – Nios® V Processor PIO LED Toggle Design Example
Regards
Jingyang, Teh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Since this thread been resolve, I shall set this thread to close pending. If you still need further assistance, you are welcome to reopen this thread within 20days or open a new thread, some one will be right with you. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
If you happened to close this thread you might receive a survey. If you think you would rank your support experience less than 4 out of 10, please allow me to correct it before closing or if the problem can’t be corrected, please let me know the cause so that I may improve your future service experience.
Regards
Jingyang, Teh

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page