From: Keith Packard Date: Fri, 5 May 2017 05:09:31 +0000 (-0700) Subject: altos/telemini-v3.0: Use dbg connector pin 5 for force bootloader X-Git-Tag: 1.8~138 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=08da6f2100c0241c70554427e53b7e237dfda16c altos/telemini-v3.0: Use dbg connector pin 5 for force bootloader This works way better than attempting to use the beeper pin. Signed-off-by: Keith Packard --- diff --git a/src/telemini-v3.0/flash-loader/ao_pins.h b/src/telemini-v3.0/flash-loader/ao_pins.h index fea9a645..c523d413 100644 --- a/src/telemini-v3.0/flash-loader/ao_pins.h +++ b/src/telemini-v3.0/flash-loader/ao_pins.h @@ -21,13 +21,13 @@ #include -/* beeper to 3.3V for boot loader mode */ +/* SWDIO to gnd for boot loader mode */ #define AO_BOOT_PIN 1 #define AO_BOOT_APPLICATION_GPIO stm_gpioa -#define AO_BOOT_APPLICATION_PIN 3 -#define AO_BOOT_APPLICATION_VALUE 0 -#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_DOWN +#define AO_BOOT_APPLICATION_PIN 13 +#define AO_BOOT_APPLICATION_VALUE 1 +#define AO_BOOT_APPLICATION_MODE AO_EXTI_MODE_PULL_UP /* USB */ #define HAS_USB 1