Skip to content
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

stm32f4 stm32f7 wont boot #5

Open
bm16ton opened this issue Apr 9, 2022 · 4 comments
Open

stm32f4 stm32f7 wont boot #5

bm16ton opened this issue Apr 9, 2022 · 4 comments

Comments

@bm16ton
Copy link

bm16ton commented Apr 9, 2022

For sum reason (and im new to coding so please forgive me if i use incorrect names/words) on my stm3f4/7 boards f413 f401 f411 f767 etc If I load the example Melody with tone then my stm boards will not boot, they all make it as far as dmesg showing new fs usb device and thats where they die, and I have to force a boot into bootloader to reprogram them. The Melody from serial works great on all of them. After deleting things till the stm's would boot I realized it was the call Melody char that breaks the boards but melody string works great! Ive tried this on arduino version 1.8.9 to 1.8.19 and on 2 x86_64 pc's and 2 arm64 pc's and with 2 different versions of the stm32-arduino package, and of course setting different pins. I dont think your lib is to fault my assumption is this has brought to light some poorly written stm32 implementation of sum arduino lib, I assume based of the example name the tone lib is used wonder if stm's is hurting? Anyone else have this issue? Again thank you for your work amazing lib!

@dualB
Copy link
Owner

dualB commented Apr 10, 2022

Thank you for your feedback! If you could share a simple code example that makes an stm board crash everytime, it will help me to investigate a little bit inside my library, just to be sure.
I didn't test my library on a lot of platforms...

@bm16ton
Copy link
Author

bm16ton commented Apr 10, 2022 via email

@bm16ton
Copy link
Author

bm16ton commented Oct 11, 2022 via email

@dualB
Copy link
Owner

dualB commented Oct 12, 2022

Hello! First, there is a new version since june (v1.2.0) maybe it will fix issues with string/*char. Also, maybe it is a memory issue, because really long melody is too much to put in memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants