From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6442 invoked by alias); 28 Jun 2005 11:27:27 -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 6416 invoked by uid 22791); 28 Jun 2005 11:27:22 -0000 Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.199) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 28 Jun 2005 11:27:22 +0000 Received: by wproxy.gmail.com with SMTP id 55so556308wri for ; Tue, 28 Jun 2005 04:27:21 -0700 (PDT) Received: by 10.54.159.1 with SMTP id h1mr235505wre; Tue, 28 Jun 2005 04:27:16 -0700 (PDT) Received: by 10.54.14.50 with HTTP; Tue, 28 Jun 2005 04:27:16 -0700 (PDT) Message-ID: Date: Tue, 28 Jun 2005 11:27:00 -0000 From: Rohit Agarwal Reply-To: Rohit Agarwal To: ecos-discuss@sources.redhat.com In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: Subject: [ECOS] Fwd: X-SW-Source: 2005-06/txt/msg00269.txt.bz2 I am trying to compile a simple C code for my arm processor IXDP425. the contents of my_file.c which i wish to run on the arm processor is /* this is a simple hello world program */ #include int main(void) { printf("Hello, eCos world!\n"); return 0; } the steps that i follow are as listed below. 1. make (the Makefile was already present in the directory) 2. arm-elf-objcopy -O srec my_file my_file.srec this gives me my_file.srec 3. after that i try to load this file using redboot (launched from minicom) by giving the folowing command Redboot> load -v -m yModem 4. then i transfer my_file.srec using the Y MODEM protocol. the file gets transferred. When the transfer is complete, i get a sound from the IXDP425 and the following message RedBoot> load -v -m yMODEM Entry point: 0x00080040, address range: 0x00080000-0x0008868c xyzModem - CRC mode, 777(SOH)/0(STX)/0(CAN) packets, 11 retries 5. thwn when i type go, i get the following error RedBoot> go $T050f:00080044;0d:0ffd0fec;#1b on pressing any key, the garbage string gets repeated RedBoot> go $T050f:00080044;0d:0ffd0fec;#1b$T050f:00080044;0d:0ffd0fec;#1b$T050f:000800= 44;0 Can anyone tell me what should i do? ROHIT --=20 if u dont know it, it doesnt exist --=20 if u dont know it, it doesnt exist -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss