I was looking through the manual and saw you could set some otp bits to turn on an LED when the pico 2 is in bootsel mode. My understanding is that the led is active low and its gpio 25. So the picotool commands a ran were:
I confirmed these were written with otp get and it returned:
is there something obvious im missing here? 0x19 = 25.
Thanks!
Code:
picotool otp set BOOTSEL_LED_CFG 0x119
Code:
picotool otp set BOOT_FLAGS0.ENABLE_BOOTSEL_LED 1
Code:
ROW 0x0056: OTP_DATA_BOOTSEL_LED_CFG "Pin configuration for LED status, used by USB bootloader. (ECC) Must be valid if BOOT_FLAGS0_ENABLE_BOOTSEL_LED is set." VALUE 0x000119 field ACTIVELOW (bit 8) = 1 "LED is active-low. (Default: active-high.)" field PIN (bits 0-5) = 19 "GPIO index to use for bootloader activity LED."
is there something obvious im missing here? 0x19 = 25.
Thanks!
Statistics: Posted by jamalsquatty — Thu Dec 12, 2024 7:36 am — Replies 1 — Views 44