From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konstantin Kletschke Date: Fri, 28 Jan 2005 11:55:43 +0100 Subject: [U-Boot-Users] Flash Burst Mode, where goes init to? Message-ID: <20050128105542.GC8252@synertronixx3> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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