diff --git a/doc/devices/PCB-K0402WS-V3.0.md b/doc/devices/PCB-K0402WS-V3.0.md index 6246a910..1e103af1 100644 --- a/doc/devices/PCB-K0402WS-V3.0.md +++ b/doc/devices/PCB-K0402WS-V3.0.md @@ -82,3 +82,15 @@ Voltage is made by a `Techcode TD1720` . Voltage is created by chip marked as `Techcode TD1720`. **There seems to have been a miscalculation when choosing the inductor and the device is ~25% more efficient with an 5V power supply.** + + +## Reset Mod + +A reset button can be easily added by soldering a push button from TP131 (near the Spi ROM) to ground via a 1KOhm resistor. + +**PS:** `The reset button GPIO must be defined in the machine.c file before building the image, it must be selected the GPIO30_ACL_BIT3_EN instead of GPIO_NA under the PCB_K0402WS-V3.0 configurations.` + +Photo of the mod + + + diff --git a/doc/devices/photos/PCB-K0402WS-V3.0/Reset_mod.jpg b/doc/devices/photos/PCB-K0402WS-V3.0/Reset_mod.jpg new file mode 100644 index 00000000..3343f16f Binary files /dev/null and b/doc/devices/photos/PCB-K0402WS-V3.0/Reset_mod.jpg differ diff --git a/machine/HI_K0402WS.c b/machine/HI_K0402WS.c index 2c59d8bc..3472424b 100644 --- a/machine/HI_K0402WS.c +++ b/machine/HI_K0402WS.c @@ -19,7 +19,7 @@ __code const struct machine machine = { .sfp_port[1].sds = 0, .sfp_port[1].i2c = I2CBUS( GPIO41_I2C_SDA3_MDIO1, GPIO40_I2C_SCL3_MDC1 ), - .reset_pin = GPIO_NA, + .reset_pin = GPIO30_ACL_BIT3_EN, .high_leds = { .mux = LED_28_SYS | LED_29, .enable = LED_27 | LED_28_SYS | LED_29 }, .port_led_set = { 0, 0, 0, 1, 0, 0, 0, 0, 1}, .led_sets = {