[ECOS] Fw:[ECOS] Problem while down loading image on i386 Target

Andrew Lunn andrew.lunn@ascom.ch
Fri May 17 05:13:00 GMT 2002


Do you have anything on your network sending broadcasts? An NTP server
or M$ machines which tend to broadcast every so often.

There was a problem that RedBoot IP stack would sometimes die when it
received a broadcast packet. I know this has been fixed, but your
redboot could be too old to contain the fix.

        Andrew

On Fri, May 17, 2002 at 12:04:03PM -0000, George Mathew wrote:
> 
> This is the console out put i got in the host system
> 
> Administrator@Sajith> i386-elf-gdb -nw a.exe
> GNU gdb 5.2
> Copyright 2002 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, 
> and you are
> welcome to change it and/or distribute copies of it under certain 
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for 
> details.
> This GDB was configured as "--host=i686-pc-cygwin 
> --target=i386-elf"...
> (gdb) set debug remote 1
> (gdb) target remote 10.0.0.250:9000
> Remote debugging using 10.0.0.250:9000
> Sending packet: $Hc-1#09...putpkt: Junk: RedBoot>
> Ack
> Packet received: OK
> Sending packet: $qC#b4...Ack
> Packet received: E02
> Sending packet: $qOffsets#4b...Ack
> Packet received:
> Sending packet: $?#3f...Ack
> Packet received: S05
> Sending packet: $Hg0#df...Ack
> Packet received: OK
> Sending packet: $g#67...Ack
> Packet received: 
> 010000000100000000000000040000002c8301002c830100c0c901000000000
> 0f0b2000002000000080000001000000010000000100000001000000010000000000000000000000
> 00000000000000000000000000000000000000000000000000000000000000000000000000000000
> 00000000000000000000000000000000000000080ffff0000000000000080ff7f7b03ffff0000fff
> fffffffff00000000000000000000ffff0000000000000000
> 0x0000b2f0 in ?? ()
> (gdb) load
> Loading section .text, size 0xd634 lma 0x10000
> Sending packet: $X10000,0:#df...Ack
> Packet received: OK
> binary downloading suppported by target
> Sending packet: 
> $X10000,13a:\213-x\000\000\000\213E\000\213]\004£\000\000\000\00
> 0\211\035\004\000\000\000äd"\002uúäd"\001t\004ä`ëö°Ñædäd"\002uú°ßæ`äd"\002uú\017
>   
> A\203E2\017"A\233Uaj\000\233U|}\004\000\213D}\004\000}\004û\211D}\004\000Ul}\00
> 4\000\203Ä\004°\021æ ° æ!°\004æ!°\001æ!°ÿæ!°\021æ 
> °(æ¡°\002æ¡°\001æ¡°ÿ桼\000\00
> 0\001\000¡\000\000\000\000\213\035\004\000\000\000SPTè±\216\000\000èo\224\000\00
> 0èS\226\000\000èA\216\000\000èQ"\000\000X£x\000\000\000èÆ4\000\000ôëyIIIh_AOºÿ%D
> \000\001\000IO\000\001\000`ÿ\005äN\000\000ÿ\005h\001\000\000\213L}\004 
> »\200I\00
> 0\000\213\024\213» 
> K\000\000\213\004\213TPQÿO[[[ÿ\räN\000\000\211Æ\213T}\004 ° \
> 203ú |\013\203ú0}]\004æ ë\002æ 
> \220\213D}\004,%ÿ_ÿÿP\235»\000H\000\000\213L}\004
>   \213\024\213RPèºT\000\000#28...Ack
> Packet received: OK
> Sending packet: 
> $X1013a,137:\203Ä\ba\203Ä\004I\211öôA\211ö\213T}\004\004\213D}\0
> 04\bîA\211ö\213T}\004\004ìf\230\230A\215v\000\213T}\004\004\213D}\004\bfïA\220\2
> 13T}\004\004fí\230A1A\212d}\004\004\212D}\004\005A\2201A\212d}\004\004\212D}\004
> \005Aà\020\212d}\004\006\212D}\004\aA\211öU\211å\203ì\b\203äd\203ì\fh8Ö\001\000è
> ªr\000\000\203Ä\020,\000\000\000\000ÉAU\211åVS\213]\b\212\023\204O\213M\f\213u\0
> 20ë\020AC8At\0061A[^]A\212\023\204Ot*\212\001\204Auè\204Ot\020\200yÿ/uä,\001\000
> \000\000\211\036ëY\220\204AuÖ\211\036,\001\000\000\000ëI\215v\000\212\001ëìU\211
> åSR¡\b\000\000\000\205At\006\213]üÉA\220»E\002\000\000\201û\000\003\000\000t}\00
> 3\215v\000\203ì\fSÿS\f\203Ä\020\204A\017\225A\017¶A\211C\030\203A\034\201û\000\0
> 03\000\000uàÇ\005\b\000\000\000\001\000\000\000ë_U\211åWV,E\002\000\000S\203ì\f=
> \000\003\000\000\213u#9f...Sending packet: 
> $X1013a,137:\203Ä\ba\203Ä\004I\211öôA
> \211ö\213T}\004\004\213D}\004\bîA\211ö\213T}\004\004ìf\230\230A\215v\000\213T}\0
> 04\004\213D}\004\bfïA\220\213T}\004\004fí\230A1A\212d}\004\004\212D}\004\005A\22
> 01A\212d}\004\004\212D}\004\005Aà\020\212d}\004\006\212D}\004\aA\211öU\211å\203ì
> \b\203äd\203ì\fh8Ö\001\000èªr\000\000\203Ä\020,\000\000\000\000ÉAU\211åVS\213]\b
> \212\023\204O\213M\f\213u\020ë\020AC8At\0061A[^]A\212\023\204Ot*\212\001\204Auè\
> 204Ot\020\200yÿ/uä,\001\000\000\000\211\036ëY\220\204AuÖ\211\036,\001\000\000\00
> 0ëI\215v\000\212\001ëìU\211åSR¡\b\000\000\000\205At\006\213]üÉA\220»E\002\000\00
> 0\201û\000\003\000\000t}\003\215v\000\203ì\fSÿS\f\203Ä\020\204A\017\225A\017¶A\2
> 11C\030\203A\034\201û\000\003\000\000uàÇ\005\b\000\000\000\001\000\000\000ë_U\21
> 1åWV,E\002\000\000S\203ì\f=\000\003\000\000\213u#9f...Sending 
> packet: $X1013a,13
> 7:\203Ä\ba\203Ä\004I\211öôA\211ö\213T}\004\004\213D}\004\bîA\211ö\213T}\004\004ì
> f\230\230A\215v\000\213T}\004\004\213D}\004\bfïA\220\213T}\004\004fí\230A1A\212d
> }\004\004\212D}\004\005A\2201A\212d}\004\004\212D}\004\005Aà\020\212d}\004\006\2
> 12D}\004\aA\211öU\211å\203ì\b\203äd\203ì\fh8Ö\001\000èªr\000\000\203Ä\020,\000\0
> 00\000\000ÉAU\211åVS\213]\b\212\023\204O\213M\f\213u\020ë\020AC8At\0061A[^]A\212
> \023\204Ot*\212\001\204Auè\204Ot\020\200yÿ/uä,\001\000\000\000\211\036ëY\220\204
> AuÖ\211\036,\001\000\000\000ëI\215v\000\212\001ëìU\211åSR¡\b\000\000\000\205At\0
> 06\213]üÉA\220»E\002\000\000\201û\000\003\000\000t}\003\215v\000\203ì\fSÿS\f\203
> Ä\020\204A\017\225A\017¶A\211C\030\203A\034\201û\000\003\000\000uàÇ\005\b\000\00
> 0\000\001\000\000\000ë_U\211åWV,E\002\000\000S\203ì\f=\000\003\000\000\213u#9f..
> .Sending packet: 
> $X1013a,137:\203Ä\ba\203Ä\004I\211öôA\211ö\213T}\004\004\213D}\
> 004\bîA\211ö\213T}\004\004ìf\230\230A\215v\000\213T}\004\004\213D}\004\bfïA\220\
> 213T}\004\004fí\230A1A\212d}\004\004\212D}\004\005A\2201A\212d}\004\004\212D}\00
> 4\005Aà\020\212d}\004\006\212D}\004\aA\211öU\211å\203ì\b\203äd\203ì\fh8Ö\001\000
> èªr\000\000\203Ä\020,\000\000\000\000ÉAU\211åVS\213]\b\212\023\204O\213M\f\213u\
> 020ë\020AC8At\0061A[^]A\212\023\204Ot*\212\001\204Auè\204Ot\020\200yÿ/uä,\001\00
> 0\000\000\211\036ëY\220\204AuÖ\211\036,\001\000\000\000ëI\215v\000\212\001ëìU\21
> 1åSR¡\b\000\000\000\205At\006\213]üÉA\220»E\002\000\000\201û\000\003\000\000t}\0
> 03\215v\000\203ì\fSÿS\f\203Ä\020\204A\017\225A\017¶A\211C\030\203A\034\201û\000\
> 003\000\000uàÇ\005\b\000\000\000\001\000\000\000ë_U\211åWV,E\002\000\000S\203ì\f
> =\000\003\000\000\213u#9f...Timed out.
> Timed out.
> Timed out.
> Ignoring packet error, continuing...
> Sending packet: 
> $X10271,143:\b\213}]\f\211Eèt'\215]d\215v\000RSÿ0Vè.ÿÿÿ\203Ä\020
> \204Au\037\213Eè\203A\034=\000\003\000\000\211Eèuß,_ÿÿÿ\215eô[^_]A\211ö\213Uè\21
> 3Z\004\205Ut>\203ì\b\215EìPÿr\004è\223ÿÿÿ\203Ä\020\205AuÖ\213Eè\213P\020\205Ot\0
> 27Qÿudÿuì\215EèPÿO\203Ä\020\205Au,\213Eè\211\a1Aë_\220ÇEì\000\000\000\000ëI\215v
> \000U\211å\203ì\b\213M\b\213Q\b\203:\000\213E\020t\034\205At\005\2038\000t\017\2
> 03ì\004Pÿu\fQÿ\022ÉA\215v\0001Aë÷,6ÿÿÿëd\220U\211å\203ì\b\213M\b\213Q\b\203z\004
> \000\213E\020t\e\205At\005\2038\000t\016\203ì\004Pÿu\fQÿR\004ÉA\2201Aëù,6ÿÿÿëò\2
> 20U\211å\203ì\b\213M\b\213Q\b\203z\b\000\213E\024t\e\205At\005\2038\000t\016Pÿu\
> 020ÿu\fQÿR\bÉA\2201Aëù,6ÿÿÿëò\220U\211å\203ì\b\213M#70...Sending 
> packet: $X10271
> ,143:\b\213}]\f\211Eèt'\215]d\215v\000RSÿ0Vè.ÿÿÿ\203Ä\020\204Au\037\213Eè\203A\0
> 34=\000\003\000\000\211Eèuß,_ÿÿÿ\215eô[^_]A\211ö\213Uè\213Z\004\205Ut>\203ì\b\21
> 5EìPÿr\004è\223ÿÿÿ\203Ä\020\205AuÖ\213Eè\213P\020\205Ot\027Qÿudÿuì\215EèPÿO\203Ä
> \020\205Au,\213Eè\211\a1Aë_\220ÇEì\000\000\000\000ëI\215v\000U\211å\203ì\b\213M\
> b\213Q\b\203:\000\213E\020t\034\205At\005\2038\000t\017\203ì\004Pÿu\fQÿ\022ÉA\21
> 5v\0001Aë÷,6ÿÿÿëd\220U\211å\203ì\b\213M\b\213Q\b\203z\004\000\213E\020t\e\205At\
> 005\2038\000t\016\203ì\004Pÿu\fQÿR\004ÉA\2201Aëù,6ÿÿÿëò\220U\211å\203ì\b\213M\b\
> 213Q\b\203z\b\000\213E\024t\e\205At\005\2038\000t\016Pÿu\020ÿu\fQÿR\bÉA\2201Aëù,
> 6ÿÿÿëò\220U\211å\203ì\b\213M#70...Sending packet: 
> $X10271,143:\b\213}]\f\211Eèt'
> \215]d\215v\000RSÿ0Vè.ÿÿÿ\203Ä\020\204Au\037\213Eè\203A\034=\000\003\000\000\211
> Eèuß,_ÿÿÿ\215eô[^_]A\211ö\213Uè\213Z\004\205Ut>\203ì\b\215EìPÿr\004è\223ÿÿÿ\203Ä
> \020\205AuÖ\213Eè\213P\020\205Ot\027Qÿudÿuì\215EèPÿO\203Ä\020\205Au,\213Eè\211\a
> 1Aë_\220ÇEì\000\000\000\000ëI\215v\000U\211å\203ì\b\213M\b\213Q\b\203:\000\213E\
> 020t\034\205At\005\2038\000t\017\203ì\004Pÿu\fQÿ\022ÉA\215v\0001Aë÷,6ÿÿÿëd\220U\
> 211å\203ì\b\213M\b\213Q\b\203z\004\000\213E\020t\e\205At\005\2038\000t\016\203ì\
> 004Pÿu\fQÿR\004ÉA\2201Aëù,6ÿÿÿëò\220U\211å\203ì\b\213M\b\213Q\b\203z\b\000\213E\
> 024t\e\205At\005\2038\000t\016Pÿu\020ÿu\fQÿR\bÉA\2201Aëù,6ÿÿÿëò\220U\211å\203ì\b
> \213M#70...putpkt: write failed: Connection reset by peer.
> (gdb) continue
> Continuing.
> Sending packet: $Hc0#db...putpkt: write failed: Connection reset 
> by peer.
> 0x0000b2f0 in ?? ()
> (gdb) quit
> The program is running.  Exit anyway? (y or n) y
> Sending packet: $k#6b...putpkt: write failed: Connection reset by 
> peer.
> Administrator@Sajith>
> 
> ----- Original Message -----
>  From: "George Mathew" <georgemathewkar@rediffmail.com>
> To: <ecos-discuss@sources.redhat.com>
> Sent: Friday, May 17, 2002 5:10 PM
> Subject: [ECOS] Problem while down loading image on i386 Target
> 
> 
> >Hi all
> >        I have connected successfully  to target mechine which 
> >is
> >booted in Redboot,  using i386-elf-gdb through ethernet.
> >        when i issued the "load" command,  it seems that after 
> >some
> >point of time  the Target is getting hanged.
> >        I repeated this a number of times and all trials gave 
> >me
> >the same result.
> >
> >        I tired it over serial connection..at that time the 
> >Target
> >mechines console  displayed some characters
> >        in multiple collors and it get's hanged.
> >
> >        In both the above mentioned cases...at the host side
> >connection is getting time out.
> >
> >        I rebooted the target.I'm not getting the expected
> >output.
> >        The application i compailed is the helo.c  given along 
> >with
> >eCos repository.
> >        It should display "Hello eCos World" on the console.
> >
> >
> >        Where's I am now? Am I successfull in down loading the
> >image to target?Why the Target is getting hanged?
> >
> >        The file i tried to transfer to the target is a.out .
> >
> >       One more doubt..  Which is the executable format for 
> >i386
> >Target?  .out .exe  or .SREC ?
> >
> >        Some body please help me
> >
> >          Thanks in advance
> >             Regards
> >                George
> >
> 
> 
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or 
> Abroad
> http://monsterindia.rediff.com/jobs
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
> 

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list