From: Talib Alim Date: Tue, 13 Jul 2004 15:39:21 -0700 (PDT) Subject: [U-Boot-Users] Debugging U-Boot Under DDD In-Reply-To: <20040713192813.62607C109F@atlas.denx.de> Message-ID: <20040713223921.6564.qmail@web50508.mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Now I am confuse. I am running code which is stored on the flash. I am using ddd (gdb in background) to do source level debugging. If I load elf binary gdb, than I am not really running code on the 852t, but on by Linux / Intell based PC. TA --- Wolfgang Denk wrote: > In message <20040713175734.30201.qmail@web50506.mail.yahoo.com> you > wrote: > > I tried loading elf file, this is what I get > > > > BDI>erase 0x02000000 chip > > Erasing flash at 0x02000000 > > Erasing flash passed > > BDI>prog 0x02000000 u-boot elf > > Programming u-boot , please wait .... > > - File offset 0x00000078 to address 0x04000000 size 131408 > > # Programming flash memory failed at 0x04000040 > > You misunderstood. I was talking about loading the ELF file in > GDB, > not about programming it to flash using the BDI's telnet > interface. > These are completely different things. > > Best regards, > > Wolfgang Denk > > -- > Software Engineering: Embedded and Realtime Systems, Embedded > Linux > Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: > wd at denx.de > Always leave room to add an explanation if it doesn't work out. > > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users >