public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Samsung 44B0 porting
@ 2002-11-11 21:44 AL Chane
  2002-11-12  0:38 ` [ECOS] standalone application run on RAM or ROM peter_ku
  0 siblings, 1 reply; 3+ messages in thread
From: AL Chane @ 2002-11-11 21:44 UTC (permalink / raw)
  To: ecos-discuss

I am trying to port eCos to a Samsung 44B0 board(core is ARM7TDMI),
using E7T as the template to modify and build a GDB stub for 44B0 board.

Use objcopy.exe to convert gdb_module.img to gdb_module.bin
Use 44B0 board's monitor program to load gdb_module.bin to
the memory (for application use) and run. The monitor program
shows "undefined instruction exception!" I'm not sure what does
it mean. I suspect that the 44B0 can't recognize gdb_module.bin
at all. For E7T, an UUencoded conversion is needed. Any conversion
of image file is required? What might be wrong? 

thanks for the help!

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

* [ECOS] standalone application run on RAM or ROM
  2002-11-11 21:44 [ECOS] Samsung 44B0 porting AL Chane
@ 2002-11-12  0:38 ` peter_ku
  2002-11-12  0:42   ` Andrew Lunn
  0 siblings, 1 reply; 3+ messages in thread
From: peter_ku @ 2002-11-12  0:38 UTC (permalink / raw)
  To: ecos-discuss

Hi,

If I build the application with ROM mode, and put it into flash.
After it execute, will it copy itself to RAM , and run from RAM?   or run from ROM directly?   should I enable some option in the ecos-configuration tool?

How about Red boot? Do redboot copy itself to RAM?

Thanks a lot.

Peter

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

* Re: [ECOS] standalone application run on RAM or ROM
  2002-11-12  0:38 ` [ECOS] standalone application run on RAM or ROM peter_ku
@ 2002-11-12  0:42   ` Andrew Lunn
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Lunn @ 2002-11-12  0:42 UTC (permalink / raw)
  To: peter_ku; +Cc: ecos-discuss

On Tue, Nov 12, 2002 at 04:37:31PM +0800, peter_ku wrote:
> Hi,
> 
> If I build the application with ROM mode, and put it into flash.
> After it execute, will it copy itself to RAM , and run from RAM?   or run from ROM directly?   should I enable some option in the ecos-configuration tool?
> 
> How about Red boot? Do redboot copy itself to RAM?
> 
> Thanks a lot.

RAM applications run in RAM
ROM application run in ROM
ROMRAM application live in ROM, but copy themselves into RAM before running.

Redboot is just a normal application. It does nothing special.

Not all HALs support ROMRAM.

    Andrew

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

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

end of thread, other threads:[~2002-11-12  8:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-11 21:44 [ECOS] Samsung 44B0 porting AL Chane
2002-11-12  0:38 ` [ECOS] standalone application run on RAM or ROM peter_ku
2002-11-12  0:42   ` Andrew Lunn

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