Booting BearlyML With External SPI Flash
Connect SPI to FE310.
We need to use J-Link to communicate with the board/chip. So run JLink.exe
J-Link Commands
Here and here are some references. Can also type ? in terminal to see list of command.
To connect device
connect FE310List Regs
Regs
RReg pcExamine memory content
Mem32 0x20000000, 2Erase Flash
Erase 0x20000000, 0x20001000Load file to Flash
LoadFile C:\Users\TK\Desktop\HAL\firmware\build\firmware.bin, 0x20000000Common commands as GDB
Halt
Go
Reset
StepSPI Wiring



Note: the #RESET pin need to be tied to HIGH.


Last updated
Was this helpful?