Forum Discussion

KennyJoosen's avatar
KennyJoosen
Icon for New Contributor rankNew Contributor
1 year ago
Solved

Nios V starts in debugging mode, but not in stand-alone mode

I have migrated a working Nios II/f instance to a Nios V/g one. When launching a debugging session with RiscFree IDE and JTAG to this Nios V instance, everything operates as expected. However, when ...
  • KennyJoosen's avatar
    1 year ago

    I found the cause of the issue: the conversion of the ELF file to HEX file went wrong. I was using elf2flash and riscv32-unknown-elf-objcopy commands, while I should have been using the elf2hex command.

    Conversion command used now:

    elf2hex ${PROJECT_ELF} -o ${PROJECT_HEX} -b 0x00000000 -e 0x0007ffff -w 32 -r 4