Yahoo Groups archive

Lpc2000

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

Message

RE: [lpc2000] IRQ / FIQ status register general question.

2006-01-31 by Bruce Paterson

> Dmitry Diky wrote:
> > As I know FIQ mode used banked r8-r14 registers and no 
> registers have 

Steb replied:
> Uuuuuuuuuhhhhhhh, ... Are you sure you know what you are doing?
> ..... (normal) IRQ your system will enter IRQ-mode. In opposite to 
> other architectures ARM can perform a kind of hardware 
> context switch by switching to another mode. In general you 
> should NEVER change those modes manually in your software! 

I haven't used an FIQ myself yet so excuse the possibly silly question.
Surely if you are using an alternate register set in an FIQ, at some
early stage, somewhere, you'd want to initialise those registers (eg.
Setup a pointer at the start of a circular buffer). How would you
achieve this if you aren't able to/allowed to switch modes manually ?

Cheers,
Bruce

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.