When I enter main, bits 4:0 of PLL0CFG = 4 (those are the MSEL bits).
I was curious why this is the case, because page 30 of the user manual
says the reset value for the MSEL bits = 0.
Is MSEL being changed before main? I'm using the Crossworks compiler.
--- Rich
LPC2148, PLL0CFG register
Started by ●October 30, 2008
Reply by ●October 31, 20082008-10-31
If you used the default startup file that Crossworks uses, then it set
up the PLL.
Jeff
--- In l..., "richdinoso" wrote:
>
> When I enter main, bits 4:0 of PLL0CFG = 4 (those are the MSEL bits).
> I was curious why this is the case, because page 30 of the user
manual
> says the reset value for the MSEL bits = 0.
>
> Is MSEL being changed before main? I'm using the Crossworks compiler.
>
> --- Rich
>
up the PLL.
Jeff
--- In l..., "richdinoso" wrote:
>
> When I enter main, bits 4:0 of PLL0CFG = 4 (those are the MSEL bits).
> I was curious why this is the case, because page 30 of the user
manual
> says the reset value for the MSEL bits = 0.
>
> Is MSEL being changed before main? I'm using the Crossworks compiler.
>
> --- Rich
>
Reply by ●November 1, 20082008-11-01
Thanks Jeff. Is that the crt0.s file?
--- In l..., "ksdoubleshooter" wrote:
>
> If you used the default startup file that Crossworks uses, then it set
> up the PLL.
>
> Jeff
>
> --- In l..., "richdinoso" wrote:
> >
> > When I enter main, bits 4:0 of PLL0CFG = 4 (those are the MSEL bits).
> > I was curious why this is the case, because page 30 of the user
> manual
> > says the reset value for the MSEL bits = 0.
> >
> > Is MSEL being changed before main? I'm using the Crossworks compiler.
> >
> > --- Rich
>
--- In l..., "ksdoubleshooter" wrote:
>
> If you used the default startup file that Crossworks uses, then it set
> up the PLL.
>
> Jeff
>
> --- In l..., "richdinoso" wrote:
> >
> > When I enter main, bits 4:0 of PLL0CFG = 4 (those are the MSEL bits).
> > I was curious why this is the case, because page 30 of the user
> manual
> > says the reset value for the MSEL bits = 0.
> >
> > Is MSEL being changed before main? I'm using the Crossworks compiler.
> >
> > --- Rich
>
Reply by ●November 1, 20082008-11-01
--- In l..., "richdinoso" wrote:
>
> Is that the crt0.s file?
>
The Crossworks crt0.s file is described here:
http://www.rowley.co.uk/documentation/arm_1_7/arm_crt0.htm
... and the general startup process here:
http://www.rowley.co.uk/documentation/arm_1_7/arm_target_support.htm
Chris Burrows
Armaide: Oberon-07 ARM Development System for Windows
http://www.armaide.com
>
> Is that the crt0.s file?
>
The Crossworks crt0.s file is described here:
http://www.rowley.co.uk/documentation/arm_1_7/arm_crt0.htm
... and the general startup process here:
http://www.rowley.co.uk/documentation/arm_1_7/arm_target_support.htm
Chris Burrows
Armaide: Oberon-07 ARM Development System for Windows
http://www.armaide.com