Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

EPCS with 2 FPGA + NIOS Code

Hi folk!

I see some usefull information in Topic Coverting/Combining SOF and ELF for EPCS.

But I want to do something more complex/undocumented.

I want two configure 2 Cyclones, one with a basic CPU (NIOS II).

I generated a fpga.pof file with both FPGA configuration (build from fpga1.sof and fpga2.sof) than I programed the flash (EPCS16) with it. After that I read back the flash to find the end of the data. I look the code components/altera_nios2/sdk/src/boot_loader_sources/boot_loader_epcs_bits.S.

than I found the offset where to put the .elf code ( I used elftoflash to convert it).

But that didn't work ?

I think I know why. I noticed that the offset produce by sof2flash is different from the one produce by the .pof generator.

If someone has already did that or can help me to figure out what I have to do, I will be very happy.

If I change the code (boot_loader_epcs_bits.S) to retrieve the software elsewhere but at a fix address do you thing that will be feasible ?
No RepliesBe the first to reply