Hello, I'm trying to run the blink example from <C...
# general
h
Hello, I'm trying to run the blink example from Caravel Board (MPW5), but I got this: (I installed the riscv toolchain with this after having problems with ``riscv64-unknown-elf-gc`` ) hugodg@HUGO-PC:~/caravel_board/firmware/mpw2-5/blink$ make clean flash rm -f *.elf *.hex *.bin *.vvp *.vcd #/opt/riscv/bin/riscv32-unknown-elf-gcc -O0 -march=rv32i_zicsr -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../start.s ../print_io.c blink.c /opt/riscv/bin/riscv64-unknown-elf-gcc -I../ -I../generated/ -O0 -mabi=ilp32 -march=rv32i_zicsr -D__vexriscv__ -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../crt0_vex.S ../isr.c blink.c cc1: error: -march=rv32i_zicsr: unsupported ISA subset `z' cc1: error: -march=rv32i_zicsr: unsupported ISA subset `z' cc1: error: -march=rv32i_zicsr: unsupported ISA subset `z' make: * [Makefile23 blink.elf] Error 1
I think I solved the problem, but now I got this: hugodg@HUGO-PC:~/caravel_board/firmware/mpw2-5/blink$ make clean flash rm -f *.elf *.hex *.bin *.vvp *.vcd #/usr/bin/riscv32-unknown-elf-gcc -O0 -march=rv32i_zicsr -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../start.s ../print_io.c blink.c #/usr/bin/riscv64-unknown-elf-gcc -I../ -I../generated/ -O0 -mabi=ilp32 -march=rv32i_zicsr -D__vexriscv__ -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../crt0_vex.S ../isr.c blink.c /usr/bin/riscv64-unknown-elf-gcc -I../ -I../generated/ -O0 -mabi=ilp32 -march=rv32i -D__vexriscv__ -Wl,-Bstatic,-T,../sections.lds,--strip-debug -ffreestanding -nostdlib -o blink.elf ../crt0_vex.S ../isr.c blink.c /usr/bin/riscv64-unknown-elf-objdump -D blink.elf > blink.lst /usr/bin/riscv64-unknown-elf-objcopy -O verilog blink.elf blink.hex #sed -i '.orig' -e 's/@1000/@0000/g' blink.hex sed -i'.orig' -e 's/@1000/@0000/g' blink.hex python3 ../util/caravel_hkflash.py blink.hex Error: No matching FTDI devices on USB bus! make: * [Makefile38 flash] Error 1 rm blink.elf