WSL から nios2-download すると出るエラー: .elf.srec not found
wsl
から nios2-download
で書き込みを行おうとすると .elf.sre
のファイルがないと怒られる。
nios2-download -c 1 ./hoge.elf -g hoge.elf.srec not found
空っぽの hoge.elf.srec
を作ってやると解決する。
touch hoge.elf.srec nios2-download -c 1 ./hoge.elf -g Using cable "USB-Blaster [1-2]", device 1, instance 0x00 Pausing target processor: OK Initializing CPU cache (if present) OK Downloaded 345KB in 1.6s (215.6KB/s) Verified OK Starting processor at address 0x00000238 nios2-terminal: connected to hardware target using JTAG UART on cable nios2-terminal: "USB-Blaster [1-2]", device 1, instance 0 nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) ...