(This is with regard to the original HiFive1, not Rev B)
Just want to double check with you guys before I accidentally brick it…
I’m thinking about demoing running a program from my ~100 line assembler on real hardware.
I understand the OTP boot sequence and how it jumps to flash at 0x20000000. The original Freedom-E-SDK (branch v1_0) has the double_tap_dontboot bootloader code placed there which ultimately jumps to user code at 0x20400000. That much we learned on RISCY BUSINESS (shameless plug ;O).
Given that I want to use the double_tap_dontboot code already on the board, is it safe for me to simply do:
openocd -f hifive1.cfg -c "program demo.bin exit 0x20400000"
where hifive1.cfg is the appropriate openocd cfg for the hifive1 board (pulled from the Freedom-E-SDK) and demo.bin holds the raw machine code & data for my demo?