我需要调试 FreeRTOS 的多个任务,可当我开启 FreeRTOS 调试支持后,根本无法连接到我的 STM32H743 主控,会弹出提示框显示Could not verify ST device,同时控制台输出报错Failed reading: xList.pxNext Update threads. Failed collecting threads. Lost connection to GDB Client Proxy stopped.
我曾用 OpenOCD 成功连接过一次,但后续也接连失败,控制台还会出现这类错误:OpenOCD Info : New GDB Connection: 1, Target STM32H743IITx.cm7, state: halted Error: Failed to read memory at 0x79280480 Warn : negative acknowledgment, but no packet pending。
该如何实现多任务的调试呢?
需要说明的是,不启用 FreeRTOS 时,固件的常规下载和调试都能完美运行。
|
|