Processing sipeed-longan-nano (platform: gd32v; framework: gd32vf103-sdk; board: sipeed-longan-nano)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PackageManager: Installing tool-openocd-gd32v @ ~0.1.1
Downloading [####################################] 100%
Unpacking [##########################----------] 73% 00:00:02
Unpacking...
Warning! Package Mirror: [Errno 22] invalid mode ('wb') or filename: 'C:\\Users\\ch\\.platformio\\packages\\_tmp_installing-gi6rvh-package\\scripts\\target\\1986\xd0\xb2\xd0\xb51\xd1\x82.cfg'
Looking for another mirror...
Downloading [####################################] 100%
Unpacking [##########################----------] 73% 00:00:02
Unpacking...
Warning! Package Mirror: [Errno 22] invalid mode ('wb') or filename: 'C:\\Users\\ch\\.platformio\\packages\\_tmp_installing-izvrbw-package\\scripts\\target\\1986\xd0\xb2\xd0\xb51\xd1\x82.cfg'
Looking for another mirror...
Error: Could not install 'tool-openocd-gd32v' with version requirements '~0.1.1' for your system 'windows_amd64'.
Please try this solution -> http://bit.ly/faq-package-manager
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it.
=> 自己下載 解開後安裝到自己的目錄下 <=
> Executing task: C:\Users\ch\.platformio\penv\Scripts\platformio.exe run --target upload <
Processing sipeed-longan-nano (platform: gd32v; framework: gd32vf103-sdk; board: sipeed-longan-nano)
-------------------------------------------------------------------------------------------------------------------------------------------------------------
PackageManager: Installing tool-gd32vflash @ ~0.1.0
Downloading [####################################] 100%
tool-gd32vflash @ 0.1.0 has been successfully installed!
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/gd32v/sipeed-longan-nano.html
PLATFORM: GigaDevice GD32V 1.0.0 > Sipeed Longan Nano
HARDWARE: GD32VF103CBT6 108MHz, 32KB RAM, 128KB Flash
DEBUG: Current (altera-usb-blaster) External (altera-usb-blaster, gd-link, jlink, sipeed-rv-debugger, um232h)
PACKAGES: toolchain-gd32v 9.2.0, tool-openocd-gd32v 0.1.1, framework-gd32vf103-sdk 1.0.0, tool-gd32vflash 0.1.0
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 0 compatible libraries
Scanning dependencies...
No dependencies
Checking size .pio\build\sipeed-longan-nano\firmware.elf
Memory Usage -> http://bit.ly/pio-memory-usage
DATA: [= ] 7.0% (used 2310 bytes from 32768 bytes)
PROGRAM: [= ] 5.0% (used 6572 bytes from 131072 bytes)
Configuring upload protocol...
AVAILABLE: altera-usb-blaster, gd-link, jlink, serial, sipeed-rv-debugger, um232h
CURRENT: upload_protocol = serial
Looking for upload port...
Auto-detected: COM7
Uploading .pio\build\sipeed-longan-nano\firmware.bin
stm32flash 0.4
http://stm32flash.googlecode.com/
Using Parser : Raw BINARY
Interface serial_w32: 115200 8E1
Version : 0x30
Option 1 : 0x00
Option 2 : 0x00
Device ID : 0x0410 (Medium-density)
- RAM : 20KiB (512b reserved by bootloader)
- Flash : 128KiB (sector size: 4x1024)
- Option RAM : 16b
- System RAM : 2KiB
Write to memory
Erasing memory
Wrote address 0x080019b8 (100.00%) Done.
Starting execution at address 0x08000000... done.
GET returns unknown commands (0x 6)
=============================================================== [SUCCESS] Took 12.78 seconds ===============================================================



