This is the mail archive of the ecos-bugs@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 1001143] Ecos crashes when using "nop" instead of "wfi"


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

Martin Blaser <martin.blaser@intefo.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin.blaser@intefo.ch

--- Comment #5 from Martin Blaser <martin.blaser@intefo.ch> 2011-02-07 08:09:18 GMT ---
Hi 

I'm working on our own hardware with a STM32F103ZEH6 processor and I see the
same assertion. I don't use the default configuration. 

I'm having another problem, which could depend on your problem. When a thread
switch from application thread to Idle thread is executed and in this time a
IRQ occurs, the stack of the Idle thread overflows. The timing is very
important: If the IRQ comes earlier, the thread switch to idle isn't done yet
and no overflow occurs. If it comes later, the idle thread seems to have more
time to cleanup the idle stack and no overflow occurs.

Regards
Martin

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


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