This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Some memory problems on RTX-full?

Hi all. Can anyone help with the following strange problem?
I have a target with T89C51RD2 and external (on board) SRAM and parallel EEPROM. I also use the RTX51-full OS. For the past few days my code start to run very strange. I pass a variable to a function (void func(char ch)) and use it there. Somewhere in this function I send this variable to other function and the variable value change before he gets to the other function. In some cases I solved the problem by declaring local variable in each function and pass the coming variable to the local one.
For example:
Void func(char _ch)
{
char ch = _ch;
:
}

This is NOT a solution for this case. Can anyone know what's the problem here?

Thanks a lot,
Reuven

Parents Reply Children
No data