ole00 / ch554_sdcc_usb_blinky

CH55x USB demo and Host controller app
11 stars 2 forks source link

enter bootloader bug #5

Open nerdralph opened 4 years ago

nerdralph commented 4 years ago

You need to disconnect from the bus in order to force it to re-enumerate when the bootloader starts. i.e.:

    PIN_FUNC = 0;                       // UDM & UDP controlled by GPIO, not USB SIE
    UDM = 0; UDP = 0;                   // UDM & UDP low to disconnect from USB