[U-Boot-Users] Debugging U-Boot Under DDD

Talib Alim talibalm at hotmail.com
Wed Jul 14 00:39:21 CEST 2004


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 <wd at denx.de> wrote:
> In message <20040713175734.30201.qmail at 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
> 





More information about the U-Boot mailing list