• global variables not initializing to declared values
    Maybe I have some setting wrong in my project. At the beginning of my main source file, I include a header that declares several variables as externs. Then I declare and initialize them after the #include...
  • Global variables are not initializing to defined value
    Hello, i am using scatter file to make load region for RW and ZI. ROM 0x0 { ER_RO 0x0 { CStartUp.o (RESET, +First) * (+RO) ;*(PUBLIC_VARS) } NVIC_DEFINE 0x480000 { irq.o (+ZI) ;...
  • Global variables not initializing to proper values
    Hello My global variables are only initializing to defined values when i download my code to LPC2468. After Power reset my Global variables are initializing to random values. I am getting following...
  • overwriting of the values of global variables in Kiel C51 compiler
    I have encountered some very serious problem in Megawin MG84FG516 controller using C51 compiler. In my code I am using three interrupts in the priority as follows: 1 - Serial port 0 2 - Timer...
  • Global variable
    In my project I am using four source code files. There is one variable, which is used in all four files. When I declared this variable in one file and compiled the file, the compilation was successful...