Giter Club home page Giter Club logo

Comments (5)

joej970 avatar joej970 commented on July 23, 2024 1

Try setting USB support to CDC (generic serial supersede USART) before uploading first sketch after fresh flashing.

from stm32_hid_bootloader.

khyarul avatar khyarul commented on July 23, 2024

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.

toogooda avatar toogooda commented on July 23, 2024

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.

joej970 avatar joej970 commented on July 23, 2024

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.

fpistm avatar fpistm commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.