LPC2000

From: Artem (artem.bond_at_gmail.com)
Date: 03/30/05

  • Next message: Artem: "Verilog modeling."
    Date: 29 Mar 2005 23:25:11 -0800
    
    

    Hi all.

    Could anyone explane me about ARM timing.
    I have a LPC2294 and external RAM (32, 0ws).

    Source:
            while(1)
            {
                    volatile uint32_t* extRam = (uint32_t*)0x80000000;
                    register uint32_t zero = 0;
                    register uint32_t one = 0xffffffff;

                    extRam[0] = zero;
                    extRam[0] = one;
                    extRam[0] = zero;
                    extRam[0] = one;
    ........................
    ........................
                    extRam[0] = zero;
                    extRam[0] = one;
            }
    }

     497 mov r3, #-2147483648
     498 0348 FEFFFFEB mov r1, #0
     499 034c 0231A0E3 mvn r2, #0
     500 0350 0010A0E3 .L42:
     501 0354 0020E0E3 .LBE11:

     507 str r1, [r3, #0]
     508 .loc 1 337 0
     509 0358 001083E5 str r2, [r3, #0]
     510 .loc 1 338 0
     511 035c 002083E5 str r1, [r3, #0]
     512 .loc 1 339 0
     513 0360 001083E5 str r2, [r3, #0]
     514 .loc 1 340 0
     515 0364 002083E5 str r1, [r3, #0]
     516 .loc 1 341 0
     517 0368 001083E5 str r2, [r3, #0]
     518 .loc 1 342 0
     519 036c 002083E5 str r1, [r3, #0]
     520 .loc 1 343 0
    ........................
    ........................

    So i'ts software only set 4 bytes in external memory to from 0x000000
    to 0xffffff.
    If I understand right, str command take a one clock cycle, and writing
    to extRam another cycle.
    But when I check by oscilloscope, I have only 10mZh at data bus. I
    check BLS signal. I'ts 1 with two cycles and 0 (writing) one cycle.

    Why it's take 3 cycles?


  • Next message: Artem: "Verilog modeling."

    Relevant Pages

    • Re: GL Un-casting spoiler
      ... cycle of bringing characters in, ... (or, alternatively, sticking them in incredibly unappealing ... the cycle, possibly involving multiple recasts of the same character, ... and overcome the weaknesses in the writing. ...
      (rec.arts.tv.soaps.cbs)
    • Re: Write to a binary file
      ... I'm using Python 2.4.2 on an ARM platform. ... cycle of one writing into several pieces. ... one "transaction". ...
      (comp.lang.python)
    • Write to a binary file
      ... I'm using Python 2.4.2 on an ARM platform. ... cycle of one writing into several pieces. ... one "transaction". ...
      (comp.lang.python)
    • Re: Yet another way to fund BW
      ... : Will Chapman wrote: ... :> As I'm writing this I'm even wondering if this could be the basis of a ... pocket to cycle the towpaths he would simply cycle somewhere else. ...
      (uk.rec.waterways)
    • Re: Array.Clear vs List<>.Clear
      ... There isn't a mechanism to do this, but writing your own is easy: ... // Cycle through the list and set the item to the default. ... Array.Clear sets all elements of the array to their default values (0, ... loop across the list isn't incredible. ...
      (microsoft.public.dotnet.languages.csharp)