public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jifl@eCosCentric.com>
To: "HARA@KGC" <hara@kgc.co.jp>
Cc: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Re: LOAD problem or not?
Date: Sat, 18 Jun 2005 14:15:00 -0000	[thread overview]
Message-ID: <42B42C4B.7000000@eCosCentric.com> (raw)
In-Reply-To: <000b01c573d6$1365a030$05000100@HARA>

Please remember to send to the ecos-discuss list, not ecos-discuss-owner.

HARA@KGC wrote:
> Hi.
> It embarrasses it because of an unknown output. When the file was
> transmitted by the LOAD command, the following outputs go out and it is
> not possible to debug it. 
> Could you teach only what even has occurred?
> The environment is as follows. 
> My best regards. 
> 
> ========
> RedBoot> load -v -m xMODEM
> Entry point: 0x8c020000, address range: 0x8c020000-0x8c02d688
> xyzModem - CRC mode, 1289(SOH)/0(STX)/0(CAN) packets, 2 retries
> RedBoot> go 0x8c020000
> $T0a10:5cb9028c;0f:20ea028c;#1b$T0a10:5cb9028c;0f:20ea028c;#1b$T0a10:5cb
> 9028c;0f:20ea028c;  <<what is this??
> ========

It's GDB packets. Your target has probably crashed, at address 0x8c02b95c 
(it's there in little endian as the first register entry in that $T packet).

You can either disassemble your executable to work out where that is in 
your program sources, or you can disconnect your serial terminal, connect 
via GDB, do "target remote /dev/ttyS0" (or whatever) and see where it is then.

Note that it's probably easier just to use GDB to load your executable in 
the first place, rather than using the RedBoot CLI. This is all covered in 
the eCos user manual.

Jifl

> gcc>
> sh-elf-gcc (GCC) 3.3-gnuwing-20030801
> Copyright (C) 2003 Free Software Foundation, Inc.
> 
> Redboot>
> RedBoot(tm) bootstrap and debug environment [ROM]
> Non-certified release, version v2_0 - built 10:50:07, Jun 17 2005
> 
> Platform: InterDAQ plus (SH 7751)
> --
> Yukihisa Hara(hara@kgc.co.jp
> 
> 
> 


-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine

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

       reply	other threads:[~2005-06-18 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <000b01c573d6$1365a030$05000100@HARA>
2005-06-18 14:15 ` Jonathan Larmour [this message]
2005-06-20 17:08 [ECOS] " Andrew Lunn
2005-06-21  1:15 ` [ECOS] " HARA@KGC

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42B42C4B.7000000@eCosCentric.com \
    --to=jifl@ecoscentric.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=hara@kgc.co.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).