Forum Discussion
Nios V starts in debugging mode, but not in stand-alone mode
- 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
Hi
The uart terminal NiosV command is different compared to NiosII.
Are you using the juart-terminal command for the NiosV uart?
Besides that, have you tried creating a simple hello world in the NiosV?
Regards
Jingyang, Teh
- KennyJoosen1 year ago
New Contributor
Hi,
I am using the juart-terminal command. When launching my application in debug mode with the RiscFree IDE, logging appears on the juart-terminal as expected and the application behaves as expected.
However, the Nios V application doesn't seem to start when being part of the FPGA image and no debugger is attached/launching it, since no logging appears on the juart-terminal (first lines that should be executed in the code) and application seems unresponsive/behaves not-expected (seems to do nothing).