Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Global variables not initializing to proper values

Status
Not open for further replies.

niketrc

Newbie level 5
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top