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]

Re: GDB Download on i386 target hangs


Christian Plessl <cplessl@ee.ethz.ch> writes:

> Hi everybody
> 
> I managed building a (hopefully) working ECOS kernel. Im able to start it 
> using a bootdisk. When looking at the output of COM1: I see the typical 
> cryptic GBD debug protocol. Up to here, everything seems to work ok.
> 
> When starting GBD or Insight, I'm able to connect to the target, I can even 
> view the registers. But if I try to download an 'application' say one of 
> the HAL tests for instance 'cache' the download stops after sending about 
> 3kB of data!
> 
> My development system is running Mandrake Linux 7.2 and I'm using the 
> latest ECOS sources from CVS.
> 
> Does anybody have an idea, why the download immediately stops after 
> downloading some 2-3k of data?
> 
> Thanks for your help.
> 

Have you built the test programs in a separate build tree from the
floppy monitor? If not, then it is very easy to get
cross-contamination and, for example, end up with you executables being
linked to the same memory locations as the monitor. The symptoms you
describe are consistent with the monitor being overwritten by the
download.


-- 
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK

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