public inbox for ecos-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug 1001143] New: Ecos crashes when using "nop" instead of "wfi"
@ 2011-02-04 13:17 bugzilla-daemon
  2011-02-04 13:37 ` [Bug 1001143] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: bugzilla-daemon @ 2011-02-04 13:17 UTC (permalink / raw)
  To: unassigned

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

           Summary: Ecos crashes when using "nop" instead of "wfi"
           Product: eCos
           Version: CVS
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: cyrillkuenzle@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1118)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1118)
My timers.c

I'm using the ST STM3210E EVAL board default configuration and running the
timer test (timers.c) from rom.
I changed in the hal_arch.h the line from

#define HAL_IDLE_THREAD_ACTION(__count) __asm__ volatile ( "wfi\n" )

into 

#define HAL_IDLE_THREAD_ACTION(__count) __asm__ volatile ( "nop\n" )

I changed the timer as following:

- I use 2 Timers running with 10ms
- I added a busy wait in the isr of the two timers
- I toggle some pins

The result is that after a short time the test crashes.

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


^ permalink raw reply	[flat|nested] 23+ messages in thread
* [Bug 1001143] New: Ecos crashes when using "nop" instead of "wfi"
@ 2011-02-04 13:17 bugzilla-daemon
  2011-02-04 13:37 ` [Bug 1001143] " bugzilla-daemon
                   ` (10 more replies)
  0 siblings, 11 replies; 23+ messages in thread
From: bugzilla-daemon @ 2011-02-04 13:17 UTC (permalink / raw)
  To: ecos-bugs

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

           Summary: Ecos crashes when using "nop" instead of "wfi"
           Product: eCos
           Version: CVS
          Platform: stm32e_eval (ST STM3210E EVAL board)
        OS/Version: Cortex-M
            Status: UNCONFIRMED
          Severity: normal
          Priority: low
         Component: HAL
        AssignedTo: unassigned@bugs.ecos.sourceware.org
        ReportedBy: cyrillkuenzle@gmail.com
                CC: ecos-bugs@ecos.sourceware.org
             Class: Advice Request


Created an attachment (id=1118)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1118)
My timers.c

I'm using the ST STM3210E EVAL board default configuration and running the
timer test (timers.c) from rom.
I changed in the hal_arch.h the line from

#define HAL_IDLE_THREAD_ACTION(__count) __asm__ volatile ( "wfi\n" )

into 

#define HAL_IDLE_THREAD_ACTION(__count) __asm__ volatile ( "nop\n" )

I changed the timer as following:

- I use 2 Timers running with 10ms
- I added a busy wait in the isr of the two timers
- I toggle some pins

The result is that after a short time the test crashes.

-- 
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.


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2011-03-04 13:06 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-04 13:17 [Bug 1001143] New: Ecos crashes when using "nop" instead of "wfi" bugzilla-daemon
2011-02-04 13:37 ` [Bug 1001143] " bugzilla-daemon
2011-02-04 14:22 ` bugzilla-daemon
2011-02-04 21:30 ` bugzilla-daemon
2011-02-07  7:30 ` bugzilla-daemon
2011-02-07  8:09 ` bugzilla-daemon
2011-02-07 12:21 ` bugzilla-daemon
2011-02-07 14:30 ` bugzilla-daemon
2011-03-04 10:34 ` bugzilla-daemon
2011-03-04 10:49 ` bugzilla-daemon
2011-03-04 12:51 ` bugzilla-daemon
2011-03-04 13:06 ` bugzilla-daemon
2011-02-04 13:17 [Bug 1001143] New: " bugzilla-daemon
2011-02-04 13:37 ` [Bug 1001143] " bugzilla-daemon
2011-02-04 14:22 ` bugzilla-daemon
2011-02-04 21:30 ` bugzilla-daemon
2011-02-07  7:29 ` bugzilla-daemon
2011-02-07  8:09 ` bugzilla-daemon
2011-02-07 12:21 ` bugzilla-daemon
2011-02-07 14:30 ` bugzilla-daemon
2011-03-04 10:34 ` bugzilla-daemon
2011-03-04 10:49 ` bugzilla-daemon
2011-03-04 12:51 ` bugzilla-daemon
2011-03-04 13:06 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).