9 years ago.

RTX Error on Nucleo board - memory use?

I have been using a Nucleo-F746ZG board, and after adding the Paho MQTT library to an existing project, the board started locking up and printing an error message to serial: "RTX error code: 0x00000001, task ID: 0x2000FCBC".

I don't see much about it on Google, except a suggestion that it could be caused by running out of RAM. According to a memory tester I found (https://developer.mbed.org/questions/6994/How-to-print-Free-RAM-available-RAM-or-u/), it has 220K free RAM (the board has 320K RAM total).

The error appears to happen when calling .connect() on a TCPSocketConnection (from the F7 ethernet library). This only happens when Paho is included, even though Paho does not modify TCPSocketConnection at all.

I'm a bit lost on this one. Am I measuring the memory use accurately? Is there something else that can cause that error?

Be the first to answer this question.