Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GNU gdb (GDB) 7.11.1
- Copyright (C) 2016 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-none-eabi".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from build/ch.elf...done.
- 0x1ff0010c in ?? ()
- Loading section startup, size 0xc0 lma 0x8000000
- Loading section .text, size 0x33d0 lma 0x80000c0
- Start address 0x80000c0, load size 13456
- Transfer rate: 2 KB/sec, 6728 bytes/write.
- Breakpoint 1 at 0x8000260: file main.c, line 23.
- Note: automatically using hardware breakpoints for read-only addresses.
- Breakpoint 1, main () at main.c:24
- 24 chThdSleepMilliseconds(500);
- 0x08000262 24 chThdSleepMilliseconds(500);
- 0x08000264 24 chThdSleepMilliseconds(500);
- 0x08000266 24 chThdSleepMilliseconds(500);
- chThdSleep (time=8192) at ../../../os/rt/src/chthreads.c:311
- 311 void chThdSleep(systime_t time) {
- 0x08002a02 311 void chThdSleep(systime_t time) {
- 0x08002a04 311 void chThdSleep(systime_t time) {
- 0x08002a06 311 void chThdSleep(systime_t time) {
- 0x08002a08 311 void chThdSleep(systime_t time) {
- 0x08002a0a 311 void chThdSleep(systime_t time) {
- 313 chSysLock();
- chSysLock () at ../../../os/rt/include/chsys.h:346
- 346 static inline void chSysLock(void) {
- 348 port_lock();
- __disable_irq () at ../../../os/ext/CMSIS/include/core_cmFunc.h:344
- 344 __ASM volatile ("cpsid i" : : : "memory");
- port_lock () at ../../../os/rt/ports/ARMCMx/chcore_v6m.h:333
- 333 }
- chSysLock () at ../../../os/rt/include/chsys.h:350
- 350 _dbg_check_lock();
- _dbg_check_lock () at ../../../os/rt/src/chdebug.c:150
- 150 void _dbg_check_lock(void) {
- 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c54 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c56 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c58 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c5a 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c5c 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c5e 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 0x08001c60 152 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt != (cnt_t)0)) {
- 155 _dbg_enter_lock();
- 0x08001c6c 155 _dbg_enter_lock();
- 0x08001c6e 155 _dbg_enter_lock();
- 156 }
- chSysLock () at ../../../os/rt/include/chsys.h:351
- 351 }
- chThdSleep (time=500) at ../../../os/rt/src/chthreads.c:314
- 314 chThdSleepS(time);
- 0x08002a12 314 chThdSleepS(time);
- 0x08002a14 314 chThdSleepS(time);
- 0x08002a16 314 chThdSleepS(time);
- 0x08002a18 314 chThdSleepS(time);
- chThdSleepS (time=2048) at ../../../os/rt/include/chthreads.h:264
- 264 static inline void chThdSleepS(systime_t time) {
- 0x080027c2 264 static inline void chThdSleepS(systime_t time) {
- 0x080027c4 264 static inline void chThdSleepS(systime_t time) {
- 0x080027c6 264 static inline void chThdSleepS(systime_t time) {
- 0x080027c8 264 static inline void chThdSleepS(systime_t time) {
- 0x080027ca 264 static inline void chThdSleepS(systime_t time) {
- 266 chDbgCheck(time != TIME_IMMEDIATE);
- 0x080027ce 266 chDbgCheck(time != TIME_IMMEDIATE);
- 0x080027d0 266 chDbgCheck(time != TIME_IMMEDIATE);
- 0x080027d2 266 chDbgCheck(time != TIME_IMMEDIATE);
- 0x080027d4 266 chDbgCheck(time != TIME_IMMEDIATE);
- 268 (void) chSchGoSleepTimeoutS(CH_STATE_SLEEPING, time);
- 0x080027e0 268 (void) chSchGoSleepTimeoutS(CH_STATE_SLEEPING, time);
- 0x080027e2 268 (void) chSchGoSleepTimeoutS(CH_STATE_SLEEPING, time);
- 0x080027e4 268 (void) chSchGoSleepTimeoutS(CH_STATE_SLEEPING, time);
- 0x080027e6 268 (void) chSchGoSleepTimeoutS(CH_STATE_SLEEPING, time);
- 0x080027e8 268 (void) chSchGoSleepTimeoutS(CH_STATE_SLEEPING, time);
- chSchGoSleepTimeoutS (newstate=8 '\b', time=9499) at ../../../os/rt/src/chschd.c:330
- 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x08002452 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x08002454 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x08002456 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x08002458 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x0800245a 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x0800245c 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x0800245e 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 0x08002460 330 msg_t chSchGoSleepTimeoutS(tstate_t newstate, systime_t time) {
- 332 chDbgCheckClassS();
- chDbgCheckClassS () at ../../../os/rt/src/chdebug.c:250
- 250 void chDbgCheckClassS(void) {
- 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dc4 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dc6 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dc8 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dca 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dcc 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dce 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dd0 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 255 }
- chSchGoSleepTimeoutS (newstate=8 '\b', time=500) at ../../../os/rt/src/chschd.c:334
- 334 if (TIME_INFINITE != time) {
- 0x08002468 334 if (TIME_INFINITE != time) {
- 0x0800246a 334 if (TIME_INFINITE != time) {
- 0x0800246c 334 if (TIME_INFINITE != time) {
- 0x0800246e 334 if (TIME_INFINITE != time) {
- 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x08002472 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x08002474 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x08002476 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x08002478 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x0800247a 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x0800247c 337 chVTDoSetI(&vt, time, wakeup, currp);
- 0x0800247e 337 chVTDoSetI(&vt, time, wakeup, currp);
- chVTDoSetI (vtp=0x80022fb <chSchReadyI+10>, delay=2048, vtfunc=0x20000600 <ch>, par=0x8001ae1 <_idle_thread>) at ../../../os/rt/src/chvt.c:96
- 96 vtfunc_t vtfunc, void *par) {
- 0x08001f22 96 vtfunc_t vtfunc, void *par) {
- 0x08001f24 96 vtfunc_t vtfunc, void *par) {
- 0x08001f26 96 vtfunc_t vtfunc, void *par) {
- 0x08001f28 96 vtfunc_t vtfunc, void *par) {
- 0x08001f2a 96 vtfunc_t vtfunc, void *par) {
- 0x08001f2c 96 vtfunc_t vtfunc, void *par) {
- 0x08001f2e 96 vtfunc_t vtfunc, void *par) {
- 0x08001f30 96 vtfunc_t vtfunc, void *par) {
- 100 chDbgCheckClassI();
- chDbgCheckClassI () at ../../../os/rt/src/chdebug.c:235
- 235 void chDbgCheckClassI(void) {
- 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001d94 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001d96 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001d98 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001d9a 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001d9c 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001d9e 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001da0 237 if ((ch.dbg.isr_cnt < (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 240 }
- chVTDoSetI (vtp=0x200005b4, delay=500, vtfunc=0x80023f1 <wakeup>, par=0x20000a3c <ch+1084>) at ../../../os/rt/src/chvt.c:101
- 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f38 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f3a 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f3c 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f3e 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f40 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f42 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f44 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f46 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f48 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 0x08001f4a 101 chDbgCheck((vtp != NULL) && (vtfunc != NULL) && (delay != TIME_IMMEDIATE));
- 103 vtp->vt_par = par;
- 0x08001f56 103 vtp->vt_par = par;
- 0x08001f58 103 vtp->vt_par = par;
- 104 vtp->vt_func = vtfunc;
- 0x08001f5c 104 vtp->vt_func = vtfunc;
- 0x08001f5e 104 vtp->vt_func = vtfunc;
- 108 systime_t now = chVTGetSystemTimeX();
- 0x08001f62 108 systime_t now = chVTGetSystemTimeX();
- chVTGetSystemTimeX () at ../../../os/rt/include/chvt.h:228
- 228 static inline systime_t chVTGetSystemTimeX(void) {
- 233 return port_timer_get_time();
- port_timer_get_time () at ../../../os/rt/ports/ARMCMx/chcore_timer.h:105
- 105 static inline systime_t port_timer_get_time(void) {
- 107 return stGetCounter();
- st_lld_get_counter () at ../../../os/hal/ports/STM32/LLD/TIMv1/st_lld.h:141
- 141 return (systime_t)STM32_ST_TIM->CNT;
- 0x08001e72 141 return (systime_t)STM32_ST_TIM->CNT;
- 0x08001e74 141 return (systime_t)STM32_ST_TIM->CNT;
- 142 }
- 0x08001e78 142 }
- 0x08001ed6 in port_timer_get_time () at ../../../os/rt/ports/ARMCMx/chcore_timer.h:107
- 107 return stGetCounter();
- 108 }
- 0x08001eda 108 }
- 0x08001ee6 in chVTGetSystemTimeX () at ../../../os/rt/include/chvt.h:233
- 233 return port_timer_get_time();
- 235 }
- 0x08001eea 235 }
- 0x08001f66 in chVTDoSetI (vtp=0x200005b4, delay=500, vtfunc=0x80023f1 <wakeup>, par=0x20000a3c <ch+1084>) at ../../../os/rt/src/chvt.c:108
- 108 systime_t now = chVTGetSystemTimeX();
- 0x08001f68 108 systime_t now = chVTGetSystemTimeX();
- 112 if (delay < (systime_t)CH_CFG_ST_TIMEDELTA) {
- 0x08001f6c 112 if (delay < (systime_t)CH_CFG_ST_TIMEDELTA) {
- 0x08001f6e 112 if (delay < (systime_t)CH_CFG_ST_TIMEDELTA) {
- 0x08001f70 112 if (delay < (systime_t)CH_CFG_ST_TIMEDELTA) {
- 0x08001f72 112 if (delay < (systime_t)CH_CFG_ST_TIMEDELTA) {
- 117 if (&ch.vtlist == (virtual_timers_list_t *)ch.vtlist.vt_next) {
- 0x08001f7e 117 if (&ch.vtlist == (virtual_timers_list_t *)ch.vtlist.vt_next) {
- 0x08001f80 117 if (&ch.vtlist == (virtual_timers_list_t *)ch.vtlist.vt_next) {
- 0x08001f82 117 if (&ch.vtlist == (virtual_timers_list_t *)ch.vtlist.vt_next) {
- 0x08001f84 117 if (&ch.vtlist == (virtual_timers_list_t *)ch.vtlist.vt_next) {
- 121 ch.vtlist.vt_lasttime = now;
- 0x08001f88 121 ch.vtlist.vt_lasttime = now;
- 0x08001f8a 121 ch.vtlist.vt_lasttime = now;
- 0x08001f8c 121 ch.vtlist.vt_lasttime = now;
- 122 ch.vtlist.vt_next = vtp;
- 0x08001f90 122 ch.vtlist.vt_next = vtp;
- 0x08001f92 122 ch.vtlist.vt_next = vtp;
- 123 ch.vtlist.vt_prev = vtp;
- 0x08001f96 123 ch.vtlist.vt_prev = vtp;
- 0x08001f98 123 ch.vtlist.vt_prev = vtp;
- 124 vtp->vt_next = (virtual_timer_t *)&ch.vtlist;
- 0x08001f9c 124 vtp->vt_next = (virtual_timer_t *)&ch.vtlist;
- 0x08001f9e 124 vtp->vt_next = (virtual_timer_t *)&ch.vtlist;
- 125 vtp->vt_prev = (virtual_timer_t *)&ch.vtlist;
- 0x08001fa2 125 vtp->vt_prev = (virtual_timer_t *)&ch.vtlist;
- 0x08001fa4 125 vtp->vt_prev = (virtual_timer_t *)&ch.vtlist;
- 126 vtp->vt_delta = delay;
- 0x08001fa8 126 vtp->vt_delta = delay;
- 0x08001faa 126 vtp->vt_delta = delay;
- 0x08001fac 126 vtp->vt_delta = delay;
- 0x08001fae 126 vtp->vt_delta = delay;
- 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fb2 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fb4 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fb6 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fb8 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fba 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fbc 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fbe 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 0x08001fc0 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- port_timer_start_alarm (time=2048) at ../../../os/rt/ports/ARMCMx/chcore_timer.h:71
- 71 static inline void port_timer_start_alarm(systime_t time) {
- 0x08001e82 71 static inline void port_timer_start_alarm(systime_t time) {
- 0x08001e84 71 static inline void port_timer_start_alarm(systime_t time) {
- 0x08001e86 71 static inline void port_timer_start_alarm(systime_t time) {
- 0x08001e88 71 static inline void port_timer_start_alarm(systime_t time) {
- 0x08001e8a 71 static inline void port_timer_start_alarm(systime_t time) {
- 73 stStartAlarm(time);
- 0x08001e8e 73 stStartAlarm(time);
- 0x08001e90 73 stStartAlarm(time);
- 0x08001e92 73 stStartAlarm(time);
- 0x08001e94 73 stStartAlarm(time);
- stStartAlarm (abstime=21845) at ../../../os/hal/src/st.c:77
- 77 void stStartAlarm(systime_t abstime) {
- 0x08000bc2 77 void stStartAlarm(systime_t abstime) {
- 0x08000bc4 77 void stStartAlarm(systime_t abstime) {
- 0x08000bc6 77 void stStartAlarm(systime_t abstime) {
- 0x08000bc8 77 void stStartAlarm(systime_t abstime) {
- 0x08000bca 77 void stStartAlarm(systime_t abstime) {
- 79 osalDbgAssert(stIsAlarmActive() == false, "already active");
- st_lld_is_alarm_active () at ../../../os/hal/ports/STM32/LLD/TIMv1/st_lld.h:205
- 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 0x08000b92 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 0x08000b94 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 0x08000b96 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 0x08000b98 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 0x08000b9a 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 0x08000b9c 205 return (bool)((STM32_ST_TIM->DIER & STM32_TIM_DIER_CC1IE) != 0);
- 206 }
- 0x08000ba0 206 }
- 0x08000bd0 in stStartAlarm (abstime=33423) at ../../../os/hal/src/st.c:79
- 79 osalDbgAssert(stIsAlarmActive() == false, "already active");
- 0x08000bd2 79 osalDbgAssert(stIsAlarmActive() == false, "already active");
- 81 st_lld_start_alarm(abstime);
- 0x08000bde 81 st_lld_start_alarm(abstime);
- 0x08000be0 81 st_lld_start_alarm(abstime);
- 0x08000be2 81 st_lld_start_alarm(abstime);
- 0x08000be4 81 st_lld_start_alarm(abstime);
- st_lld_start_alarm (time=21845) at ../../../os/hal/ports/STM32/LLD/TIMv1/st_lld.h:153
- 153 static inline void st_lld_start_alarm(systime_t time) {
- 0x08000b32 153 static inline void st_lld_start_alarm(systime_t time) {
- 0x08000b34 153 static inline void st_lld_start_alarm(systime_t time) {
- 0x08000b36 153 static inline void st_lld_start_alarm(systime_t time) {
- 0x08000b38 153 static inline void st_lld_start_alarm(systime_t time) {
- 155 STM32_ST_TIM->CCR[0] = (uint32_t)time;
- 0x08000b3c 155 STM32_ST_TIM->CCR[0] = (uint32_t)time;
- 0x08000b3e 155 STM32_ST_TIM->CCR[0] = (uint32_t)time;
- 0x08000b40 155 STM32_ST_TIM->CCR[0] = (uint32_t)time;
- 0x08000b42 155 STM32_ST_TIM->CCR[0] = (uint32_t)time;
- 156 STM32_ST_TIM->SR = 0;
- 0x08000b46 156 STM32_ST_TIM->SR = 0;
- 0x08000b48 156 STM32_ST_TIM->SR = 0;
- 157 STM32_ST_TIM->DIER = STM32_TIM_DIER_CC1IE;
- 0x08000b4c 157 STM32_ST_TIM->DIER = STM32_TIM_DIER_CC1IE;
- 0x08000b4e 157 STM32_ST_TIM->DIER = STM32_TIM_DIER_CC1IE;
- 158 }
- 0x08000b52 in st_lld_start_alarm (time=33423) at ../../../os/hal/ports/STM32/LLD/TIMv1/st_lld.h:158
- 158 }
- stStartAlarm (abstime=33423) at ../../../os/hal/src/st.c:82
- 82 }
- 0x08000bea in stStartAlarm (abstime=8192) at ../../../os/hal/src/st.c:82
- 82 }
- port_timer_start_alarm (time=33423) at ../../../os/rt/ports/ARMCMx/chcore_timer.h:74
- 74 }
- 0x08001e9a in port_timer_start_alarm (time=8192) at ../../../os/rt/ports/ARMCMx/chcore_timer.h:74
- 74 }
- 0x08001fc4 in chVTDoSetI (vtp=0x200005b4, delay=500, vtfunc=0x80023f1 <wakeup>, par=0x20000a3c <ch+1084>) at ../../../os/rt/src/chvt.c:129
- 129 port_timer_start_alarm(ch.vtlist.vt_lasttime + delay);
- 167 }
- 0x08002076 in chVTDoSetI (vtp=0x80001f4, delay=2048, vtfunc=0x8002483 <chSchGoSleepTimeoutS+50>, par=0x20000a3c <ch+1084>) at ../../../os/rt/src/chvt.c:167
- 167 }
- chSchGoSleepTimeoutS (newstate=8 '\b', time=500) at ../../../os/rt/src/chschd.c:338
- 338 chSchGoSleepS(newstate);
- 0x08002484 338 chSchGoSleepS(newstate);
- 0x08002486 338 chSchGoSleepS(newstate);
- 0x08002488 338 chSchGoSleepS(newstate);
- 0x0800248a 338 chSchGoSleepS(newstate);
- chSchGoSleepS (newstate=32 ' ') at ../../../os/rt/src/chschd.c:250
- 250 void chSchGoSleepS(tstate_t newstate) {
- 0x08002372 250 void chSchGoSleepS(tstate_t newstate) {
- 0x08002374 250 void chSchGoSleepS(tstate_t newstate) {
- 0x08002376 250 void chSchGoSleepS(tstate_t newstate) {
- 0x08002378 250 void chSchGoSleepS(tstate_t newstate) {
- 0x0800237a 250 void chSchGoSleepS(tstate_t newstate) {
- 253 chDbgCheckClassS();
- chDbgCheckClassS () at ../../../os/rt/src/chdebug.c:250
- 250 void chDbgCheckClassS(void) {
- 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dc4 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dc6 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dc8 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dca 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dcc 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dce 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001dd0 252 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 255 }
- chSchGoSleepS (newstate=8 '\b') at ../../../os/rt/src/chschd.c:255
- 255 otp = currp;
- 0x08002382 255 otp = currp;
- 0x08002384 255 otp = currp;
- 256 otp->p_state = newstate;
- 0x08002388 256 otp->p_state = newstate;
- 0x0800238a 256 otp->p_state = newstate;
- 0x0800238c 256 otp->p_state = newstate;
- 0x0800238e 256 otp->p_state = newstate;
- 0x08002390 256 otp->p_state = newstate;
- 262 setcurrp(queue_fifo_remove(&ch.rlist.r_queue));
- 0x08002394 262 setcurrp(queue_fifo_remove(&ch.rlist.r_queue));
- 0x08002396 262 setcurrp(queue_fifo_remove(&ch.rlist.r_queue));
- queue_fifo_remove (tqp=0x8001fc5 <chVTDoSetI+164>) at ../../../os/rt/include/chschd.h:671
- 671 static inline thread_t *queue_fifo_remove(threads_queue_t *tqp) {
- 0x08002212 671 static inline thread_t *queue_fifo_remove(threads_queue_t *tqp) {
- 672 thread_t *tp = tqp->p_next;
- 0x08002216 672 thread_t *tp = tqp->p_next;
- 0x08002218 672 thread_t *tp = tqp->p_next;
- 674 tqp->p_next = tp->p_next;
- 0x0800221c 674 tqp->p_next = tp->p_next;
- 0x0800221e 674 tqp->p_next = tp->p_next;
- 0x08002220 674 tqp->p_next = tp->p_next;
- 675 tqp->p_next->p_prev = (thread_t *)tqp;
- 0x08002224 675 tqp->p_next->p_prev = (thread_t *)tqp;
- 0x08002226 675 tqp->p_next->p_prev = (thread_t *)tqp;
- 0x08002228 675 tqp->p_next->p_prev = (thread_t *)tqp;
- 677 return tp;
- 678 }
- 0x0800222e 678 }
- 0x08002230 in queue_fifo_remove (tqp=0x80005b4 <osalOsTimerHandlerI+4>) at ../../../os/rt/include/chschd.h:678
- 678 }
- 0x0800239a in chSchGoSleepS (newstate=8 '\b') at ../../../os/rt/src/chschd.c:262
- 262 setcurrp(queue_fifo_remove(&ch.rlist.r_queue));
- 0x0800239c 262 setcurrp(queue_fifo_remove(&ch.rlist.r_queue));
- 0x0800239e 262 setcurrp(queue_fifo_remove(&ch.rlist.r_queue));
- 268 currp->p_state = CH_STATE_CURRENT;
- 0x080023a2 268 currp->p_state = CH_STATE_CURRENT;
- 0x080023a4 268 currp->p_state = CH_STATE_CURRENT;
- 0x080023a6 268 currp->p_state = CH_STATE_CURRENT;
- 0x080023a8 268 currp->p_state = CH_STATE_CURRENT;
- 269 chSysSwitch(currp, otp);
- 0x080023ac 269 chSysSwitch(currp, otp);
- 0x080023ae 269 chSysSwitch(currp, otp);
- _dbg_trace (otp=0x20000600 <ch>) at ../../../os/rt/src/chdebug.c:277
- 277 void _dbg_trace(thread_t *otp) {
- 0x08001e12 277 void _dbg_trace(thread_t *otp) {
- 0x08001e14 277 void _dbg_trace(thread_t *otp) {
- 279 ch.dbg.trace_buffer.tb_ptr->se_time = chVTGetSystemTimeX();
- 0x08001e18 279 ch.dbg.trace_buffer.tb_ptr->se_time = chVTGetSystemTimeX();
- 0x08001e1a 279 ch.dbg.trace_buffer.tb_ptr->se_time = chVTGetSystemTimeX();
- chVTGetSystemTimeX () at ../../../os/rt/include/chvt.h:228
- 228 static inline systime_t chVTGetSystemTimeX(void) {
- 233 return port_timer_get_time();
- port_timer_get_time () at ../../../os/rt/ports/ARMCMx/chcore_timer.h:105
- 105 static inline systime_t port_timer_get_time(void) {
- 107 return stGetCounter();
- st_lld_get_counter () at ../../../os/hal/ports/STM32/LLD/TIMv1/st_lld.h:141
- 141 return (systime_t)STM32_ST_TIM->CNT;
- 0x08001bf2 141 return (systime_t)STM32_ST_TIM->CNT;
- 0x08001bf4 141 return (systime_t)STM32_ST_TIM->CNT;
- 142 }
- 0x08001bf8 142 }
- 0x08001c06 in port_timer_get_time () at ../../../os/rt/ports/ARMCMx/chcore_timer.h:107
- 107 return stGetCounter();
- 108 }
- 0x08001c0a 108 }
- 0x08001c16 in chVTGetSystemTimeX () at ../../../os/rt/include/chvt.h:233
- 233 return port_timer_get_time();
- 235 }
- 0x08001c1a 235 }
- 0x08001e1e in _dbg_trace (otp=0x20000a3c <ch+1084>) at ../../../os/rt/src/chdebug.c:279
- 279 ch.dbg.trace_buffer.tb_ptr->se_time = chVTGetSystemTimeX();
- 0x08001e20 279 ch.dbg.trace_buffer.tb_ptr->se_time = chVTGetSystemTimeX();
- 280 ch.dbg.trace_buffer.tb_ptr->se_tp = currp;
- 0x08001e24 280 ch.dbg.trace_buffer.tb_ptr->se_tp = currp;
- 0x08001e26 280 ch.dbg.trace_buffer.tb_ptr->se_tp = currp;
- 0x08001e28 280 ch.dbg.trace_buffer.tb_ptr->se_tp = currp;
- 0x08001e2a 280 ch.dbg.trace_buffer.tb_ptr->se_tp = currp;
- 281 ch.dbg.trace_buffer.tb_ptr->se_wtobjp = otp->p_u.wtobjp;
- 0x08001e2e 281 ch.dbg.trace_buffer.tb_ptr->se_wtobjp = otp->p_u.wtobjp;
- 0x08001e30 281 ch.dbg.trace_buffer.tb_ptr->se_wtobjp = otp->p_u.wtobjp;
- 0x08001e32 281 ch.dbg.trace_buffer.tb_ptr->se_wtobjp = otp->p_u.wtobjp;
- 0x08001e34 281 ch.dbg.trace_buffer.tb_ptr->se_wtobjp = otp->p_u.wtobjp;
- 282 ch.dbg.trace_buffer.tb_ptr->se_state = (uint8_t)otp->p_state;
- 0x08001e38 282 ch.dbg.trace_buffer.tb_ptr->se_state = (uint8_t)otp->p_state;
- 0x08001e3a 282 ch.dbg.trace_buffer.tb_ptr->se_state = (uint8_t)otp->p_state;
- 0x08001e3c 282 ch.dbg.trace_buffer.tb_ptr->se_state = (uint8_t)otp->p_state;
- 0x08001e3e 282 ch.dbg.trace_buffer.tb_ptr->se_state = (uint8_t)otp->p_state;
- 0x08001e40 282 ch.dbg.trace_buffer.tb_ptr->se_state = (uint8_t)otp->p_state;
- 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e44 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e46 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e48 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e4a 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e4c 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e4e 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e50 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e52 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e54 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 0x08001e56 283 if (++ch.dbg.trace_buffer.tb_ptr >=
- 287 }
- 0x08001e60 in _dbg_trace (otp=0x80023b3 <chSchGoSleepS+66>) at ../../../os/rt/src/chdebug.c:287
- 287 }
- __get_PSP () at ../../../os/ext/CMSIS/include/core_cmFunc.h:430
- 430 __ASM volatile ("MRS %0, psp\n" : "=r" (result) );
- 0x080023b6 430 __ASM volatile ("MRS %0, psp\n" : "=r" (result) );
- 431 return(result);
- chSchGoSleepS (newstate=8 '\b') at ../../../os/rt/src/chschd.c:269
- 269 chSysSwitch(currp, otp);
- 0x080023bc 269 chSysSwitch(currp, otp);
- 0x080023be 269 chSysSwitch(currp, otp);
- 0x080023c0 269 chSysSwitch(currp, otp);
- 0x080023c2 269 chSysSwitch(currp, otp);
- 0x080023c4 269 chSysSwitch(currp, otp);
- 0x080023c6 269 chSysSwitch(currp, otp);
- 0x080023c8 269 chSysSwitch(currp, otp);
- 0x080023d2 269 chSysSwitch(currp, otp);
- 0x080023d4 269 chSysSwitch(currp, otp);
- 0x080023d6 269 chSysSwitch(currp, otp);
- 0x080023d8 269 chSysSwitch(currp, otp);
- 0x080023da 269 chSysSwitch(currp, otp);
- 0x080023dc 269 chSysSwitch(currp, otp);
- _port_switch () at ../../../os/rt/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.s:59
- 59 push {r4, r5, r6, r7, lr}
- 60 mov r4, r8
- 61 mov r5, r9
- 62 mov r6, r10
- 63 mov r7, r11
- 64 push {r4, r5, r6, r7}
- 66 mov r3, sp
- 67 str r3, [r1, #CONTEXT_OFFSET]
- 68 ldr r3, [r0, #CONTEXT_OFFSET]
- 69 mov sp, r3
- _port_switch () at ../../../os/rt/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.s:71
- 71 pop {r4, r5, r6, r7}
- _port_switch () at ../../../os/rt/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.s:72
- 72 mov r8, r4
- 73 mov r9, r5
- 74 mov r10, r6
- 75 mov r11, r7
- 76 pop {r4, r5, r6, r7, pc}
- _port_thread_start () at ../../../os/rt/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.s:90
- 90 bl _dbg_check_unlock
- _dbg_check_unlock () at ../../../os/rt/src/chdebug.c:163
- 163 void _dbg_check_unlock(void) {
- 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c84 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c86 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c88 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c8a 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c8c 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c8e 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 0x08001c90 165 if ((ch.dbg.isr_cnt != (cnt_t)0) || (ch.dbg.lock_cnt <= (cnt_t)0)) {
- 168 _dbg_leave_lock();
- 0x08001c9c 168 _dbg_leave_lock();
- 0x08001c9e 168 _dbg_leave_lock();
- 169 }
- _port_thread_start () at ../../../os/rt/ports/ARMCMx/compilers/GCC/chcoreasm_v6m.s:95
- 95 cpsie i
- 0x60412106 in ?? ()
- 0x1ff00230 in ?? ()
- 0x1ff00232 in ?? ()
- 0x1ff00074 in ?? ()
- 0x1ff00076 in ?? ()
- 0x1ff00078 in ?? ()
- 0x1ff00238 in ?? ()
- 0x1ff0023a in ?? ()
- 0x1ff00040 in ?? ()
Advertisement
Add Comment
Please, Sign In to add comment