Getting Sipeed Longan Nano - RISC-V and Sipeed USB-JTAG/TTL RISC-V Debugger, to work on Debian 9

If your using Debian Debian 9 (“stretch”), and the Sipeed Longan Nano - RISC-V with the Sipeed USB-JTAG/TTL RISC-V Debugger, you will need to install the libusb, libftdi, libftdi1, and some other libs… maybe. Most time’s you will get a message about missing libs.

As “Visual Studio Code” with the “platformIO” plugging will not install them.

you also will have a problem with libmpfr.so.6 not been present on Debian 9,

the way around this is to soft link libmpfr.so.6 to libmpfr.so (assuming a 64bit system)

IE:

sudo su; cd /usr/lib/x86_64-linux-gnu; ln -s libmpfr.so libmpfr.so.6



I hope this info will save some time for other Debian 9 users out there who are trying this board



Lachlan

Noted, Thanks for sharing. :slight_smile: