public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Programming flash?
@ 2001-01-24 19:06 Paul Pham
  2001-01-24 20:22 ` Lewin A.R.W. Edwards
  2001-01-25  7:20 ` Grant Edwards
  0 siblings, 2 replies; 4+ messages in thread
From: Paul Pham @ 2001-01-24 19:06 UTC (permalink / raw)
  To: ecos-discuss

Hi all,

My team and I are designing a board around the Samsung S3C3410x, based on
the ARM7TDMI, booting off Flash memory. Does anyone have any recommendations
for ways to program Flash with only one serial port?

Also, does anyone know if the S3C3410x is little-endian or big-endian? I
believe the ARM7 is little-endian by default, and there is a big-endian pin
on the processor core that determines whether it is big-endian or
little-endian. Unfortunately, I can't find which it is in the Samsung
documentation.

Many thanks,
Paul

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

* Re: [ECOS] Programming flash?
  2001-01-24 19:06 [ECOS] Programming flash? Paul Pham
@ 2001-01-24 20:22 ` Lewin A.R.W. Edwards
  2001-01-25  7:22   ` Grant Edwards
  2001-01-25  7:20 ` Grant Edwards
  1 sibling, 1 reply; 4+ messages in thread
From: Lewin A.R.W. Edwards @ 2001-01-24 20:22 UTC (permalink / raw)
  To: Paul Pham, ecos-discuss

Hello Paul,

>My team and I are designing a board around the Samsung S3C3410x, based on
>the ARM7TDMI, booting off Flash memory. Does anyone have any 
>recommendations for ways to program Flash with only one serial port?

Load the flasher program into RAM, and run the upgrade out of RAM using 
polled serial I/O to avoid annoyance and complications with interrupt tables.

>Also, does anyone know if the S3C3410x is little-endian or big-endian? I
>believe the ARM7 is little-endian by default, and there is a big-endian pin
>on the processor core that determines whether it is big-endian or
>little-endian. Unfortunately, I can't find which it is in the Samsung
>documentation.

If you can't find a pin that is documented to have this behavior, then that 
connection point on the core is probably tied internally and not brought 
out to a pin.

=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."

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

* Re: [ECOS] Programming flash?
  2001-01-24 19:06 [ECOS] Programming flash? Paul Pham
  2001-01-24 20:22 ` Lewin A.R.W. Edwards
@ 2001-01-25  7:20 ` Grant Edwards
  1 sibling, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2001-01-25  7:20 UTC (permalink / raw)
  To: Paul Pham; +Cc: ecos-discuss

On Wed, Jan 24, 2001 at 10:06:19PM -0500, Paul Pham wrote:

> My team and I are designing a board around the Samsung
> S3C3410x, based on the ARM7TDMI, booting off Flash memory. Does
> anyone have any recommendations for ways to program Flash with
> only one serial port?

Assuming you've got working code in the flash to start with
(!), one generally downloads an application into RAM that burns
the flash.

> Also, does anyone know if the S3C3410x is little-endian or
> big-endian? 

The CPU will operate in either big-endian or little-endian
mode.  The external memory interface will operate in either big
or little endian mode.  However, the internal registers and
peripherals are hooked up for big-endian mode.

See page 4-1 in the users manual.

In older versions of the part external memory worked only in
big-endian mode. But in the current parts, external memory will
work either way -- but it's sort of moot since internal
peripherals are big-endian.

-- 
Grant Edwards
grante@visi.com

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

* Re: [ECOS] Programming flash?
  2001-01-24 20:22 ` Lewin A.R.W. Edwards
@ 2001-01-25  7:22   ` Grant Edwards
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Edwards @ 2001-01-25  7:22 UTC (permalink / raw)
  To: Lewin A.R.W. Edwards; +Cc: Paul Pham, ecos-discuss

> >Also, does anyone know if the S3C3410x is little-endian or big-endian? I
> >believe the ARM7 is little-endian by default, and there is a big-endian pin
> >on the processor core that determines whether it is big-endian or
> >little-endian. Unfortunately, I can't find which it is in the Samsung
> >documentation.
> 
> If you can't find a pin that is documented to have this behavior, then that 
> connection point on the core is probably tied internally and not brought 
> out to a pin.

It's pin 49 (LITTLE).  It needs to be tied low to operate in
big-endian mode.

-- 
Grant Edwards
grante@visi.com

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

end of thread, other threads:[~2001-01-25  7:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24 19:06 [ECOS] Programming flash? Paul Pham
2001-01-24 20:22 ` Lewin A.R.W. Edwards
2001-01-25  7:22   ` Grant Edwards
2001-01-25  7:20 ` 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).