From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30858 invoked by alias); 18 Jun 2005 14:15:03 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 30791 invoked by uid 22791); 18 Jun 2005 14:14:58 -0000 Received: from norbert.ecoscentric.com (HELO smtp.ecoscentric.com) (194.153.168.165) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sat, 18 Jun 2005 14:14:58 +0000 Received: by smtp.ecoscentric.com (Postfix, from userid 99) id 5797F65C06C; Sat, 18 Jun 2005 15:14:54 +0100 (BST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by smtp.ecoscentric.com (Postfix) with ESMTP id 62ADB65C057; Sat, 18 Jun 2005 15:14:53 +0100 (BST) Message-ID: <42B42C4B.7000000@eCosCentric.com> Date: Sat, 18 Jun 2005 14:15:00 -0000 From: Jonathan Larmour User-Agent: Mozilla Thunderbird 1.0.2-1.3.3 (X11/20050513) MIME-Version: 1.0 To: "HARA@KGC" Cc: ecos-discuss@ecos.sourceware.org References: <000b01c573d6$1365a030$05000100@HARA> In-Reply-To: <000b01c573d6$1365a030$05000100@HARA> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: LOAD problem or not? X-SW-Source: 2005-06/txt/msg00155.txt.bz2 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; < ======== 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