This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gdb] packet error problem : About code.


On Wed, 2002-08-28 at 07:49, Seung-hun, Lee (Stanly) wrote:
> Hmm.. My RAM region is from 0x00000000 - to 0x01000000 (16MB)
> and my FLASH region is from 0xFFE00000 - to 0xFFFFFFFF (2MB).
> Actually I changed from MBX860 template. From that template, I changed 'memory map' and serial communication for my H/W. In orginal MBX spec. RAM region starts from 0x00000000 but in case of ROM, it starts from 0xFE000000.
> Is there any collision with change that memory map? I changed code like this
> 
> (Memory Map of my H/W)
> 0x0000.0000 - 0x00FF.FFFF : 16MB SDRAM
> 0xFF00.0000 - 0xFF00.3FFF : MPC8xx On-chip Register
> 0xFFE0.0000 - 0xFFFF.FFFF : 2MB FLASH
> 

So, what don't you understand.  You're trying to get GDB to download 
code to FLASH and that just won't work.  You need to be running code 
designed to run from RAM (CYG_STARTUP==RAM)

------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]