Real-time embedded

Thread Starter


Joined Jun 6, 2009
I have a major problem which I dont understand.

I got two Ucs that communicate with each other.

One of the Ucs has its entire code segment full, I cant even add an 'if else' line without the compiler issuing an error that says there isnt enough memory space.

The problem is that the code-loaded Uc sometimes stops functioning, meaning at the middle of its operation, the code stops running.
For example, every 5 seconds, its LED blinks, and when it stops functioning, its LED stops blinking.
I dont manage to always reproduce the situation where the code stops running so its very hard for me to know whether this is a bug in code.

Could it be due to memory space?

Thank you.


Joined Sep 7, 2009
I'd suspect a bug somewhere. There must be something that can be optimised to make it not completely full and see if it still stops working.