-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upload arduino code in stm32f103c8 after #135
Comments
You have to enable USB CDC and use the com port created. |
you have to flash it first, then select the new com port created. |
could you please clarify your suggestion because i am still confused and struggled at the position ? |
As stated here: https://github.com/stm32duino/Arduino_Core_STM32/wiki/Upload-methods#maple-dfu-bootloader Warning USB CDC have to be enable else you will not be able to upload automatically as bootloader reset sequence are managed through the USB CDC communication port. Your issue is that the board is not started in Bootloder mode and the COM port is the USART one not the CDC. So the reset sequence to start un BL mode can't be done. To start in BL mode manualy set the BOOT0 at 1 or eraser fully the flash then flash the bootloader, as no application it will stay in BL mode (having a DFU device and no com port). |
and the monitor display this message : after that i followed you instruction to enable CDC and Select the right port number. |
Com port is only used to reset in Maple DFU mode. More info here: https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/stm32duino-bootloader Here the result of a second upload where COM9 is the USB CDC port which reset the board in Maple DFU mode then flash: |
here is my device manager recognize the STM32F103C8 as Maple Serial (COM13)
und here my arduino IDE screenshot when i tried to upload the code it doesn't find the Device every Uploading .
how i can solve this issue ?
i have struggle with this issue for three days.
Notes: I followed the instruction of flashing bootloader as provided in this link here :
https://github.com/rogerclarkmelbourne/Arduino_STM32/wiki/Flashing-Bootloader-for-BluePill-Boards
thanks in advance
The text was updated successfully, but these errors were encountered: