diff --git a/squishy/gateware/bootloader/__init__.py b/squishy/gateware/bootloader/__init__.py index 9efa0f9a..e65a2924 100644 --- a/squishy/gateware/bootloader/__init__.py +++ b/squishy/gateware/bootloader/__init__.py @@ -208,7 +208,7 @@ def elaborate(self, platform: SquishyPlatformType | None) -> Module: dev.full_speed_only.eq(0), # TODO(aki): Should this be tied to the PLL lock like we do with 'sync'? # Release the reset on the USB clock domain - ResetSignal('usb').eq(pll.pll_locked), + ResetSignal('usb').eq(~pll.pll_locked), # Hook together the platform interface and the DFU handler # TODO(aki): These really *really* should be pulled into an interface platform_interface.trigger_reboot.eq(dfu_handler.trigger_reboot),