From: Konstantin Kletschke <lists@ku-gbr.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Flash Burst Mode, where goes init to?
Date: Fri, 28 Jan 2005 11:55:43 +0100 [thread overview]
Message-ID: <20050128105542.GC8252@synertronixx3> (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
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
next reply other threads:[~2005-01-28 10:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-28 10:55 Konstantin Kletschke [this message]
2005-01-28 19:39 ` [U-Boot-Users] Flash Burst Mode, where goes init to? Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050128105542.GC8252@synertronixx3 \
--to=lists@ku-gbr.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox