-
Notifications
You must be signed in to change notification settings - Fork 132
STM32F103 crashes when using Wire.h #1337
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
Comments
provide the name of the board and the platform version you are using. |
thanks for immediate answer. |
Sorry. I am using the bluepill board.. |
I assume you get a warning when you start telling you something about the path. |
No. There is no error or warning message. Neither with my project nor with the reported sample.nevertheless I try to move closer to the root to exclude risk of the reported issue. |
!!!Do not forget to take backups of your installs and workspaces!!!! |
thnak you for the link to the beta
if I can do anything to support, just let me know. |
yes you need java 11 or higher |
check https://openjdk.java.net/ to download |
Thx, I know. this was just for information, Non-Java Programmers will face the issue. |
To be able to understand why I need command line differences |
don't get me wrong. that's not my question and I don't mis use you to be my manual for gcc fact: there is an issue why Arduino IDE does work with the the same code base with simple original example and Sloeber does not. in V4.3 as well as V4.4 I don't want to bother you anymore. thx. |
don't get me wrong 😄 However I do not own a STM32 so after "it builds" and "the commands look the same" there is little I can do The only "real difference" I know of between Arduino IDE and Sloeber build commands is when making the Archive. Sloeber does it in one call. Arduino IDE does is source file by source file. |
i am working Sloeber Beryllium 4.3.3 for a few month and every worked perfect in my projects.
I am just busy porting my code to several platforms. Arduino Nano, Arduino Mega 2560, Arduino Due, ESP32, STM32F103C8, with good result.
After the attempt to integrate a I2C device (DS3231) all plattforms work as expected, but STM32 crashes. I have not tested any other I2C Application before on STM32.
i traced the problem down to the simple example "i2c_scanner_wire.ino" which comes with
http://dan.drown.org/stm32duino/package_STM32duino_index.json
the same example compiled in Arduino IDE leads to working code on STM32.
To Reproduce
compile Example "i2c_scanner_wire.ino" with Wire.h Library selected.
Download to STM32F103C8 board
observations
der code seem to crash after the first loop of the I2C scan with the call to wire.Endtransmision()
you can see a kind of fast blinking of the LED.
Additional information.
I tried several STM32F103Cx Boards but they all behave the same.
I am guessing the issue here: #1005 or http://stm32duinoforum.com/forum/viewtopic.php?t=3941
might address a similar problem. Unfortunatelly i am not able to compile the plugin source code myself. so and hoping this will be fixed in the next bundle.
The text was updated successfully, but these errors were encountered: