I will be experimenting with a RISC-V microcontroller from WCH that is in the CH32V003…
- User
I will be experimenting with a RISC-V microcontroller from WCH that is in the CH32V003 family. I am interested in using more than one of these CH32V chips in a single device and want to use a larger "master microcontroller" to program the flash of the CH32V chips. It is my understanding that the CH32V has a dedicated boot loader built-in "System Flash" from the factory. The chip also has 16KB of "user flash" for the application.
I want to be able to automate the process of programming the CH32V chips after they are all integrated onto the PCB. I want to use a custom bootloader that determines the position of each chip on the board (using discreet voltages on an ADC pin) and programs each chip according to its role in the circuit.
This means that I need to have broad flexibility in the following areas:
- I need to be able to put a temporary staging bootloader in the user flash. Then...
- I need to be able to boot from this bootloader and communicate with the master microcontroller to program the rest of the chip.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.