Why E300-arty with JTAG ID 0x20000913 failed to upload SPI?


#1

Hello there,

My Arty board works fine with the SiFive E31-Arty evaluation image, so I assume my environment is okay.

I just cloned the latest source of freedom E300 and build the MCS and tested it with freedom-e-sdk to upload software with BOARD=freedom-e300-arty, openocd can connect it, just the ID is not matched.

Error: JTAG tap: riscv.cpu expected 1 of 1: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Error: Trying to use configured scan chain anyway…
Warn : Bypassing JTAG setup events due to errors

It also failed to upload flash with openocd:
Error: Device ID 0x20000913 is not known as FESPI capable

I just wonder how the Device ID is related to FESPI capability, can some one show me where to modify it in openocd software?

Thanks!


#2

Solved…just found the answer in another thread, please ignore this problem.

# flash bank my_first_flash fespi 0x20000000 0 0 0 $_TARGETNAME
flash bank my_first_flash fespi 0x20000000 0 0 0 $_TARGETNAME 0x10014000


(pu) #3

I meet the same problem.
Have you solved the problem?
Thanks!


(Lazar) #4

Hi @yanghui ,

I’m also interested in your solution. Can you share it with us? Thanks!

KR,
Lazar