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

烧写日志内容示例如下:
[debug] [2024-07-25 11:19:53] Serial device: COM3
[debug] [2024-07-25 11:19:53] Chip id: 00000B011031343978CE8100
[debug] [2024-07-25 11:19:53] Boot stage: U-Boot
[debug] [2024-07-25 11:19:53] Secure flag: No
[debug] [2024-07-25 11:19:53] Boot encryption: No
[debug] [2024-07-25 11:19:53] Anti rollback: No
[info ] [2024-07-25 11:19:56] Start monitor serial dev on COM3
[info ] [2024-07-25 11:19:58] Serial dev found on COM3
[info ] [2024-07-25 11:19:58] Stop monitor serial dev on COM3
[debug] [2024-07-25 11:19:58] Serial device: COM3
[debug] [2024-07-25 11:19:58] Chip id: 00000B011031343978CE8100
[debug] [2024-07-25 11:19:58] Boot stage: U-Boot
[debug] [2024-07-25 11:19:58] Secure flag: No
[debug] [2024-07-25 11:19:58] Boot encryption: No
[debug] [2024-07-25 11:19:58] Anti rollback: No
[info ] [2024-07-25 11:20:10] Start monitor serial dev on COM3
[info ] [2024-07-25 11:20:13] Serial dev found on COM3
[info ] [2024-07-25 11:20:13] Stop monitor serial dev on COM3
[debug] [2024-07-25 11:20:13] Serial device: COM3
[debug] [2024-07-25 11:20:13] Chip id: 00000B011031343978CE8100
[debug] [2024-07-25 11:20:13] Boot stage: U-Boot
[debug] [2024-07-25 11:20:13] Secure flag: No
[debug] [2024-07-25 11:20:13] Boot encryption: No
[debug] [2024-07-25 11:20:13] Anti rollback: No
[info ] [2024-07-25 11:20:26] Start monitor serial dev on COM3
[info ] [2024-07-25 11:20:27] Serial dev found on COM3
[info ] [2024-07-25 11:20:27] Stop monitor serial dev on COM3
[error] [2024-07-25 11:20:28] switch_to_send_mode()810: Expect Got ACK, But Got SIG_A
[error] [2024-07-25 11:20:28] aicupg_trans_send_pkt()132: CBW send error. 0
[error] [2024-07-25 11:20:28] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 49
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 42
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 55
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 52
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 4E
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 49
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 44
[error] [2024-07-25 11:20:28] uart_conn_mgr_thread()471: uart_conn_mgr_thread: Got 0A
[error] [2024-07-25 11:20:28] libuart_send()837: Connection is not ready
[error] [2024-07-25 11:20:28] aicupg_trans_send_pkt()132: CBW send error. -1
[error] [2024-07-25 11:20:28] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[error] [2024-07-25 11:20:28] libuart_send()837: Connection is not ready
[error] [2024-07-25 11:20:28] aicupg_trans_send_pkt()132: CBW send error. -1
[error] [2024-07-25 11:20:28] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[error] [2024-07-25 11:20:28] libuart_send()837: Connection is not ready
[error] [2024-07-25 11:20:28] aicupg_trans_send_pkt()132: CBW send error. -1
[error] [2024-07-25 11:20:28] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[error] [2024-07-25 11:20:28] libuart_send()837: Connection is not ready
[error] [2024-07-25 11:20:28] aicupg_trans_send_pkt()132: CBW send error. -1
[error] [2024-07-25 11:20:28] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[error] [2024-07-25 11:20:28] libuart_send()837: Connection is not ready
[error] [2024-07-25 11:20:28] aicupg_trans_send_pkt()132: CBW send error. -1
[error] [2024-07-25 11:20:28] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[error] [2024-07-25 11:20:29] libuart_send()837: Connection is not ready
[error] [2024-07-25 11:20:29] aicupg_trans_send_pkt()132: CBW send error. -1
[error] [2024-07-25 11:20:29] aicupg_cmd_get_hwinfo()113: Send command failed. ret = 0, siz = 16
[info ] [2024-07-25 11:20:29] Start monitor serial dev on COM3
[info ] [2024-07-25 11:20:57] Serial dev found on COM3
[info ] [2024-07-25 11:20:57] Stop monitor serial dev on COM3