Pysense: hardware setup in a virtual machine

I had to help someone starting a project which includes, among others, a Pysense board.

The development environment was Linux Mint 18.3, running in a VirtualBox virtual machine (VirtualBox version 5.2.26). The host system was a MacBook Pro running macOS Mojave.

One difficulty that the user may face with this environment relates to the USB device redirection. When the Pysense is switched to bootloader mode, for firmware upgrade, it stays in this mode less than 7 seconds, which is not long enough to configure VirtualBox.

Continue reading “Pysense: hardware setup in a virtual machine”