Re: FYSETC S6 V2 compilation errors #S6


fred1984
 

I did the whole process:

"Also, on Windows, you need to use STM32CubeProgrammer in DFU mode, as described on this page. 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: locate the file stm32CubeProg.bat. It should be at ~AppData\Local\Arduino15\Packages\STM32\Tools\STM32tools\1.4.0\tools\win\STM32CubeProg.bat but if the location changes in the future due to package updates you may need to search for it starting at ~\AppData\Local\Arduino15.

Open the file in your favorite editor Change the value on the 'SET ADDRESS' line from 0x8000000 to 0x8010000 Save and exit"

Join main@onstep.groups.io to automatically receive all group messages.