Hi Simon, > Any ideas why this could fail? I can give more details on the implementation > if necessary.
I'm not sure if this is of help in any way, but I was playing around with eCos 2.0 a few weeks ago on a (virtual) ARM7TDMI board. When trying the unadapted application on a (virtual) Cortex R4, some problems arose due to restartable instructions. An LDM instruction that adapted the SP was interrupted, the interrupt handler modified SP, and when restarting the LDM instruction, the adapted SP was used again, which resulted in a bad stack frame pop. I should check if the problem persists in eCos CVS, and maybe investigate a bit further. cheers, Remko -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
