public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@redhat.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] forwarded message from Ling Su
Date: Mon, 22 Jan 2001 13:21:00 -0000	[thread overview]
Message-ID: <14956.42055.922132.903144@thinktwice.zoftcorp.dk> (raw)

To : "Jesper Skov" <jskov at redhat dot com>
Subject : Re: [ECOS] Anyone tried uses PMON instead of GDBstubs on VRC4373.
From : "Ling Su" <lingsu at palmmicro dot com>
Date : Mon, 22 Jan 2001 12:24:11 -0800
References : < 008a01c08254$d3e81540$0201a8c0@raccoon > < otk87ot1sx.fsf@thinktwice.zoftcorp.dk >

> Ling> Hi, Dear All, Previously we were working with eCos on
> Ling> DDB-VRC4373 board. But I checked with NEC rep, the VRC4373 is
> Ling> obselete, the new version is VRC4375. These two boards have few
> Ling> differences, most important is the system bus controller
> Ling> (vrc4375 instead of vrc4373). Unfortunately I found the old GDB
> Ling> monitor doesn't work on the new board. But the PMON comes
> Ling> together with the board is working, I wonder if anyone tried use
> Ling> PMON with eCos on NEC DDB-VRC4373 platform. If it works, I guess
> Ling> I can test my old application is working on the new
> Ling> board. Thanks!
>
> Set the CYGSEM_HAL_USE_ROM_MONITOR option to PMON.
>

I changed to Little Endian by enable LSBFIRST macro define, and compile the
code using PMON monitor option. It seems don't work. I found the toolchain
provide by NEC(Actually Cygnus tool) uses a -Tddb.ld option. The ddb.ld
linker script might be different from what we use in eCos (target.ld). Can I
just apply the ddb.ld instead of target.ld?

 I think the most import thing for me now is to get a GDB stub working. I
want to save the time to burn new EPROM, so I follow the document on eCos
website, to run the stub from RAM startup first since I have a working
monitor PMON now. But I am not that clear on how to make a "load and go" GDB
stub working with my PMON. From my current point of view, I don't know if
the linker scripts target.ld is compatible with ddb.ld of PMON. Is this be a
patential problem?

Supposely I change to CYGSEM_HAL_USE_ROM_MONITOR option to PMON, and
CYG_HAL_STARTUP option to RAM, the gdb stub elf format file can work with
PMON, is this understanding correct?

Thanks Jesper for your kindly reply! Thanks Jonathan, too! You always give
me a lot of help!

Regards,
-Ling

             reply	other threads:[~2001-01-22 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-22 13:21 Jesper Skov [this message]
2001-01-23  0:40 ` Ling Su

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=14956.42055.922132.903144@thinktwice.zoftcorp.dk \
    --to=jskov@redhat.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).