• 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 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...
  • 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) ;...
  • 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...
  • hold variable value after __NVIC_SystemReset
    Hello All, I know this question have been asked so many times and solutions provided. But for me using LPC15xx and keil when ever I do a soft reset, the variable always gets initialised to Zero...