Forum Discussion
NIOS application build fail
Hi, Boon
Have you tried below workarounds ?
Eric
- WaibKil5 years ago
New Contributor
Hi,
I'm having similar issues, with all my pre-existing Nios project compiling but unable to run/debug and have tried those workarounds (and succesfully upgraded to wsl 2) and other solutions seen in previous post such as :
change
APP_LDFLAGS += -msys-lib=$(call adjust-path-mixed,$(SYS_LIB))
to
APP_LDFLAGS += -msys-lib=hal_bsp
and manually making an project.elf.srec file with
BUILD_PRE_PROCESS := touch $(ELF).srecbut it still display the following errors :
wslpath: ./Found: No such file or directory
wslpath: ./Found.srec: No such file or directorynios2-elf-objcopy.exe: supported targets: elf32-littlenios2 elf32-bignios2 elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex plugin
wslpath: ./Found.srec: No such file or directory
Using cable "USB-BlasterII [USB-1]", device 1, instance 0x00
Pausing target processor: not responding.
Resetting and trying again: FAILED
Leaving target processor paused
rm: cannot remove './Found.srec': No such file or directorySo is there any other workaround you can think of ? I'm also interested in understanding what causes all this previously functioning project to stop working.
Any ideas would be welcome
Kindly,
- Boondoggler5 years ago
New Contributor
Hi Eric
I haven't seen any notification emails of new posts, so sorry for missing these. Currently working on v18 environment as all is well.
I will try your suggestions and post back shortly.
Thanks
BD