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
Message
how to tell IRQ stack size
2005-06-29 by elef_papa