From: Andrew Lunn <andrew@lunn.ch>
To: Rohit Agarwal <rohitrules@gmail.com>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Fwd:
Date: Tue, 28 Jun 2005 11:51:00 -0000 [thread overview]
Message-ID: <20050628115116.GK11071@lunn.ch> (raw)
In-Reply-To: <fc5cbb3205062804274590039f@mail.gmail.com>
On Tue, Jun 28, 2005 at 04:57:16PM +0530, Rohit Agarwal wrote:
> 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 <stdio.h>
>
> 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
Why do you think its garbage?
gdb can interpret it for you.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next prev parent reply other threads:[~2005-06-28 11:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fc5cbb32050628021420c2a779@mail.gmail.com>
2005-06-28 11:27 ` Rohit Agarwal
2005-06-28 11:51 ` Andrew Lunn [this message]
[not found] <eb5v1ts1.anctw1h5.50804.k6er@bbraunconnect.co.in>
2020-03-04 21:31 ` tayyaba azeem
[not found] <8xctmhsp.e9ez6v1u.153k3.crt7@bbraunconnect.co.in>
2020-03-04 21:31 ` tayyaba azeem
[not found] <dp5f9a4z.25wns5un.q3154.82ya@sammitrauto.com>
2020-02-17 18:57 ` tayyaba azeem
[not found] <auqzdnwc.wdvvtvfr.7secq.5f1c@sammitrauto.com>
2020-02-17 18:57 ` tayyaba azeem
[not found] <rasyrb44.zus1w6nt.y50zz.hrkq@digitaldells.com>
2019-01-30 7:28 ` tayyaba azeem
2001-01-30 5:07 [ECOS] [Fwd: ] Jonathan Larmour
2001-01-31 23:23 ` Jonathan Larmour
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=20050628115116.GK11071@lunn.ch \
--to=andrew@lunn.ch \
--cc=ecos-discuss@sources.redhat.com \
--cc=rohitrules@gmail.com \
/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).