Forum Discussion
NiosV
Hi
Sorry for the confusion.
For the NiosV there is a new tool to be used for creating the hex for bootloader.
The command tool to used is :
elf2flash --input software/app/debug/<Nios V application>.elf \
--output flash.srec --reset <reset offset + base address of GSFI AVL MEM> \
--base <base address of GSFI AVL MEM> \
--end <end address of GSFI AVL MEM>
riscv-none-embed-objcopy --input-target srec --output-target ihex \
flash.srec <Nios V application>.hex
Instead of one command to generate the hex it is separated into 2 steps.
Regards
Jingyang, Teh
- NGord2 years ago
Occasional Contributor
Thats great - just what I wanted..
One more thing:
My Nios2 haad use of Exception Vector set within Platform designer.
For Nios V it must be set with the Nios V command shell because MAX10 doesnt have a BSP editor!
Any advice how I do that with the niosv-bsp command?- NGord2 years ago
Occasional Contributor
Sorry I was bit hasty there..
riscv-none-embed-objcopy doesnt exist in Quartus 23.1 std/lite edition.. The documentation is incorrect.