CommunityGD32Cores / platform-gd32

PlatformIO platform for ARM-based GD32{F,E,L,W} chips. Work in Progress!
67 stars 28 forks source link

GD32E230C8T6 can not upload by serial #51

Open zaoshang67dian opened 8 months ago

zaoshang67dian commented 8 months ago

I am afresher of platformio for gd32. I am trying upload the blink demo to my board, which has a usb to serial ic (CH340N)。 the .ini is: `[env] platform = https://github.com/CommunityGD32Cores/platform-gd32.git platform_packages = framework-spl-gd32@https://github.com/CommunityGD32Cores/gd32-pio-spl-package.git

[env:genericGD32E230C8] board = genericGD32E230C8 framework = spl upload_protocol = serial upload_port = /dev/tty.usbserial-2140`

I try upload , but failed : Verbose mode can be enabled via-v, --verbose` option CONFIGURATION: https://docs.platformio.org/page/boards/gd32/genericGD32E230C8.html PLATFORM: GD GD32 (1.0.0+sha.8df3968) > GD32E230C8 (8k RAM, 64k Flash) HARDWARE: GD32E230C8T6 72MHz, 8KB RAM, 64KB Flash DEBUG: Current (stlink) External (blackmagic, cmsis-dap, jlink, sipeed-rv-debugger, stlink) PACKAGES:

http://github.com/rogerclarkmelbourne/arduino_stm32

Using Parser : Raw BINARY Interface serial_posix: 115200 8E1

*** [upload] Error 1`

zaoshang67dian commented 8 months ago

my computer is Mac M1, 12.5