On my system, dfu-util -l produces theĬopyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.Ĭopyright 2010-2016 Tormod Volden and Stefan Schmidt Uploading requires the dfu-util software ( brew install dfu-util or apt install dfu-util should do the trick, on MacOS, resp. Note: “ pio run -t upload” didn’t start the DFU utility, so I’m launching it Next, we build the code with this command: pio run. Once plugged in, the board will register on USB in a special boot mode. The board in “DFU mode”, by adjusting the BOOT jumpers as follows, before at 1 Hz.Īnd although uploading requires no special programmer setup, we do need to put This code toggles the LED every 500 ms, i.e. Needs to be continuously polled, so wait_ms() calls cannot be used. ![]() #include #include UsbDev console int printf ( const char * fmt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |