Skip to content

Ch32V003: Please allow setting option byte register from within the IDE #68

@FPGA-Computer

Description

@FPGA-Computer

CH32V003 Option Bytes Register (FLASH_OBR) uses the default setting whenever code is downloaded from the compiler/Debugger environment. There doesn't seem to be a way of changing the default values from within the IDE. External WCH utility could be used, BUT the debugger will rewrite it with the default values.

e.g. PD7 is default as NRST pin. This pin could also be used as a GPIO. However, there are no IDE options to tell the Debugger to use a different Option Byte value whenever it downloads a new firmware. The only alternative is the firmware programmatically reprogram the option byte register as part of the user firmware. However, I have not tested if the changes would affects the GPIO directly without a reset.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions