You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
The installed firmware on the device also make it sort of dependent how you can jump to the bootloader.
For example the closed source firmware on the Badgemagic https://badgemagic.fossasia.org/ did not let jumps to 0x00. This makes it a requirement to solder out the battery once, flash the opensource firmware replacement and then solder on the battery again.
With the opensource firmware now jumping to 0x00 is possible and you do not have to desolder the battery any more: fossasia/badgemagic-firmware#38 (comment)
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
The text was updated successfully, but these errors were encountered: