3518 views|0 replies

750

Posts

3

Resources
The OP
 

[GD32F350/GD32E103] Build VSF-based WebUSB DFU using open source toolchain [Copy link]

WebUSB DFU is a USB firmware update protocol that can be used through the Chrome browser on systems that support WebUSB, such as Win10, Android, and MacOS.

Build process:

Build in Windows 10

Build in Ubuntu 20.04

  • sudo apt install gcc-arm-none-eabi git cmake ninja-build make
  • git clone
    链接已隐藏,如需查看请登录或者注册
  • cd ./vsf/source/cmake_example/vllink_lite_bootloader/cmake_vllinklite_gd32e103
  • cmake -GNinja -S. -Bbuild
  • cmake --build ./build
  • rm -rf ./build

Test results:

https://devanlai.github.io/webdfu/dfu-util/

If you use cmake -GNinja -S. -Bbuild -DCMAKE_BUILD_TYPE=Release , the binary file can be less than 10KB, but USB enumeration cannot pass. Due to the inconvenience of debugging, it is not solved. By the way, the firmware optimized by IAR size is less than 8KB.

This post is from GD32 MCU
Personal signature

要666

 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

Related articles more>>

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list