Yahoo Groups archive

Lpc2000

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

Message

how to tell IRQ stack size

2005-06-29 by elef_papa

Hi,

After many hours trying to figure out why the cpu kept freezing, i
fixed it by changing the following in my startup file:

was:         .equ    IRQ_Stack_Size, 0x00000080
changed to:  .equ    IRQ_Stack_Size, 0x00001000

obviously the original value was not enough for the IRQ function and
it was probably overwriting the stack from the USR mode (im
guessing?!? correct me if im wrong)

Anyways, im using winarm (GNU GCC 4.0.0) and want to know how can i
tell how much ram a function/IRQ needs, so i can set the .equ   
IRQ_Stack_Size without having to guess?

Thanks
Eleftherios

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.