-
While I'm not 100% sure, it seems like I'm making a very simple bootloader, if I set
If I clear
Below is my source code:
tinyusb/src/class/dfu/dfu_device.c Line 477 in 681a61d |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yeah, I think you are right, the logic seems to be inverted. Maybe submit an PR to fix it, so that we could request review from @xmos-jmccarthy. IMHO, actually, I don't think we really need to follow these rule anymore in the firmware. this bit is for old hardware when it use 100% cpu or the flashing just blocking disable whole interrupt which is hardwarely block usb communication. Otherwise, if we could receive the request in this manifest state, It means we could response, therefore no need to ignore it. |
Beta Was this translation helpful? Give feedback.
Yeah, I think you are right, the logic seems to be inverted. Maybe submit an PR to fix it, so that we could request review from @xmos-jmccarthy. IMHO, actually, I don't think we really need to follow these rule anymore in the firmware. this bit is for old hardware when it use 100% cpu or the flashing just blocking disable whole interrupt which is hardwarely block usb communication. Otherwise, if we could receive the request in this manifest state, It means we could response, therefore no need to ignore it.