硬汉嵌入式论坛

 找回密码
 立即注册
查看: 1321|回复: 5
收起左侧

[UART] 请问有现成开源的串口命令交互框架吗,类似jlink commander 这种,方便更优雅的交互打印调试

[复制链接]

14

主题

34

回帖

76

积分

初级会员

积分
76
发表于 2022-1-10 10:50:11 | 显示全部楼层 |阅读模式
请问有现成开源的串口命令交互框架吗,类似jlink commander 这种,方便更优雅的交互打印调试?类似如下这种,移植到MCU里方便命令交互SEGGER J-Link Commander V4.20h ('?' for help)
Compiled Oct  5 2010 19:11:57
DLL version V4.20h, compiled Oct  5 2010 19:11:41
Firmware: J-Link ARM V8 compiled Oct  5 2010 08:59:59
Hardware: V8.00
S/N: 20100214
Feature(s): RDI,FlashDL,FlashBP,JFlash,GDBFull
VTarget = 3.280V
Info: TotalIRLen = ?, IRPrint = 0x..FFFFFFFFFFFFFFFFFFFFFFF1

WARNING: CPU core not found.
No devices found on JTAG chain. Trying to find device on SWD.

WARNING: CPU core not found.

****** Error: Parity error (Data = 0xFFFFFFFF, ReceivedParity = 1)

No device found on SWD.
Did not find any core.
Info: TotalIRLen = 9, IRPrint = 0x0011
Found 2 JTAG devices, Total IRLen = 5:
#0 Id: 0x2B900F0F, IRLen: 04, IRPrint: 0x0, ARM ETB
#1 Id: 0x07B76F0F, IRLen: 05, IRPrint: 0x1, ARM1176 Core
ARM11 identified.

J-Link>
  Available commands are:
----------------------
f        Firmware info
h        halt
g        go
Sleep     Waits the given time (in milliseconds). Syntax: Sleep
s        Single step the target chip
st        Show hardware status
hwinfo    Show hardware info



串口命令交互.gif
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106959
QQ
发表于 2022-1-10 10:57:55 | 显示全部楼层
shell

stm32F103_threadx_ucshell移植工程采用SEGGER_RTT输入输出
https://www.armbbs.cn/forum.php? ... 3352&fromuid=58
(出处: 硬汉嵌入式论坛)
回复

使用道具 举报

14

主题

34

回帖

76

积分

初级会员

积分
76
 楼主| 发表于 2022-1-10 11:38:30 | 显示全部楼层
eric2013 发表于 2022-1-10 10:57
shell

stm32F103_threadx_ucshell移植工程采用SEGGER_RTT输入输出

这个不错,就是不知道占用资源怎样
回复

使用道具 举报

3

主题

1227

回帖

1236

积分

至尊会员

积分
1236
发表于 2022-1-10 13:00:08 | 显示全部楼层
回复

使用道具 举报

14

主题

34

回帖

76

积分

初级会员

积分
76
 楼主| 发表于 2022-1-10 14:37:48 | 显示全部楼层
morning_enr6U 发表于 2022-1-10 13:00
Letter Shell 也不错
Letter shell 3.0 全新出发 | Letter (nevermindzzt.github.io)

谢谢 我看下
回复

使用道具 举报

1

主题

8

回帖

11

积分

新手上路

积分
11
发表于 2022-2-15 17:49:05 | 显示全部楼层
rtthread的finsh在裸机上的移植
https://gitee.com/LAOK123321/finsh_nonos
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-11 13:06 , Processed in 0.186139 second(s), 31 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表