Arduino Plugin for Proffieboard
- Download and install the Arduino IDE (at least version v1.6.8)
- Start the Arduino IDE
- Go into Preferences
- Add
https://profezzorn.github.io/arduino-proffieboard/package_proffieboard_index.json
as an "Additional Board Manager URL" - Open the Boards Manager from the Tools -> Board menu and install "Proffieboard Plugin"
- Select Proffieboard Tools -> Board menu
- Go to ~/.arduino15/packages/profezzorn/hardware/stm32l4/
<VERSION>
/drivers/linux/ - sudo cp *.rules /etc/udev/rules.d
- reboot
- Download Zadig
- Plugin the Proffieboard and toggle the RESET button while holding down the BOOT button
- Let Windows finish searching for drivers
- Start
Zadig
- Select
Options -> List All Devices
- Select
STM32 BOOTLOADER
from the device dropdown - Select
WinUSB (v6.1.7600.16385)
as new driver - Click
Replace Driver
- Go to ~/AppData/Local/Arduino15/packages/profezzorn/hardware/stm32l4/
<VERSION>
/drivers/windows - Right-click on
dpinst_x86.exe
(32 bit Windows) ordpinst_amd64.exe
(64 bit Windows) and selectRun as administrator
- Click on
Install this driver software anyway
at theWindows Security
popup as the driver is unsigned
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.
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.
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.
Running sudo tail -f /var/log/kern.log
will show you when things connect and disconnect, the lsusb command is also helpful.
cd <SKETCHBOOK>
, where<SKETCHBOOK>
is your Arduino Sketch folder:
- OS X:
~/Documents/Arduino
- Linux:
~/Arduino
- Windows:
~/Documents/Arduino
- Create a folder named
hardware
, if it does not exist, and change directories to it - Clone this repo:
git clone https://github.com/profezzorn/arduino-proffieboard.git profezzorn/stm32l4
- Restart the Arduino IDE
- Make sure you install any drivers you need from the instructions at the top.
This core is based on the Arduino STM32L4 Core. For now, the boards from the original core are still supported by this core.