DeqingSun / ch55xduino

An Arduino-like programming API for the CH55X
GNU Lesser General Public License v2.1
441 stars 86 forks source link

How to Disable Reset Input Pin #53

Closed Kaitoukid93 closed 3 years ago

Kaitoukid93 commented 3 years ago

I want to Disable RST pin, so the status of that pin will not reset the chip I have made a mistake on a pcb that I use RST pin to control a LED, now I want to use pin 1.7 instead by shorting P1.7 and RST with solder bridge, but by doing that, the chip hang on reset thanks for help

DeqingSun commented 3 years ago

@Kaitoukid93 you will need to change the configuration byte to disable reset pin. If you are using a ch55x chip, the configuration will not be changed by the Arduino tool chain.

You can use a windows computer and the wch tool to change the configuration

Kaitoukid93 commented 3 years ago

Thanks, I found the option in WCHisp,