Community
cancel
Showing results for 
Search instead for 
Did you mean: 
ScottShin
New Contributor I
254 Views

modification Qsys

Jump to solution

Hi everyone

I'm working on a Terasic balance_car project in the DE10-NANO board by using Nios2.first of all, I using the BAL_CAR_Nios_Code project's demo code of Terasic, also add the EPCS Flash controller's IP in Qsys, it programs in EPCS64 and works successfully. Then I want to add PIO IP in Qsys, but it works not correctly, even my original function.

Below is my step:

1.add PIO IP in QSYS (set five input)

2. click system>>assign base address

3.ctrl+s(save QSYS), and generate HDL

4.click close

The steps in QSYS

 螢幕擷取畫面 2020-12-30 103120.png

----------------------------------------------------

1.add  export name in main code.

2.compilar(the pin was set already ).

The steps in Quartus

 

螢幕擷取畫面 2020-12-30 103710.png

螢幕擷取畫面 2020-12-30 103641.png

connect  

螢幕擷取畫面 2020-12-30 104624.png

-------------------------------------------------

1. In bsp folder: ''NIOS2">>"generate BSP" ->"clean project"-> Build project 

2.In main.cpp folder: "NIOS2">>"Editor BSP" -> Build project 

The steps in Eclipse

--------------------------------------

Finally, I combine .sof and .elf to .jic, and program on EPCS64, but this step already check is correct by trying another project.

Hope anyone can find a mistake in my step.

Thank's for anyone to give me advice.

attach Terasic's demo project.

0 Kudos

Accepted Solutions
ScottShin
New Contributor I
149 Views

Finally, I fixed the problem by delete all data in the Eclipse IDE workspace and create a new project again.

I figure the matter is my .sof version doesn't match .elf, so rebuild it can fix it.

View solution in original post

4 Replies
BoonBengT_Intel
Employee
178 Views

Hi @ScottShin,

Thank you for posting in Intel community forum, hope this message find you well and apologies for the delayed in response.
To help us understand the situation better, can you please let us know what is the mention not working correctly behavior stated?

Warm regards.
BB

ScottShin
New Contributor I
174 Views

It means the demo board doesn't do anything after I program the project.

I expected to control my balance car can stand and follow the line.

I think my probably doing the wrong step that program to EPSC64.

ScottShin
New Contributor I
160 Views

This was my question that about the program to EPCS64  by .jic.

Hope it can help.

https://community.intel.com/t5/Programmable-Devices/generate-jic-file-from-sof-and-elf/m-p/1222046#M...

ScottShin
New Contributor I
150 Views

Finally, I fixed the problem by delete all data in the Eclipse IDE workspace and create a new project again.

I figure the matter is my .sof version doesn't match .elf, so rebuild it can fix it.

View solution in original post