Skip to content

Instantly share code, notes, and snippets.

@plusk01
Last active March 9, 2017 04:49
Show Gist options
  • Save plusk01/42016e0eccca86b127e603be8d4bf94a to your computer and use it in GitHub Desktop.
Save plusk01/42016e0eccca86b127e603be8d4bf94a to your computer and use it in GitHub Desktop.
Programming/Debugging a Beecore STM32F3 board

Related:

If you see the following error, you have a permissions problem:

Error: libusb_open() failed with LIBUSB_ERROR_ACCESS

Add to udev rules:

# STLink v2
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="660", GROUP="plugdev", TAG+="uaccess"

Betaflight

Set up udev rules

# DFU (Internal bootloader for STM32 MCUs)
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="5740", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev", ENV{ID_MM_DEVICE_IGNORE}="1"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", MODE="0664", GROUP="plugdev", ENV{ID_MM_DEVICE_IGNORE}="1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment