-
Notifications
You must be signed in to change notification settings - Fork 990
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
Using clearDisplay() in the main loop causes Arduino Micro / Pro Micro bootloader to crash #253
Comments
Usually WIDTH and HEIGHT are macro defined in the main program but well what you found is a good start I will git it a try as soon as possible. It could be a type problem or a precompilation one. |
Sorry, after some tests, same problem. The error must be somewhere else, I already suspected that a fake chip on my board was causing the problem |
Yep unfurtunately same conclusion here, apparently I've found many occurence of the 32u4 bootloader being frozen with other arduino sktechs so it may not be linked to this specific library but something more general like progmem access or execution time. My only solution yet has been to pass over the bootloader and to program systematically via the ICSP port |
the problem in my case is found, its a hardwareproblem! Manual reset at the right moment and the upload works, so I have to search the capacitor at reset input on the Pro Mini board or it is a problem of my USB serial adapter. Update: |
Hmmm ok... from my side I'm almost certain that the problem with the Arduino micro is 100% software related but I'll keep investigate. Lately going from the I2C declaration to the hardware SPI one seems to solve the problem.... |
Still working on an example of this bug but as far as I could tested using clearDisplay() in the main loop causes the Arduino Micro bootloader to crash making all further upload from the Arduino IDE unavailable.
I really don't know what could cause this. My minimal example did not use anything but this Library.
The text was updated successfully, but these errors were encountered: