Skip to contentSkip to conversation

Flash Burst Mode, where goes init to?

U-Boot-Users Konstantin Kletschke 2 participants 2 messages Jan 28, 2005

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF
#1 lore raw
Quoted 3 lines · In message <20050128105542.GC8252@synertronixx3> you wrote:

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

...

Quoted 3 lines

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.

It should go in the flash init routine which initializes the flash devices.

Best regards,

Wolfgang Denk

Signature · 2 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Quoted 1 line

Is there a way to determine Yesterday's date using Unix utilities?

echo "what is yesterday's date?" | /bin/mail root -- Randal L. Schwartz in <[email protected]>