Skip to content

Upload Failing Windows 10 (WCH-LinkE) #87

@prairielandelec

Description

@prairielandelec

Just got a CH32C0003F4P6-Ro-1v1 and a WCH-LinkE-Ro-1v1 and am attempting to upload a test sketch.

First I installed the board packed per the instructions in this repo

I have connected SWDIO to PD1 on the dev board as well as 3v3 and GND and RX to PD5

When I look at Device manager there is a USB Serial Device and an unknown device WCH-Link

I select the USB Serial Device as the port in the Arduino IDE and the CH32V00x as the board and put in a simple blink test.

When I click "upload" I get the following:

Sketch uses 4796 bytes (29%) of program storage space. Maximum is 16384 bytes.
Global variables use 396 bytes (19%) of dynamic memory, leaving 1652 bytes for local variables. Maximum is 2048 bytes.
Open On-Chip Debugger 0.11.0+dev-02415-gfad123a16-dirty (2023-05-05-13:43)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'sdi'
Warn : Transport "sdi" was already selected
Ready for Remote Connections
Failed uploading: uploading error: exit status 0xc0000005

Is this just a faulty WCH-LinkE? Or am I missing some step of the initial configuration process? The bin builds just fine but after this error shows up nothing happens.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions