Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wonderful ! #2

Open
MaikStohn opened this issue Apr 21, 2016 · 1 comment
Open

Wonderful ! #2

MaikStohn opened this issue Apr 21, 2016 · 1 comment

Comments

@MaikStohn
Copy link

Your tutorial for installing it is great.

Only one thing was not working out of the box for me (DFU-UTIL did not have permission to access the device, i fixed it with "sudo"):

Here my example walk through for Ubuntu:

sudo apt-get install git gcc-arm-none-eabi openocd dfu-util

git clone https://github.com/daniel-thompson/i2c-star.git

cd i2c-star; git submodule update --init --recursive

make

#connect target with stlink-v2

make -C src/bootloader flash

#connect target usb directly

sudo make -C src/i2c-stm32f1-usb flash

Thanks,

Maik

@tormodvolden
Copy link

Seconded, this is wonderful :) Thanks to Daniel for this great software and tutorial!

Maik, to avoid running dfu-util as root you can make the bootloader device accessible to the desktop user by installing a udev rules file, see this example. In some Linux distributions the rules file is already installed with dfu-util.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants