Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems

modification Qsys

ScottShin
New Contributor I
1,051 Views

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
1 Solution
ScottShin
New Contributor I
945 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

0 Kudos
4 Replies
BoonBengT_Intel
Moderator
975 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

0 Kudos
ScottShin
New Contributor I
971 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.

0 Kudos
ScottShin
New Contributor I
957 Views
0 Kudos
ScottShin
New Contributor I
946 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.

0 Kudos
Reply