Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
Interrupt latencies
发布于 2019-11-20 23:01:20 浏览:1052
订阅该版
How can I measure interrupt latencies for RT-Thread? Does cyclictest work?
查看更多
6
个回答
默认排序
按发布时间排序
WillianChan
2019-11-21
-
RT-Thread has its own test cases to test interrupt delays, but this part of the code is not public.
yqiu
2019-11-21
这家伙很懒,什么也没写!
Hi dennaoui, cyclictest should be ported to RT-Thread before it can work.
dennaoui
2019-11-21
这家伙很懒,什么也没写!
>Hi dennaoui, cyclictest should be ported to RT-Thread before it can work. --- Do you have any idea how to port it to RT-Thread in my case? I would really appreciate it if you can help me out.
dennaoui
2019-11-21
这家伙很懒,什么也没写!
>RT-Thread has its own test cases to test interrupt delays, but this part of the code is not public. --- Do you know how I can find these codes or who to contact? I am totally new, thank you :)
MikeCai
2019-11-22
这家伙很懒,什么也没写!
Debug way with Keil: A)I am not sure if you want to measure the period time for a Interrupt ? if it is, and you use KEIL for debug? set the core clock for your CPU like this way, 1)select debug item from options for target,choose you debug linker , 2)press setting button and select Trace item,you can see the core clock, make sure your CPU core clock,and input it. B) try to active t0/t1 for KEIL debug window[]right down corner],you can search the way ,how to active it. C) set break point at the Start /End point for your Interrupt routine. full speed run your code with KEIL. D) compare the timer to or t1 ,you can get the interrupt latencies, print message way: 1)set two global var int32 timeA,timerB; 2) timerA = system get current tick() at interrupt beginning 3) timerB = system get current tick() at interrupt end 4)interrupt latencies = timerB - timera
dennaoui
2019-11-22
这家伙很懒,什么也没写!
>Debug way with Keil: >A)I am not sure if you want to measure the period time for a Interrupt ? > if i ... --- Hello! Unfortunately, I don't know if I can use the Keil debugger for my case because I'm basically using an emulated machine using QEMU, not a real MCU. But I'd like to go with the second method, the print message way but I'm not getting how to code it down.. Can you please write me the code in the RT-Thread programming way and I'll run it on RT-Thread! Thank you so much for the help!!
撰写答案
登录
注册新账号
关注者
0
被浏览
1.1k
关于作者
dennaoui
这家伙很懒,什么也没写!
提问
5
回答
5
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
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
开源共生 商业共赢 | RT-Thread 2024开发者大会议程正式发布!
2
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
3
RT-Thread EtherKit开源以太网硬件正式发布
4
如何在master上的BSP中添加配置yml文件
5
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
rt_mq_消息队列_msg_queue
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
a1012112796
20
个答案
3
次被采纳
张世争
12
个答案
3
次被采纳
踩姑娘的小蘑菇
7
个答案
3
次被采纳
rv666
9
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
RTT_逍遥
1
篇文章
6
次点赞
大龄码农
1
篇文章
5
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部