public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] forwarded message from Ling Su
@ 2001-01-22 13:21 Jesper Skov
  2001-01-23  0:40 ` Ling Su
  0 siblings, 1 reply; 2+ messages in thread
From: Jesper Skov @ 2001-01-22 13:21 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] forwarded message from Ling Su
  2001-01-22 13:21 [ECOS] forwarded message from Ling Su Jesper Skov
@ 2001-01-23  0:40 ` Ling Su
  0 siblings, 0 replies; 2+ messages in thread
From: Ling Su @ 2001-01-23  0:40 UTC (permalink / raw)
  To: Jesper Skov, ecos-discuss

> 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.
>

Can I use the eCos mips64vr4300-elf-gdb with PMON, I tried to connect it
with PMON, even I set the remotebaud to 9600, which is default value for
PMON, when I tried to "target remote /dev/ttyS0", the response is,
"Couldn't establish connection to remote target, Malformed response to
offset query, qOffsets".

Where I can find a working verison gdb with PMON in Linux? The board comes
together with a Cygwin version toolchain, I found it is hard to compile in
Linux platform. I am just wondering why the gdb working with eCos GDBstubs
can not working with PMON? By the way, I changed the
CYGSEM_HAL_USE_ROM_MONITOR option to PMON when I compile the eCos tests. Any
hints? Thanks!

Rgds,
-Ling

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-01-23  0:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-22 13:21 [ECOS] forwarded message from Ling Su Jesper Skov
2001-01-23  0:40 ` Ling Su

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).