public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Daniel.Andersson@combitechsystems.com
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] gdb hang
Date: Fri, 20 Apr 2001 07:14:00 -0000	[thread overview]
Message-ID: <3AE04436.849175C0@redhat.com> (raw)
In-Reply-To: <2253171AF143D21185A60000F8FA748B02DA4CBE@pluto.combitech.se>

Daniel.Andersson@combitechsystems.com wrote:
> 
> Hi,
> 
> When i have downloaded eCos to my EB40 board and trying to run it then it
> hangs on the same line every time. It is the last line in the clip below
> (104):
> 
> -----------clip------------------
> 86      #ifdef CYGDBG_INFRA_DIAG_USE_DEVICE
> 87
> 88      // Initialize after IO devices.
> 89      static Cyg_dummy_diag_init_class cyg_dummy_diag_init_obj
> 90
> CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_IO);
> 91
> 92
> /*----------------------------------------------------------------------*/
> 93      /* Write single char to output
> */
> 94
> 95      externC void diag_write_char(char c)
> 96      {
> 97          diag_device_write_char(c);
> 98      }
> 99
> 100     #else
> 101
> 102     // Initialize after HAL.
> 103     static Cyg_dummy_diag_init_class cyg_dummy_diag_init_obj
> 104
> CYGBLD_ATTRIB_INIT_AFTER(CYG_INIT_HAL);
> -----------clip------------------
> 
> Why is this function used? Can i disable it or in some other way come around
> the problem?

It initializes the serial port. It may indicate that the default port
parameters in the hal_diag part of the platform HAL do not correspond with
what's being used before that. For example if the ROM monitor that loaded
the program was intended to work at 38K4, but the application was built
assuming 57K6, or whatever.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

      reply	other threads:[~2001-04-20  7:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-20  4:46 Daniel.Andersson
2001-04-20  7:14 ` Jonathan Larmour [this message]

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=3AE04436.849175C0@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=Daniel.Andersson@combitechsystems.com \
    --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).