From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Garnett To: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] GDB Download on i386 target hangs Date: Fri, 06 Oct 2000 05:15:00 -0000 Message-id: References: <5.0.0.25.0.20001005210937.009f18e0@imap.ee.ethz.ch> X-SW-Source: 2000-10/msg00053.html Christian Plessl 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