public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Still MBX860 contact problem..
@ 2000-09-20  3:13 Daniel Lind
  2000-09-25  3:08 ` Jesper Skov
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Lind @ 2000-09-20  3:13 UTC (permalink / raw)
  To: ecos-discuss

Hi,
I have installed the stub into ROM (socket XU1) according to the eCos
manual. Something is wrong because I cant get any contact with my target
MBX860. I have used the binary image file gdb_module.bin to program my
ROM. After setting baudrate to 38400 and port to COM1I cant get any
contact with my target in GDB.

This is what it looks like in GDB...
(gdb) set remotebaud 38400
(gdb) target remote COM1
Remote debugging using COM1
Couldn't establish connection to remote target
putpkt: write failed: permission denied
(gdb)_

I have noticed that the gdb_module.bin in loaders/powerpc-mbx supplied
with the eCos installation is of the size 32KB,this differs from the
size of gdb_module.bin  I have build with eCos configuration tool, this
size is 39KB.
Why are they of different sizes? I use the smaller one right now......
Can I have some problem with gdb_module.bin?
How shall I configure the eCos configuration tool to get the right
gdb_module.bin or is it the same size for all configurations?

/Daniel Lind


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

* Re: [ECOS] Still MBX860 contact problem..
  2000-09-20  3:13 [ECOS] Still MBX860 contact problem Daniel Lind
@ 2000-09-25  3:08 ` Jesper Skov
  0 siblings, 0 replies; 2+ messages in thread
From: Jesper Skov @ 2000-09-25  3:08 UTC (permalink / raw)
  To: Daniel Lind; +Cc: ecos-discuss

>>>>> "Daniel" == Daniel Lind <daniel.lind@sth.frontec.se> writes:

Daniel> Hi, I have installed the stub into ROM (socket XU1) according
Daniel> to the eCos manual. Something is wrong because I cant get any
Daniel> contact with my target MBX860. I have used the binary image
Daniel> file gdb_module.bin to program my ROM. After setting baudrate
Daniel> to 38400 and port to COM1I cant get any contact with my target
Daniel> in GDB.

Daniel> This is what it looks like in GDB...  (gdb) set remotebaud
Daniel> 38400 (gdb) target remote COM1 Remote debugging using COM1
Daniel> Couldn't establish connection to remote target putpkt: write
Daniel> failed: permission denied (gdb)_


What does it look like from minicom (or any other terminal emulator)?
Resetting the board should output a string starting with $T. If that
doesn't happen, it may be that the endian selection in your programmer
is wrong (i.e., the flash ends up holding the stub in the wrong endian
mode, preventing execution).

Daniel> I have noticed that the gdb_module.bin in loaders/powerpc-mbx
Daniel> supplied with the eCos installation is of the size 32KB,this
Daniel> differs from the size of gdb_module.bin I have build with eCos
Daniel> configuration tool, this size is 39KB.  Why are they of
Daniel> different sizes? I use the smaller one right now......  Can I
Daniel> have some problem with gdb_module.bin?  How shall I configure
Daniel> the eCos configuration tool to get the right gdb_module.bin or
Daniel> is it the same size for all configurations?

Probably because (a) it's been a while since that stub was built or
(b) some unecessarry packages were removed from the configuration.

Jesper

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

end of thread, other threads:[~2000-09-25  3:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-20  3:13 [ECOS] Still MBX860 contact problem Daniel Lind
2000-09-25  3:08 ` Jesper Skov

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