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.


Thank you for your advice.

I have another question. I changed CYG_START to RAM. Maybe you know this create 

redboot.srec which starts at 0x20000. Then should I upload this file to my H/W RAM?

or change the address (to 0xffe00000) and burn flash?




----- Original Message ----- 
From: "Gary Thomas" <gthomas@ecoscentric.com>
To: "Seung-hun, Lee (Stanly)" <seunghun@kaist.ac.kr>
Cc: "eCos discuss" <ecos-discuss@sources.redhat.com>
Sent: Thursday, August 29, 2002 7:23 AM
Subject: Re: [ECOS] [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/  |
> ------------------------------------------------------------
> 
> 
> 
> 

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