public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Flash Burst Mode, where goes init to?
@ 2005-01-28 10:55 Konstantin Kletschke
  2005-01-28 19:39 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Konstantin Kletschke @ 2005-01-28 10:55 UTC (permalink / raw)
  To: u-boot

Hi!

With u-boot command interface I finally got the burst mode of my intel
28F128K3 device running. Initializing is in three steps:

Tell Flash it should "bursting", write 7F84 into RCR register:

mm.w 0x00007F84 <- 0x60

Then Chipselect 0 is informed:

mm 0x220000 <- 0x00510800

Finally send ACK Command to Flash in burst mode:

mm.w 0x00007F84 <- 0x03

Thats it. Or, in assembler it _should_ look like:

/* initialize burst mode */
        ldr             r0,     =FLASH_ADDRESS
        ldr             r1,     =FLASH_RCR_CMD
        str             r1,   [r0]

        ldr             r0,     =CS0U
        ldr             r1,     =CFG_CS0U_B_VAL
        str             r1,   [r0]

        ldr             r0,     =FLASH_ADDRESS
        ldr             r1,     =FLASH_ACK_CMD
        str             r1,   [r0]
/* end initializing burst mode */

To experiment with different timings and word burst sizes I would like
to implement the code into the u-boot code. But where do I should put
it? I use Motorola ARM9 i.MX CPU on scb9328 board.
If I understood right, 1st memsetup.S is executed, after that the
relocation starts. My reading of the code is vice versa sequence, I am
confused now...

Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF

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

end of thread, other threads:[~2005-01-28 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-28 10:55 [U-Boot-Users] Flash Burst Mode, where goes init to? Konstantin Kletschke
2005-01-28 19:39 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox