Skip to content

ProffieBoard Setup

Fredrik Hubinette edited this page Feb 4, 2019 · 11 revisions

Arduino Plugin for Proffieboard

Installing

  1. Download and install the Arduino IDE (at least version v1.6.8)
  2. Start the Arduino IDE
  3. Go into Preferences
  4. Add https://profezzorn.github.io/arduino-proffieboard/package_proffieboard_index.json as an "Additional Board Manager URL"
  5. Open the Boards Manager from the Tools -> Board menu and install "Proffieboard Plugin"
  6. Select "Proffieboard" Tools -> Board menu
  7. Select "SDCARD: SPI" Tools -> DOSFS:

OS Specific Setup

Windows

STM32 BOOTLOADER driver setup for STM32L4 based boards
  1. Download Zadig
  2. Plugin the Proffieboard and toggle the RESET button while holding down the BOOT button
  3. Let Windows finish searching for drivers
  4. Start Zadig
  5. Select Options -> List All Devices
  6. Select STM32 BOOTLOADER from the device dropdown
  7. Verify that the USB ID is 0483 df11, if it is not, do not proceed!
  8. Select WinUSB (v6.1.7600.16385) as new driver
  9. Click Replace Driver
USB Serial driver setup for STM32L4 based boards (Windows 7/XP only, not for Windows 8 or 10)
  1. Go to ~/AppData/Local/Arduino15/packages/profezzorn/hardware/stm32l4/<VERSION>/drivers/windows
  2. Right-click on dpinst_x86.exe (32 bit Windows) or dpinst_amd64.exe (64 bit Windows) and select Run as administrator
  3. Click on Install this driver software anyway at the Windows Security popup as the driver is unsigned

Linux

  1. Go to ~/.arduino15/packages/profezzorn/hardware/stm32l4/<VERSION>/drivers/linux/
  2. sudo cp *.rules /etc/udev/rules.d
  3. reboot

Troubleshooting

How do I know if uploads are working?

Look at the bottom secton of the arduino program. The progress of the upload will show in red text. Unfortunately arduino will not scroll down automatically as uploads are taking place, so if you want to see how it's doing you have to keep scrolling down while it's working.

Recovering from a broken upload

Sometimes a faulty sketch can render the normal USB Serial based integration into the Arduindo IDE not working. In this case plugin the Proffieboard and toggle the RESET button while holding down the BOOT button and program a known to be working sketch to go ack to a working USB Serial setup.

Connection issues

Windows 10

Go to the control panel and click on Bluetooth & other devices. It should either show "Proffieboard" or "STM32 BOOTLOADER". If you hold BOOT and click RESET, is hould show "STM32 BOOTLOADER". If neither show up, try a different USB port or cable.

Linux

Running sudo tail -f /var/log/kern.log will show you when things connect and disconnect, the lsusb command is also helpful.

Clone this wiki locally