2024-10-08 05:32 AM
Good afternoon,
I'm writing this quick post to know if by any chance someone can help me figure out what is happening with a simple threading project I started on the H7S3L8 board.
I'm using ThreadX and NetXDuo, to have a Modbus server on the ETH port.
I have an additional thread processing data from other sensors.
And when I debug the application, as soon as the second thread starts, I can no longer see the other thread running.
Here's an screenshot when I enter the first thread: (all good, I2C1 and NexDuo thread are there)
Once I enter the breakpoint on the second thread (I2C1) everything disappears (and I will never enter into the first thread ever again)
I left the threads empty on purpose (I removed as much code as I could to pinpoint the issue)
But right now, I'm a bit puzzled...could it be a configuration issue?
(The project is attached as well)
Solved! Go to Solution.
2024-10-14 12:10 AM
It looks like I didn't allocate enough memory to the ThreadX memory pool.
I'm slowly putting back features in the threads, but it looks like it was the issue. Sorry for panicking too soon :)
2024-10-14 12:10 AM
It looks like I didn't allocate enough memory to the ThreadX memory pool.
I'm slowly putting back features in the threads, but it looks like it was the issue. Sorry for panicking too soon :)