public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gozman Florian Leonard <leonard@bluegem.codec.ro>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] I have a problem with "go" command from RedBoot on AT91EB40 target
Date: Mon, 06 Aug 2001 22:54:00 -0000	[thread overview]
Message-ID: <3B6F83E2.4A6A210@bluegem.codec.ro> (raw)

Hi everyone,

Would like to have your idea on the following:

My target is: AT91EB40
My OS: Linux RedHat 7.0
My eCos: eCos v. 1.3.1 <- downloaded  with cvs (the last version which
support my board)
My GCC: v. 3.0
My GDB: Insight 5.0

I ready installed RedBoot and I tried to run the following program:

 // led_blink.c
#include <stdio.h>

extern void set_leds(int val);

int main(void)
{
  int i=0;
  while(1)
  {
    set_leds(0x04);//red LED
    for(i=1;i<100000;i++);
    set_leds(0x02);//green LED
    for(i=1;i<100000;i++);
  }

  return 0;
}

// end of led_blink.c

within it with "go" command as follow (using minicom from Linux):

RedBoot> load -m y -b 0x02040000      // select the "led_blink.srec"
file and sent it
oint: 0x02020040, address range: 0x02020000-0x02026c4c    // receive
from serial port
xyzModem - CRC mode, 653(SOH)/0(STX)/0(CAN) packets, 6 retries   //
receive from serial port

RedBoot> go  // blocks !!!  (none from the following commands works:
"go", "go 0x02040000" and "go 0x02020040")

This program runs fine with GDB.

So, I don't know what is the error.

Pleace somebody help me.

Thanks !

--

Leonard

             reply	other threads:[~2001-08-06 22:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-06 22:54 Gozman Florian Leonard [this message]
2001-08-06 23:55 ` Gozman Florian Leonard

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=3B6F83E2.4A6A210@bluegem.codec.ro \
    --to=leonard@bluegem.codec.ro \
    --cc=ecos-discuss@sources.redhat.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).