Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12367 Discussions

Loading both ARM and NIOSII programs on CycloneV.

SObet
Beginner
1,485 Views

Is it possible to load two programs at once onto FPGA? (first one compiled for ARM and second one compiled for NIOSII)?

 

What i already can do:

  • create NIOSII / ARM project in Intel FPGA Monitor program
  • compile the project
  • load it and run it on the FPGA

 

What i want to do:

  • load and run both compiled programs on the FPGA at once

 

Note: Loading the programs does not have to strictly be done via FPGA Monitor program

0 Kudos
3 Replies
Ahmed_H_Intel1
Employee
101 Views

Hi,

Do you mean programming every thing at once? You must program the FPGA first with your system including the HPS IP that communicates with the ARM processor, this sets the FPGA fabric to work as an FPGA-SoC system after that you can follow this link to create preloader and UBoot to initialize the LINUX environment after that the LINUX (Zimage) can start.

https://rocketboards.org/foswiki/Documentation/A10GSRD1501CBBootloader

Regrads.

Abe
Valued Contributor II
101 Views

Well, you can use both the NIOS2 as well as ARM in a single application, but the following points will have to be taken into consideration:

 

  1. The OS will boot from only one processor either the HPS or the NIOS2. Most likely it will be the HPS.
  2. In the SW you will have to manually take out the 2nd core/processor out of reset during / after the boot process and then run the bare-metal app on it.
  3. Make sure you partition the required memory correctly is using shared memory concept. If using DDR for HPS and on-chip RAM for NIOS2 then it should be okay.
SObet
Beginner
101 Views

thanks guys

Reply