Re: FYSETC_S6 Bootloader
In the Wiki for the S6, you'll information under the Software section. According to the wiki, you only need to edit the local bat file on your computer, not the hex file.
Wiki page: https://onstep.groups.io/g/main/wiki/21159
Important: On Windows, the STM32Duino package uses a script to call the STM32CubeProgrammer in command-line mode to perform the actual upload. This script contains an incorrect address for the code segment start address (its probably correct for some boards but not the FYSETC S6). Currently the only way to change this to the correct value is to edit the script according to these instructions:
WARNING: If you fail to update the start address in the stm32CubeProg.bat script after STM32Duino package installation OR updating you will corrupt the bootloader on the board. You will have to restore the bootloader from the FYSETC github. Follow the directions at https://github.com/FYSETC/FYSETC-S6/tree/main/bootloader.