Arduino Opta Reset LED Flashing Red

I am using the Arduino Opta on one of my projects. There is an LED above the reset button. Occasionally, this LED flashes red and the device stops functioning. I cannot find any documentation in the datasheet or user manual regarding this particular LED. I'm trying to understand what is causing it to flash red. Thanks in advance for your help.

Regards, Mark

Hi @westmarkm. When you see the LED blinking red with a 4X long, 4X short blink pattern, this indicates the Mbed OS operating system on the Opta has crashed due to a runtime error.

This can be caused by various different problems in the program (e.g., dividing by zero, conflicts in the configuration of pins).

@ptillisch Thanks for the information. Is there a way to identify where the problem is happening? Also, are there other patterns to look for? Also, what do the other patterns mean? Is there some documentation you can point me to? Thanks in advance.

Regards, Mark

1 Like

Hi There Arduino Opta Experts,

Just connecting to @westmarkm post as we have been experiencing the same over the last 4 months, having an Opta in a production environment up-and-running.

Update (24-04-2024): We just found out that when unplugging the network cable on our test device, immediately leads to a crash wherein the flashing light sequence starts. It seems that the issues have something to do with the network / network interface card instability?

The latest post on this thread is already 14 days old. However, these are serious issues for when running a production environment and should need proper attention and better documentation at least.

We have found the device in a crashed state for over 3 times now and are wondering what this could be. Is there any log or method to get to know what is causing the crashes?

In search for system logs and possible solutions, we found that in the arduino-cli.exe, there was a new core 4.1.1 (Release Release 4.1.1 · arduino/ArduinoCore-mbed · GitHub) available.

We were thinking that maybe memory leaks, or some other bugs, could have caused these issues.

However, after downloading the lastest core, reseting the opta, downloading the initial setup again over serial COM port, it seems from the debug logs, that the Arduino PLC IDE is still using some kind of cached older version 3.5.4

Are we talking about the same "core" being used here? The version that is being shown in the debug console, in my case is coming from:

C:\Users[User]\AppData\Local\T\A\internal\arduino_mbed_opta_3.5.4_ccd8464f766ff0fc

In summary:

1: 4x slow, 4x fast means OS crash, is there any way to get to know where this is coming from?
2: Can it be firmware or core libs and if so how to get the latest version working and how to validate if the Opta is really on the latest version?

Thanks in advance.

Best Regards,

JG

1 Like

I have had this same error code show up multiple times after serial monitor connection failures, and it makes me unable to connect to an Opta even with multiple attempts. I would love to see some answers from the Arduino team to westmarkm's and jgqontrol's messages above.

Could you share the sketch that you use when you get the mbedOS error blink?