Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

BOOT0/BOOT1 on Olimex E2294

BOOT0/BOOT1 on Olimex E2294

2006-02-16 by davidbinar

Hi
I have the Olimex E2294 board and I'm trying to figure out how the 
two jumpers for BOOT0 / BOOT1 work. According to the hardware 
description from Olimex you can set the memory width:

(BOOT1:BOOT0) 
0:0 = 8 bits 
0:1 = 16 bits 
1:1 = 32 bits 

But according to the LPC2294 user manual p.122:

(BOOT1:BOOT0) 
0:0 = 8 bits on CS0 
0:1 = 16 bits on CS0 
1:0 = 32 bits on CS0 
1:1 = Internal flash memory

So my guess is that the third option according to the Olimex manual 
is wrong and instead of enabeling 32 bits width you boot from 
internal flash. Is that right?

Even so, no mather how I put the jumpers the testprogram the board 
shipped with always runs. Can someone explain this for me? 

Kindest regards
David

CRSR_c

2006-02-16 by George M. Gallant, Jr.

I notice in many assembly language examples the use of CPSR_c
& CPSR_cxsf but donot understand the differences.

Thanks,
    George


[Non-text portions of this message have been removed]

Re: CRSR_c

2006-02-16 by brendanmurphy37

The suffix to CPSR refers to which field(s) of the CPSR is 
rereferenced (you can specify one or more). Defined fields are:

c - control
f - flags
s - status
x - extension

Thus., for example, you can update only those parts of the CPSR that 
are of interest. See a description of the CPSR for details.

Brendan

--- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
<ggallant571@...> wrote:
Show quoted textHide quoted text
>
> I notice in many assembly language examples the use of CPSR_c
> & CPSR_cxsf but donot understand the differences.
> 
> Thanks,
>     George
> 
> 
> [Non-text portions of this message have been removed]
>

Re: [lpc2000] Re: CRSR_c

2006-02-16 by George M. Gallant, Jr.

Thanks,

The description is included with the MSR instruction. Another case of
RTFM.

George

On Thu, 2006-02-16 at 18:47 +0000, brendanmurphy37 wrote:

> 
> The suffix to CPSR refers to which field(s) of the CPSR is 
> rereferenced (you can specify one or more). Defined fields are:
> 
> c - control
> f - flags
> s - status
> x - extension
> 
> Thus., for example, you can update only those parts of the CPSR that 
> are of interest. See a description of the CPSR for details.
> 
> Brendan
> 
> --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> <ggallant571@...> wrote:
> >
> > I notice in many assembly language examples the use of CPSR_c
> > & CPSR_cxsf but donot understand the differences.
> > 
> > Thanks,
> >     George
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
> 
> 
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Microcontrollers 
> Microprocessor 
> Intel microprocessors 
> Pic microcontrollers 
> 
> 
> 
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
> 
> 
>      1.  Visit your group "lpc2000" on the web.
>           
>      2.  To unsubscribe from this group, send an email to:
>          lpc2000-unsubscribe@yahoogroups.com
>           
>      3.  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>         Service.
> 
> 
> 
> ______________________________________________________________________
> 
> 


[Non-text portions of this message have been removed]

Re: [lpc2000] Re: CRSR_c

2006-02-17 by George M. Gallant, Jr.

Is it possible to load the SPSR in the lpc2214.

For example:

                   mov    r0, #0xD0           ;set previous mode to user
                   msr     spsr_cxsf, r0

I do this at boot and then read and display CPSR & SPSR

        CPSR = 0x000000D3
        SPSR = 0x800000D3

George

On Thu, 2006-02-16 at 18:47 +0000, brendanmurphy37 wrote:

> 
> The suffix to CPSR refers to which field(s) of the CPSR is 
> rereferenced (you can specify one or more). Defined fields are:
> 
> c - control
> f - flags
> s - status
> x - extension
> 
> Thus., for example, you can update only those parts of the CPSR that 
> are of interest. See a description of the CPSR for details.
> 
> Brendan
> 
> --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> <ggallant571@...> wrote:
> >
> > I notice in many assembly language examples the use of CPSR_c
> > & CPSR_cxsf but donot understand the differences.
> > 
> > Thanks,
> >     George
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
> 
> 
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Microcontrollers 
> Microprocessor 
> Intel microprocessors 
> Pic microcontrollers 
> 
> 
> 
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
> 
> 
>      1.  Visit your group "lpc2000" on the web.
>           
>      2.  To unsubscribe from this group, send an email to:
>          lpc2000-unsubscribe@yahoogroups.com
>           
>      3.  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>         Service.
> 
> 
> 
> ______________________________________________________________________
> 
> 


[Non-text portions of this message have been removed]

Re: CRSR_c - or where to get info on the CPU

2006-02-18 by brendanmurphy37

George,

I don't know the answer to your specific question off-hand. However, 
I'm sure you'd find it helpful to get some documentation on ARM 
processors.

One of the problems with micros that use standard (as opposed to 
proprietary) cores, such as ARM, is that the manufacturers tend not 
to repeat documentation that can be found elsewhere. This is a bit 
inconvenient.

The best source for information you require is direct from ARM. 
Check out the ARM7TDMI Technical Reference Manual, which can be 
found at: 

http://www.arm.com/documentation/ARMProcessor_Cores/index.html

This covers all the LPC2xxx series.

The standard reference for ARM is the "ARM ARM" (real title: "ARM 
Technnical Reference Manual"). Unfortuntely, they expect you to pay 
for this. It's a really useful reference to have though. See:

http://www.amazon.com/gp/product/0201737191/sr=8-
1/qid=1140242347/ref=pd_bbs_1/102-6410308-4751357?%5Fencoding=UTF8

Hope this helps.

Brendan

--- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
<ggallant571@...> wrote:
>
> Is it possible to load the SPSR in the lpc2214.
> 
> For example:
> 
>                    mov    r0, #0xD0           ;set previous mode 
to user
>                    msr     spsr_cxsf, r0
> 
> I do this at boot and then read and display CPSR & SPSR
> 
>         CPSR = 0x000000D3
>         SPSR = 0x800000D3
> 
> George
> 
> On Thu, 2006-02-16 at 18:47 +0000, brendanmurphy37 wrote:
> 
> > 
> > The suffix to CPSR refers to which field(s) of the CPSR is 
> > rereferenced (you can specify one or more). Defined fields are:
> > 
> > c - control
> > f - flags
> > s - status
> > x - extension
> > 
> > Thus., for example, you can update only those parts of the CPSR 
that 
> > are of interest. See a description of the CPSR for details.
> > 
> > Brendan
> > 
> > --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> > <ggallant571@> wrote:
> > >
> > > I notice in many assembly language examples the use of CPSR_c
> > > & CPSR_cxsf but donot understand the differences.
> > > 
> > > Thanks,
> > >     George
> > > 
> > > 
> > > [Non-text portions of this message have been removed]
> > >
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > SPONSORED LINKS 
> > 
> > Microcontrollers 
> > Microprocessor 
> > Intel microprocessors 
> > Pic microcontrollers 
> > 
> > 
> > 
> > 
_____________________________________________________________________
_
> > YAHOO! GROUPS LINKS
> > 
> > 
> >      1.  Visit your group "lpc2000" on the web.
> >           
> >      2.  To unsubscribe from this group, send an email to:
> >          lpc2000-unsubscribe@yahoogroups.com
> >           
> >      3.  Your use of Yahoo! Groups is subject to the Yahoo! 
Terms of
> >         Service.
> > 
> > 
> > 
> > 
_____________________________________________________________________
_
Show quoted textHide quoted text
> > 
> > 
> 
> 
> [Non-text portions of this message have been removed]
>

Re: CRSR_c - or where to get info on the CPU

2006-02-18 by brendanmurphy37

For those baffled by the info given below, the "ARM ARM" is of 
course the "ARM Architectural Reference Manual". Please excuse the 
brain fade....

Brendan

--- In lpc2000@yahoogroups.com, "brendanmurphy37" 
<brendan.murphy@...> wrote:
>
> 
> George,
> 
> I don't know the answer to your specific question off-hand. 
However, 
> I'm sure you'd find it helpful to get some documentation on ARM 
> processors.
> 
> One of the problems with micros that use standard (as opposed to 
> proprietary) cores, such as ARM, is that the manufacturers tend 
not 
> to repeat documentation that can be found elsewhere. This is a bit 
> inconvenient.
> 
> The best source for information you require is direct from ARM. 
> Check out the ARM7TDMI Technical Reference Manual, which can be 
> found at: 
> 
> http://www.arm.com/documentation/ARMProcessor_Cores/index.html
> 
> This covers all the LPC2xxx series.
> 
> The standard reference for ARM is the "ARM ARM" (real title: "ARM 
> Technnical Reference Manual"). Unfortuntely, they expect you to 
pay 
> for this. It's a really useful reference to have though. See:
> 
> http://www.amazon.com/gp/product/0201737191/sr=8-
> 1/qid=1140242347/ref=pd_bbs_1/102-6410308-4751357?%5Fencoding=UTF8
> 
> Hope this helps.
> 
> Brendan
> 
> --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> <ggallant571@> wrote:
> >
> > Is it possible to load the SPSR in the lpc2214.
> > 
> > For example:
> > 
> >                    mov    r0, #0xD0           ;set previous mode 
> to user
> >                    msr     spsr_cxsf, r0
> > 
> > I do this at boot and then read and display CPSR & SPSR
> > 
> >         CPSR = 0x000000D3
> >         SPSR = 0x800000D3
> > 
> > George
> > 
> > On Thu, 2006-02-16 at 18:47 +0000, brendanmurphy37 wrote:
> > 
> > > 
> > > The suffix to CPSR refers to which field(s) of the CPSR is 
> > > rereferenced (you can specify one or more). Defined fields are:
> > > 
> > > c - control
> > > f - flags
> > > s - status
> > > x - extension
> > > 
> > > Thus., for example, you can update only those parts of the 
CPSR 
> that 
> > > are of interest. See a description of the CPSR for details.
> > > 
> > > Brendan
> > > 
> > > --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> > > <ggallant571@> wrote:
> > > >
> > > > I notice in many assembly language examples the use of CPSR_c
> > > > & CPSR_cxsf but donot understand the differences.
> > > > 
> > > > Thanks,
> > > >     George
> > > > 
> > > > 
> > > > [Non-text portions of this message have been removed]
> > > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > SPONSORED LINKS 
> > > 
> > > Microcontrollers 
> > > Microprocessor 
> > > Intel microprocessors 
> > > Pic microcontrollers 
> > > 
> > > 
> > > 
> > > 
> 
_____________________________________________________________________
> _
> > > YAHOO! GROUPS LINKS
> > > 
> > > 
> > >      1.  Visit your group "lpc2000" on the web.
> > >           
> > >      2.  To unsubscribe from this group, send an email to:
> > >          lpc2000-unsubscribe@yahoogroups.com
> > >           
> > >      3.  Your use of Yahoo! Groups is subject to the Yahoo! 
> Terms of
> > >         Service.
> > > 
> > > 
> > > 
> > > 
> 
_____________________________________________________________________
Show quoted textHide quoted text
> _
> > > 
> > > 
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
>

Re: [lpc2000] Re: CRSR_c - or where to get info on the CPU

2006-02-18 by George M. Gallant, Jr.

Thanks Brendan.

I don't understand the documentation about switching modes.
During startup I cycle thru each mode and allocate a default
stack. After that I switch back to SVC mode. According to the
documentation this should fail as switching from SYS to SVC
can only occur as a result of an exception.

George

On Sat, 2006-02-18 at 06:13 +0000, brendanmurphy37 wrote:

> 
> George,
> 
> I don't know the answer to your specific question off-hand. However, 
> I'm sure you'd find it helpful to get some documentation on ARM 
> processors.
> 
> One of the problems with micros that use standard (as opposed to 
> proprietary) cores, such as ARM, is that the manufacturers tend not 
> to repeat documentation that can be found elsewhere. This is a bit 
> inconvenient.
> 
> The best source for information you require is direct from ARM. 
> Check out the ARM7TDMI Technical Reference Manual, which can be 
> found at: 
> 
> http://www.arm.com/documentation/ARMProcessor_Cores/index.html
> 
> This covers all the LPC2xxx series.
> 
> The standard reference for ARM is the "ARM ARM" (real title: "ARM 
> Technnical Reference Manual"). Unfortuntely, they expect you to pay 
> for this. It's a really useful reference to have though. See:
> 
> http://www.amazon.com/gp/product/0201737191/sr=8-
> 1/qid=1140242347/ref=pd_bbs_1/102-6410308-4751357?%5Fencoding=UTF8
> 
> Hope this helps.
> 
> Brendan
> 
> --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> <ggallant571@...> wrote:
> >
> > Is it possible to load the SPSR in the lpc2214.
> > 
> > For example:
> > 
> >                    mov    r0, #0xD0           ;set previous mode 
> to user
> >                    msr     spsr_cxsf, r0
> > 
> > I do this at boot and then read and display CPSR & SPSR
> > 
> >         CPSR = 0x000000D3
> >         SPSR = 0x800000D3
> > 
> > George
> > 
> > On Thu, 2006-02-16 at 18:47 +0000, brendanmurphy37 wrote:
> > 
> > > 
> > > The suffix to CPSR refers to which field(s) of the CPSR is 
> > > rereferenced (you can specify one or more). Defined fields are:
> > > 
> > > c - control
> > > f - flags
> > > s - status
> > > x - extension
> > > 
> > > Thus., for example, you can update only those parts of the CPSR 
> that 
> > > are of interest. See a description of the CPSR for details.
> > > 
> > > Brendan
> > > 
> > > --- In lpc2000@yahoogroups.com, "George M. Gallant, Jr." 
> > > <ggallant571@> wrote:
> > > >
> > > > I notice in many assembly language examples the use of CPSR_c
> > > > & CPSR_cxsf but donot understand the differences.
> > > > 
> > > > Thanks,
> > > >     George
> > > > 
> > > > 
> > > > [Non-text portions of this message have been removed]
> > > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > SPONSORED LINKS 
> > > 
> > > Microcontrollers 
> > > Microprocessor 
> > > Intel microprocessors 
> > > Pic microcontrollers 
> > > 
> > > 
> > > 
> > > 
> _____________________________________________________________________
> _
> > > YAHOO! GROUPS LINKS
> > > 
> > > 
> > >      1.  Visit your group "lpc2000" on the web.
> > >           
> > >      2.  To unsubscribe from this group, send an email to:
> > >          lpc2000-unsubscribe@yahoogroups.com
> > >           
> > >      3.  Your use of Yahoo! Groups is subject to the Yahoo! 
> Terms of
> > >         Service.
> > > 
> > > 
> > > 
> > > 
> _____________________________________________________________________
> _
> > > 
> > > 
> > 
> > 
> > [Non-text portions of this message have been removed]
> >
> 
> 
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Microcontrollers 
> Microprocessor 
> Intel microprocessors 
> Pic microcontrollers 
> 
> 
> 
> ______________________________________________________________________
> YAHOO! GROUPS LINKS
> 
> 
>      1.  Visit your group "lpc2000" on the web.
>           
>      2.  To unsubscribe from this group, send an email to:
>          lpc2000-unsubscribe@yahoogroups.com
>           
>      3.  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>         Service.
> 
> 
> 
> ______________________________________________________________________
> 
> 


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.