No blinking


I can’t seem to get my Blinky to work. Any ideas? Thanks.

This is my steps on Mint Linux:

  1. Copy the Blinky project from Github
  2. Build project
  3. Put the sipeed-longan-nano board to DFU mode
  4. Upload Blinky from PlatformIO IDE

The upload seems to work OK.

This is the errors I get:

Erase size 1024, page count 128
Downloading to address = 0x08000000, size = 6520

Download        [                         ]   0%            0 bytes
Download        [=======                  ]  31%         2048 bytes
Download        [===============          ]  62%         4096 bytes
Download        [=======================  ]  94%         6144 bytes
Download        [=========================] 100%         6520 bytes
Download done.
File downloaded successfully
**dfu-util: Error during download get_status**

** *** [upload] Error 74**
====================================== [FAILED] Took 1.66 seconds ======================================
The terminal process terminated with exit code: 1

OK. I got working on Windows 10. :smile:

  1. download the DFU tools from Sipeed see section 6.1 DFU tools

  2. unplug the Longan board from computer

  3. unzip then install the driver in the DFU driver folder

  4. plug the board back into the computer

  5. run the DFU tool in the DFU Tool folder

  6. upload the Blinky onto the board

Hope you will see the blinking LED.

Note: I still can not get it to work from PlatformIO IDE.
Deducing device DFU version from functional descriptor length
Cannot open DFU device 28e9:0189
No DFU capable USB device available
*** [upload] Error 74