Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] ARM mode

2005-10-17 by Tom Walsh

wiese_matthias wrote:

>Hi,
>we are programming a lpc2294 and have problems with the ARM/THUMB mode.
>We'd like to use the mixed mode (arm & thumb mode) to save time
>loading the programs from a 16-Bit flash memory. Unfortunately the
>program get stucked if an interrupts occurs when we are using the
>mixed mode. With the arm mode everything works fine.
>Can someone tell us how we can also work in the thumb mode?
>Thank you!
>Matthias
>
>
>  
>
I was just reading something about that up at arm.com.  Something about 
having interrupt handlers written / compiled in thumb.  IIRC, the ARM 
processors start in ARM mode, then you have to "BX" them into thumb 
mode.  Same thing with the Interrupts, the interrupts entry is in ARM 
mode of operation, so you have to enter & leave the handlers properly.

IIRC, Chapter 7 explains this: SDT2.50 User Guide 
<http://www.arm.com/pdfs/sdt250usrman.pdf>

I looked at thumb, I'm not ready to mess with interworking yet.

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------




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

Attachments

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.