public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Loading programs into RAM with Multi-ICE
@ 2001-02-12 17:02 Paul Pham
  2001-02-13  7:34 ` [ECOS] " Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Pham @ 2001-02-12 17:02 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

I am trying to load a program into SRAM with Multi-ICE
on a custom board designed around Samsung's S3C3410x
(an ARM7TDMI-based chip). The board has flash, but it
is blank, which is why I'm trying to load programs
into SRAM.

In the appropriate registers (BANKCON0 and BANKCON1),
I've set flash to be bank 0 from 0x80000 to 0x480000,
and I've set SRAM to be bank 1 from 0x0 to 0x80000.
I've enabled chip select 1, byte enable, and write
enable. I've linked my program with armlink to have an
ro-base of 0x0, so the entry point will be in SRAM.

However, when I try to load the program into SRAM
using ARM's Debugger, the image does not appear in any
of the memory locations assigned to SRAM. Does anyone
have any suggestions?

Thanks,
Paul

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

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

* [ECOS] Re: Loading programs into RAM with Multi-ICE
  2001-02-12 17:02 [ECOS] Loading programs into RAM with Multi-ICE Paul Pham
@ 2001-02-13  7:34 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2001-02-13  7:34 UTC (permalink / raw)
  To: Paul Pham; +Cc: ecos-discuss

Paul Pham writes:

> However, when I try to load the program into SRAM
> using ARM's Debugger, the image does not appear in any
> of the memory locations assigned to SRAM. Does anyone
> have any suggestions?

Can you write to SRAM using "set" commands in gdb?

-- 
Grant Edwards
grante@visi.com

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

end of thread, other threads:[~2001-02-13  7:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-12 17:02 [ECOS] Loading programs into RAM with Multi-ICE Paul Pham
2001-02-13  7:34 ` [ECOS] " Grant Edwards

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