4 Oct 2006 10:48
Re: atmel sam7s64 gcc port ?
kiwanda206 <kiwanda206 <at> yahoo.co.nz>
2006-10-04 08:48:36 GMT
2006-10-04 08:48:36 GMT
Hi, (this is a bit late but this answered my question regarding nested interrupts with ucos-ii) the document from D. W. Hawkins is magnificent - takes the bite out of trying to 'upgrade' ucos-ii from single to nested interrupt handling. I adapted his code to run on the AT91SAM7S256 by replacing the VIC related code with AT91 AIC code: AIC_BASE: .word 0xFFFFF000 .equ AIC_IVR, (0x100) .equ AIC_EOICR, (0x130) <at> LDR R4, VICVectAddr <at> LDR R5, [R4] ldr r4, AIC_BASE ldr r5, [r4, #AIC_IVR] to obtain the ISR from aic->ivr and /* Geef aan de AIC door dat dit het einde van de interrupt is */ ldr r4, AIC_BASE str r4, [r4, #AIC_EOICR](Continue reading)
RSS Feed