Re: assertion "first != _Chain_Tail( &ready_queues[ index ] )"

2019-05-17 Thread Jython
thanks a lot! when i add #define CONFIGURE_STACK_CHECKER_ENABLED problem disappeared, but i still dont understand how it happend On Fri, May 17, 2019 at 6:00 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 17/05/2019 11:58, Jython wrote: > > hi, Huber! how to debug general s

Re: assertion "first != _Chain_Tail( &ready_queues[ index ] )"

2019-05-17 Thread Sebastian Huber
On 17/05/2019 11:58, Jython wrote: hi, Huber!  how to debug general stack corruption? The first thing is to turn on the stack checker. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail

Re: assertion "first != _Chain_Tail( &ready_queues[ index ] )"

2019-05-17 Thread Jython
hi, Huber! how to debug general stack corruption? On Fri, May 17, 2019 at 5:54 PM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > the most likely reasons are misconfigured interrupt priorities or some > general memory/stack corruption. > > -- > Sebastian Huber, embedde

Re: assertion "first != _Chain_Tail( &ready_queues[ index ] )"

2019-05-17 Thread Jython
when comment #define CONFIGURE_APPLICATION_NEEDS_RTC_DRIVER then no problem On Fri, May 17, 2019 at 5:52 PM Jython wrote: > HI, ALL! > I coded the rtc driver for stm32 (which have no backup battery),when > power off MCU then power on , got > assertion "first != _Chain_Tail( &ready_queues[

Re: assertion "first != _Chain_Tail( &ready_queues[ index ] )"

2019-05-17 Thread Sebastian Huber
Hello, the most likely reasons are misconfigured interrupt priorities or some general memory/stack corruption. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.hu...@embe

assertion "first != _Chain_Tail( &ready_queues[ index ] )"

2019-05-17 Thread Jython
HI, ALL! I coded the rtc driver for stm32 (which have no backup battery),when power off MCU then power on , got assertion "first != _Chain_Tail( &ready_queues[ index ] )" failed: file "../../cpukit/../../../stm32f4/lib/include/rtems/score/schedulerpriorityimpl.h", line 166, function: _Schedu