"error during erase" on HiFive1 revb



I compiled a test program and copied the hex file onto the hifive1 revb USB drive.
however, my test program didn’t run and the usb folder contained “FAIL.TXT” file in which “error during erase” message was left.
Any idea how to program it successfully via the usb?
I’m using ubuntu 18.04 and platformio ide.


(Ivan @ PlatformIO) #2

Could you check this issue HiFive1 Rev B Debugger doesn't work in platformio?