Edit online

调试指南

在 AiKey 运行期间,后台会一直记录日志信息并保存在 log 文件夹中,方便定位分析问题。下图为 AiKey log 文件夹示例:



操作日志内容示例如下:
[info ] [2025-03-11 16:55:26] aicupg_trans_send_pkt_inner()245:       no CSW. (rc=0)
[debug] [2025-03-11 16:55:26] Wait to reconnect dev "COM6"
[debug] [2025-03-11 16:55:26] QTime("16:55:26.414") Wait for Dev "COM6" ready
[debug] [2025-03-11 16:55:26] Try to ping uart device 1 ...
[debug] [2025-03-11 16:55:26] Try to ping uart device 2 ...
[debug] [2025-03-11 16:55:27] Ping uart device success
[warn ] [2025-03-11 16:55:27] Boot device list is empty
[warn ] [2025-03-11 16:59:19] Boot device list is empty
[error] [2025-03-11 16:59:34] libuart_open()605:                      Failed to open COM1 device.
[debug] [2025-03-11 16:59:43] Try to ping uart device 1 ...
[debug] [2025-03-11 16:59:44] Try to ping uart device 2 ...
[debug] [2025-03-11 16:59:44] Ping uart device success
[debug] [2025-03-11 17:07:26] Insert key record: 1
[debug] [2025-03-11 17:07:31] Try to ping uart device 1 ...
[debug] [2025-03-11 17:07:31] Try to ping uart device 2 ...
[debug] [2025-03-11 17:07:32] Ping uart device success