hydrausb3 / wch-ch56x-isp

Simple WCH MCU tool to flash over usb (compatible with WCH CH569 & CH565)
12 stars 6 forks source link

Add code to enable debug mode #4

Closed hansfbaier closed 2 years ago

hansfbaier commented 2 years ago

Hi, I added enabling debug mode for this.

bvernoux commented 2 years ago

Thanks for the contribution but debug mode is very dangerous as it can brick WCH CH569 MCU and we do not have any way to recover from that so far Could you push that in debug branch ?

bvernoux commented 2 years ago

Could you refactor it a bit to fix the conflict and to pass a bool as input to enable or disable the debug ?