Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Runtime errors #39

Open
fgaetani opened this issue Dec 16, 2019 · 5 comments
Open

Runtime errors #39

fgaetani opened this issue Dec 16, 2019 · 5 comments

Comments

@fgaetani
Copy link

I have a problem with the Arduino Nano 33 BLE board with ArduinoBLE library. As soon as I try to connect to the device through the smartphone, the microcontroller freezes and the yellow LED flashes 5 times fast and 5 times slow and I am forced to reflash the firmware by double clicking the reset button. I have found similar problems also with the use of Wire library. What can this problem be due to?

@fgaetani
Copy link
Author

I solved using PlatformIO, the same project is compiled without any problems, it works on the microcontroller and no runtime errors occur. How is this possible? Does PlatformIO use the same compilers of Arduino IDE or am I wrong? It is paradoxical that official support works worse than unofficial support.

@fgaetani fgaetani changed the title Microcontroller freezes Runtime errors Jan 2, 2020
@facchinm
Copy link
Member

Hi @fgaetani ,
AFAIK platform.io uses our source code and compilers so I truly doubt the issue to be there. Maybe they are sticking to an older version of the core that doesn't exhibit the bug you are encountering?

@fgaetani
Copy link
Author

Hi @facchinm ,
it's been a long time, but I remember very well that the core version and the main code compiled were the same.

@oacs
Copy link

oacs commented Mar 19, 2020

When the yellow LED flashes 5 times fast and 5 times slow is a runtime error ?

@fgaetani
Copy link
Author

Hi @oacs, yes, that is the reporting of a runtime error.

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

No branches or pull requests

3 participants