It's incredible, i found an error on the code i wrote (and i posted) and the code should be not running, but i saw it running !! > ... > ldr pc, _irq /* .18 IRQ - _irq */ > ... > > _irq: > b timer0ISR > ... _irq label should define an address and not an instruction ... I corrected the code as following: ldr pc, _irq /* .18 IRQ - _irq */ ... _irq: .word __irq ... __irq: b timer0ISR But now the running is bad..... When the IRQ is fired the PC is pointing 0x18 or 0x4000.0018 ????? Regards ! -- SM
Message
Re: Handling interrupts on RAM (debug) version
2006-05-31 by stefano_m_a