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

Global Var

HI!!

I declared 3 global var, i call it inside diferent task and every execution this var should be updates but not to do it.
I have a 8051 under evaluation board.
Maybe can be a problem of my small micro?
What do u think about this?

Thanks

Parents
  • You've checked only this part of your code?
    You have to ensure, that there is no underflow/overflow/division by 0 in the whole code and under all circumstances (for example extreme user input).
    The "updating problem":
    It helps a lot if you screw down your code to the interesting core and debug it. If this fails you can show this very short program and all the necessary information to the forum.
    And don't forget to mention the controller, hardware, RTX. Check the datasheet of the controller and the camera. It seems you didn't.

Reply
  • You've checked only this part of your code?
    You have to ensure, that there is no underflow/overflow/division by 0 in the whole code and under all circumstances (for example extreme user input).
    The "updating problem":
    It helps a lot if you screw down your code to the interesting core and debug it. If this fails you can show this very short program and all the necessary information to the forum.
    And don't forget to mention the controller, hardware, RTX. Check the datasheet of the controller and the camera. It seems you didn't.

Children