We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am trying to flash my STM32F103C8, I have already compiled my blink test sketch but when I try to flash the .bin I get a segmentation fault.
I execute it with this command:
./hid-flash ~/Desktop/test.bin ttyACM0
The output that I get is:
+-----------------------------------------------------------------------+ | HID-Flash v2.2.1 - STM32 HID Bootloader Flash Tool | | (c) 2018 - Bruno Freitas http://www.brunofreitas.com | | (c) 2018-2019 - Vassilis Serasidis https://www.serasidis.gr | | Customized for STM32duino ecosystem https://www.stm32duino.com | +-----------------------------------------------------------------------+ > Trying to open the [ttyACM0]... error, counldn't open [/dev/ttyACM0] > Unable to open the [ttyACM0] > Searching for [1209:BEBA] device... # > [1209:BEBA] device is found ! > Sending <reset pages> command... Segmentation fault
After that the STM32's led starts to blink quickly, and I have to restart the STM32 to keep executing the sketch that is flashed in it.
I am using a Raspberry Pi 4 as host system.
The text was updated successfully, but these errors were encountered:
After installing the udev rule it seems to work well!
Sorry, something went wrong.
this isssue is affected by this PR which hasn't been merged yet for some reason #30
basically the segmentation fault gives no info, but with this fix, hid-flash will correctly inform you "Unable to open the [0x1209:0xBEBA] device.
No branches or pull requests
I am trying to flash my STM32F103C8, I have already compiled my blink test sketch but when I try to flash the .bin I get a segmentation fault.
I execute it with this command:
The output that I get is:
After that the STM32's led starts to blink quickly, and I have to restart the STM32 to keep executing the sketch that is flashed in it.
I am using a Raspberry Pi 4 as host system.
The text was updated successfully, but these errors were encountered: