This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001124] Cortex M - stack corruption


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001124

--- Comment #3 from Christophe Coutand <ecos@hotmail.co.uk> 2011-01-21 11:08:43 GMT ---
Hi Nick,

I have misunderstood hal_switch_state_vsr and the interrupt masking principle.
I thought hal_switch_state_vsr was moving PSP not MSP...

My initial undertanding was that masking interrupts with the BASEPRI register
was not stopping the system interrupt like the RTC interrupt from SysTick to
happen. I have to find out why I get the RTC interrupt.

Thanks,
Christophe

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]