Skip to content

Question: Is there a way to programmatically have chips enter bootloader mode? #31

Open
@KurtE

Description

@KurtE

Sorry, not sure if this is the best place to ask this, but wondering if there is a prescribed way for a program that is running on of the chips such as the CH32V307 or CH32V203... to be able to enter into a state where you can use this app to upload the new program.

I know with some other boards, you can do this by jumping to some special location, others by special instructions, etc.

If there is a way, then I will probably play with the USB code to detect some condition such as some specific set of bytes sent to it, with a specific logical baud rate. At which point can then potentially build up an external command that can be run within some build process that first uses this to reset the board, and then use wchip to reprogram it.

Thanks and again sorry if this is not the appropriate place to ask this.
Kurt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions