Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
Kernel
把RT_DEBUG_SCHEDULER打开后出现奇怪的问题?
发布于 2019-05-18 22:05:03 浏览:1339
订阅该版
* 本帖最后由 camelnuaa 于 2019-5-18 22:11 编辑 * \ | / - RT - Thread Operating System / | \ 4.0.1 build May 18 2019 2006 - 2019 Copyright by rt-thread team start scheduler: max priority 0x20 insert thread[main], the priority: 10 insert thread[timer], the priority: 0 insert thread[tidle0], the priority: 31 remove thread[timer], the priority: 0 remove thread[timer], the priority: 0 remove thread[main], the priority: 10 [0]switch to priority#10 thread:main(sp:0x8003e010), from thread:timer(sp: 0x80038140) do components initialization. initialize rti_board_end:0 done initialize dfs_initremove thread[main], the priority: 10 :0 done initialize rt_hw_pwm_initremove thread[main], the priority: 10 remove thread[main], the priority: 10 :0 done initialize LedTaskInitremove thread[main], the priority: 10 insert thread[LedTask], the priority: 20 remove thread[main], the priority: 10 :0 done initialize pwmTaskremove thread[main], the priority: 10 I, tremove thread[main], the priority: 10 :0 done initialize finsh_system_initremove thread[main], the priority: 10 remove thread[main], the priority: 10 insert thread[tshell], the priority: 20 remove thread[main], the priority: 10 :0 done initialize LedControlInitremove thread[main], the priority: 10 :0 done hello rt-thread remove thread[main], the priority: 10 remove thread[LedTask], the priority: 20 [1]switch to priority#20 thread:LedTask(sp:0x8003e1c0), from thread:main(sp: 0x8003e010) switch in interrupt remove thread[LedTask], the priority: 20 (rt_object_get_type(&timer->parent) == RT_Object_Class_Timer) assertion failed at function:rt_timer_stop, line number:428 这是怎么回事呀?不打开就运行正常 void led_thread_entry(void *parameter) { while (1) { ToggleLedOn(LED0); /* 延时500ms */ rt_thread_mdelay(500);//第一次进入这个函数后进入断言 } }
查看更多
2
个回答
默认排序
按发布时间排序
flyboy
2019-05-21
Do my self();
楼主问题解决了吗?有没有简单的复现步骤
camelnuaa
2019-05-21
这家伙很懒,什么也没写!
[LedTask]任务的堆栈从256改为512就好了,单步走的时候发现进程的数据改乱了
撰写答案
登录
注册新账号
关注者
0
被浏览
1.3k
关于作者
camelnuaa
这家伙很懒,什么也没写!
提问
8
回答
20
被采纳
0
关注TA
发私信
相关问题
1
cpu使用率分析
2
选择FreeRTOS, 还是RT-Thread。
3
thread heap stack overflow ?
4
rtt消息队列delay问题
5
释放被删除线程的内存地方在哪里啊
6
请教:各线程结束后,释放其中的内存的连续性问题
7
STM32F103中断关于信号量、邮箱问题
8
RTT中的线程栈大小如何控制
9
关于线程由执行态变为挂起态的代码实现,,,
10
rt_malloc(rt_size_t size)内存分配函数最小分配尺寸问题
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
机器人操作系统 (ROS2) 和 RT-Thread 通信
4
五分钟玩转RT-Thread新社区
5
国产MCU移植系列教程汇总,欢迎查看!
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
PSoC™ 62 温湿采集功耗测试
2
利用RT-Thread与MQTT实现的毕业设计——智慧班车管理系统的设计与实现实录
3
vscode+pyocd+daplink 调试瑞萨ra6m3
4
RT-Thread Smart 用户态开发教程(基于xmake)
5
pikascript GPIO 接口如何基于 rtt pin 设备实现
热门标签
RT-Thread Studio
串口
LWIP
Env
SPI
AT
FinSH
ART-Pi
Bootloader
CAN总线
Hardfault
文件系统
USB
DMA
RT-Thread
线程
SCons
RT-Thread Nano
stm32
MQTT
ESP8266
ota
WIZnet_W5500
RTC
rt-smart
UART
flash
rtthread
packages_软件包
freemodbus
潘多拉开发板_Pandora
I2C
cubemx
FAL
定时器
PWM
BSP
AB32VG1
ADC
中断
消息队列_msg_queue
SDIO
msh
Debug
keil
编译报错
socket
LVGL
SFUD
C++_cpp
本月问答贡献
出出啊
1440
个答案
321
次被采纳
小小李sunny
1355
个答案
269
次被采纳
crystal266
507
个答案
150
次被采纳
whj467467222
1212
个答案
143
次被采纳
张世争
636
个答案
140
次被采纳
本月文章贡献
出出啊
3
篇文章
12
次点赞
小小李sunny
1
篇文章
1
次点赞
crystal266
1
篇文章
1
次点赞
whj467467222
2
篇文章
1
次点赞
张世争
2
篇文章
8
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部