FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6468 ディスカッション

Booting Nios V from EPCQ flash in Cyclone 10 GX dev

tato_pt
ビギナー
198件の閲覧回数

Hello! 

First of all sorry for the topics which I posted and received a reply but then I did not reply. It seems Outlook was putting the emails as Junk. I've fixed that

Now.. I am trying to boot a Nios V program from the EPCQ flash with the Cyclone 10 GX board.

I am following the following web page:

https://www.intel.com/content/www/us/en/docs/programmable/726952/24-3-1/processor-application-executes-in-place-95056.html  section 4.7.1 Nios® V Processor Application Executes-In-Place from Configuration QSPI Flash

 

I cannot get this to work.

I have included the project files as attachment. I'm using Quartus 23.2

The commands I use in the Nios V Command Shell are:

niosv-app -a=software/app -b=software/bsp -s=software/app/hello.c

cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -B software/app/debug -S software/app

make -C software/app/debug

elf2flash --input software/app/debug/app.elf --output flash.srec --reset 0xb00000 --base 0x0 --end 0x7ffffff

riscv32-unknown-elf-objcopy --input-target srec --output-target ihex flash.srec app.hex

 

The application flashes some LEDs and it works if I don't use the Flash devive.  I am assuming it's 4-byte addressing for the flash. 

 Thanks!

 

ラベル(2)
0 件の賞賛
0 返答(返信)
返信