Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
Kernel
把RT_DEBUG_SCHEDULER打开后出现奇怪的问题?
发布于 2019-05-18 22:05:03 浏览:1723
订阅该版
* 本帖最后由 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.7k
关于作者
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
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
CherryUSB STM32 glue 新增初始化
2
在LPC1114上移植 RT-Thread Nano 3.1.5
3
求助can通讯下怎末运用485
4
STM32F407ZGT适配串口V2驱动
5
【CFP】2025 RT-Thread全球技术大会演讲征集开始啦!
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
DMA
USB
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
rt-smart
FAL
I2C_IIC
cubemx
UART
ESP8266
WIZnet_W5500
BSP
ota在线升级
PWM
flash
packages_软件包
freemodbus
潘多拉开发板_Pandora
ADC
GD32
定时器
flashDB
编译报错
keil_MDK
socket
中断
rt_mq_消息队列_msg_queue
Debug
ulog
SFUD
msh
C++_cpp
at_device
本月问答贡献
聚散无由
9
个答案
6
次被采纳
RTT_逍遥
10
个答案
2
次被采纳
a1012112796
5
个答案
2
次被采纳
三世执戟
4
个答案
2
次被采纳
加缪
2
个答案
2
次被采纳
本月文章贡献
wake_mirco
2
篇文章
7
次点赞
mushroom
1
篇文章
9
次点赞
张世争
1
篇文章
7
次点赞
sakumisu
1
篇文章
6
次点赞
RTT_逍遥
1
篇文章
6
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部