public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] assabet "hello world" error
@ 2000-12-11  5:47 Jun Wu
  2000-12-11  6:01 ` Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Jun Wu @ 2000-12-11  5:47 UTC (permalink / raw)
  To: ecos-discuss

Hi all, 
I run hello "hello world" examples in assabet, but occurs.
Anybody help me solve it?

(PS: cofiguration: assabet gdb stubs, eCos assabet default template)

$arm-elf-gdb -nw hello.exe
(gdb)set remotebaud 38400
Remote debugging using COM1
0x500014b8 in ?? ()
(gdb)load
Loading section .rom_vectors, size 0x44 lma 0x50000000
Loading section .text, size 0xf068 lda 0x50000044
Ignoring packet error, continuing...
Ignoring packet error, continuing...
Ignoring packet error, continuing...
...




Jun Wu

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

* RE: [ECOS] assabet "hello world" error
  2000-12-11  5:47 [ECOS] assabet "hello world" error Jun Wu
@ 2000-12-11  6:01 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2000-12-11  6:01 UTC (permalink / raw)
  To: Jun Wu; +Cc: ecos-discuss

On 11-Dec-2000 Jun Wu wrote:
> Hi all, 
> I run hello "hello world" examples in assabet, but occurs.
> Anybody help me solve it?
> 
> (PS: cofiguration: assabet gdb stubs, eCos assabet default template)
> 
> $arm-elf-gdb -nw hello.exe
> (gdb)set remotebaud 38400
> Remote debugging using COM1
> 0x500014b8 in ?? ()
> (gdb)load
> Loading section .rom_vectors, size 0x44 lma 0x50000000
> Loading section .text, size 0xf068 lda 0x50000044
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...
> Ignoring packet error, continuing...

You need to configure the eCos kernel to run in RAM mode in order to
use GDB to load/execute the program.  My guess is that you've built
the "hello" application using eCos set up for ROM (possibly stubs) mode.

To create a default eCos configuration, which includes RAM startup:
  # mkdir assabet_eCos
  # cd assabet_eCos
  # ecosconfig new assabet
  # ecosconfig tree
  # make

These steps configure and build the eCos kernel for the Assabet board.
The result is a library which lives in .../assabet_eCos/install/lib.
Use this when you build the "hello" example application.

Note: this is the same process used for all eCos applications.  Just
replace the 'assabet' in the "ecosconfig" line above with your platform.


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

end of thread, other threads:[~2000-12-11  6:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-11  5:47 [ECOS] assabet "hello world" error Jun Wu
2000-12-11  6:01 ` Gary Thomas

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