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 Reply Children
  • Thanks to everybody!!!
    Sorry for my problems. For me it is very dificult because im working alone and my English level is not good.

  • Your english level seems quite find. Don't forget that a lot of (most?) people on this forum are not native english speakers.

    But it is imperative to learn the special terminology used in data sheets - if not, you will always get into troubles. It is (or at least should be) part of the information taught during the classes. All trade crafts have their own terminology.

  • Well said Per. I thought Javi's English was excellent, he shouldn't put himself down. I'm a native English speaker and his English is far better than my Spanish (or any other language come to think of it)

    He asked questions, didn't use abbreviations or text speak (which I detest) and showed an understanding of what he was doing and had learned (I'm impressed he knows what a PID loop is, let alone code it). He also put up with a bit of criticism as well.

    To Javi: You are near the top of a steep learning curve. Stick in there! Next time you ask for help try to give as much information as possible. I asked you to "Cut and Paste" your error message and you edited it with the vital parts replaced by "....". (Did it not say the size of your XDATA?) You should have just pasted it as it was on your screen. (However you also included information from a previous build which told me what I suspected.)

    Good luck with your project and as for your current problem, if your project is optimised as far as possible and you haven't wasted any
    data space (eg. Putting a big lookup table in RAM instead of declaring them in code space, or used real's when int's would have done (:-) then you will have to think about scaling down the project or finding a chip with more memory.