On Sat, Dec 19, 2009 at 3:47 PM, David Brownell <[email protected]> wrote:

> On Thursday 17 December 2009, Dean Glazeski wrote:
> > -       mww 0xfffffc20 0x00004001 # CKGR_MOR : enable main oscillator,
> 512 slow clock startup
> > -       sleep 20                  # wait 20 ms (need 15.6 ms for startup)
> > -       mww 0xfffffc30 0x00000001 # PMC_MCKR : switch to main oscillator
> (18.432 MHz)
> > -       sleep 10                  # wait 10 ms
> > -       mww 0xfffffc28 0x2060bf09 # CKGR_PLLAR : 18.432 MHz / 9 * 97 =
> 198.656 MHz, 63 slow clock startup
> > -       sleep 20                  # wait 20 ms (need 1.9 ms for startup)
> > -       mww 0xfffffc30 0x00000101 # PMC_MCKR : no scale on proc clock,
> master is proc / 2
> > -       sleep 10                  # wait 10 ms
> > -       mww 0xfffffc30 0x00000102 # PMC_MCKR : switch to PLLA (99.328
> MHz)
> > +    puts "Setting up clock"
> > +       mww 0xfffffc20 0x00004001 ;# CKGR_MOR : enable main oscillator,
> 512 slow clock startup
> > +       sleep 20                  ;# wait 20 ms (need 15.6 ms for
> startup)
> > +       mww 0xfffffc30 0x00000001 ;# PMC_MCKR : switch to main oscillator
> (18.432 MHz)
> > +       sleep 10                  ;# wait 10 ms
> > +       mww 0xfffffc28 0x2060bf09 ;# CKGR_PLLAR : 18.432 MHz / 9 * 97 =
> 198.656 MHz, 63 slow clock startup
> > +       sleep 20                  ;# wait 20 ms (need 1.9 ms for startup)
> > +       mww 0xfffffc30 0x00000101 ;# PMC_MCKR : no scale on proc clock,
> master is proc / 2
> > +       sleep 10                  ;# wait 10 ms
> > +       mww 0xfffffc30 0x00000102 ;# PMC_MCKR : switch to PLLA (99.328
> MHz)
>
> Could you reissue this without the gratuitous "add semicolon" changes?
> That way we'll be able to see if significant changed...
>
>
I can make this change later, but I thought that was actually valid TCL.  I
saw somewhere that end of line comments like that need to have the
semicolon.  In fact, my editor refuses to highlight the comments as comments
unless I have that semicolon in place.

-- 
// Dean Glazeski
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to