Close

Upload the compiled image to the board

A project log for Sparkfun RED-V bare metal

I wanted to learn RISC-V, not on an emulator, but on a real bare metal RISC-V processor. Even though Sparkfun RED-V is no longer produced.

olaf-baeyensOlaf Baeyens 10/21/2024 at 16:210 Comments

Uploading the compiled hex image to the RED-V board connected to the  a Raspberry Pi it is basically moving  to:

/media/pi/HiFive

Bash script: move-to-device.sh

#!/bin/bash 

cp ./build/main.hex /media/pi/HiFive/main.hex
echo Copied

A blue led will flash, you almost don't see it.

Discussions