在使用最新的MRS工具鏈調(diào)試時發(fā)現(xiàn)CH32V307似乎并不支持硬件監(jiān)視點(watchpoint),下面是在gdb中執(zhí)行相關(guān)命令的log
(gdb)?watch?i????? Hardware?watchpoint?2:?i (gdb)?c Continuing. Warning: Could?not?insert?hardware?watchpoint?2. Could?not?insert?hardware?breakpoints: You?may?have?requested?too?many?hardware?breakpoints/watchpoints. Command?aborted. (gdb)
在CH32V307的DS和RM手冊中我沒有找到相關(guān)的內(nèi)容,在QingKeV4 微處理器手冊中也只找到了關(guān)于硬件斷點(breakpoint)的說明,在這里想確認一下CH32系列對硬件監(jiān)視點的支持情況。