modification Qsys
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
------------------------------
1.add export name in main code.
2.compilar(the pin was set already ).
The steps in Quartus
connect
------------------------------
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.
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.