ArduinoCore-nRF528x-mbedos icon indicating copy to clipboard operation
ArduinoCore-nRF528x-mbedos copied to clipboard

Runtime errors

Open fgaetani opened this issue 5 years ago • 5 comments

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 avatar Dec 16 '19 13:12 fgaetani

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 avatar Dec 18 '19 11:12 fgaetani

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?

facchinm avatar Mar 10 '20 13:03 facchinm

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.

fgaetani avatar Mar 10 '20 15:03 fgaetani

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

oacs avatar Mar 19 '20 05:03 oacs

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

fgaetani avatar Mar 23 '20 11:03 fgaetani