1.) Is it okay to upload via STLink with the board having the bootloader?
2.) If 1 is yes , does the bootloader disappear after uploading via STLink?
3.) After resetting everything in drivers, still the stlink cant communicate with the board. Any method on how to fix this?
i.e. which os, which distro if applicable, which core, which arduino version and anything else you might be useful
srp
i’m on linux so not that helpful.
which core ? arduino_stm32(roger), ST(ftpSTM??) official, one of the STM32GENERIC’s ?
srp
why are you trying to st-link upload after installing the bootloader ?
select the bootloader as the upload method and try again .
stephen
select the bootloader as the upload method and try again .
stephen
thanks for the guide sir stephen , gonna move this thread to uploading i was on the wrong one

[peeknot – Thu Jan 04, 2018 2:18 pm] –
Im not quite sure about the core , but Im using the arduino_st(roger) , the first time I use the stlink is successful but after uploading bootloader on it and back to stlink for uploading method the stlink dont communicate with the board sorry for the inconvenience
You need the bootloader only if you want to upload over USB DFU.
In this case the STLink interface is disabled, that is why you cannot access the chip with the STLink.
STLink DOES NOT WORK AS SERIAL PORT!!!
You have to connect a USB cable to the USB socket of the board to have USB serial interface.
[stevestrong – Thu Jan 04, 2018 3:22 pm] –
You need the bootloader only if you want to upload over USB DFU.
In this case the STLink interface is disabled, that is why you cannot access the chip with the STLink.
How can I enable the STLink interface?
[stevestrong – Thu Jan 04, 2018 3:22 pm] –
STLink DOES NOT WORK AS SERIAL PORT!!!
You have to connect a USB cable to the USB socket of the board to have USB serial interface.
Yes I know that sir , sorry for the inconvenience. The problem was on the STLink interface that I think it was disable
-DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
[stevestrong – Thu Jan 04, 2018 10:06 pm] –
Or you can try to upload via STLink but then press the reset button on the board right after Arduino IDE has completed to build the project and starts to upload. Precise timing is necessary here.
Yay solved , thanks steve
Best Regards
Kevin