Comments (5)
Try setting USB support to CDC (generic serial supersede USART) before uploading first sketch after fresh flashing.
from stm32_hid_bootloader.
it also happens to me, after first upload, my computer can't recognise the HID device until I flash again the bootloader and so on, I'm using maple mini
from stm32_hid_bootloader.
it also happens to me, after first upload, my computer can't recognise the HID device until I flash again the bootloader and so on, I'm using maple mini
Same issue here, requires reflash of bootloader after every use
from stm32_hid_bootloader.
It happened to me when I was using MPU 9250 DMP library that crashed STM32F1 because code started to execute too fast. My fix was to add delay(5000) before calling init() function of my library. The cause was probably that external sensor (MPU 9250) was not ready quick enough and this hanged STM32F1.
Now I use HID bootloader 2.2 (and delay) and it works fine for most of the time (I still have to unplug and plug stm32f1 some times, but I do not have to reflash it) . I have USB support set to CDC.
from stm32_hid_bootloader.
Hi,
Just a quick note, to ensure Serial is well initialized before use them add:
while(!Serial);
after Serial.begin();
.
See:
https://www.arduino.cc/reference/en/language/functions/communication/serial/ifserial/
from stm32_hid_bootloader.
Related Issues (20)
- HID Bootloader for STM32F429
- STM32F407G-DISC1 compatibility with HID Bootloader HOT 3
- How can I change MAX_PACKET_SIZE to 64? HOT 5
- USB Com not available HOT 2
- The built-in LED stays on HOT 1
- USB device not recognized HOT 4
- build_error: No rule to make target 'bootloader_only_binaries', needed by 'copy_generic-pc13'. Stop. HOT 1
- Help with flashing HOT 1
- How to install USB bootloader more than One Blue pill? HOT 1
- New Project for STM32F4x1 HID Bootloader
- no serial port and flashing led
- Device support issue for Bluepill stm32F10336t6 HOT 1
- F407 can not enter hid bootloader mode use hid-flash
- Windows not recognising the device
- USB init failing for new bluepills HOT 7
- End user firmware update app HOT 1
- udev rules not working
- Bootloader breaks when flashing binaries > 80000 Bytes
- Hid-flash 64-bit binaries HOT 1
- udev rules not accepted on newer kernels?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stm32_hid_bootloader.