|
请问有现成开源的串口命令交互框架吗,类似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
|
|