Global variables not initializing to proper values

Status
Not open for further replies.

niketrc

Newbie level 5
Joined
Jun 19, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
44
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 warning :

.\Obj\ethernet_bootloader.sct(8): warning: L6314W: No section matches pattern *(InRoot$$Sections).

My scatter file :

Code:
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************

LR_IROM1 0x00000000         {    ; load region
  ER_IROM1 0x00000000 0x00020000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  RW_IRAM1 0x40000040 UNINIT 0x00080000  {  ; RW data
   .ANY (+RW +ZI)
  }
}

Is my problem related with above warning ?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…