platform-ststm32: Problem to burn bluepill_f103c8 via UART (arduino)
Looking for upload disk...
Auto-detected: /dev/cu.SLAB_USBtoUART
Uploading .pioenvs/stm32f103c8t6/firmware.bin
sh: ~/.platformio/packages/framework-arduinoststm32/tools/macosx/: is a directory
*** [upload] Error 126
But then i do same with CLI:
~/.platformio/packages/framework-arduinoststm32/tools/macosx/stm32flash:$ ./stm32flash -w ~/Projects/test_ST32/.pioenvs/stm32f103c8t6/firmware.bin -v -g 0x0 /dev/cu.SLAB_USBtoUART
and that burns normally
for mbed - for now no success at all…
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 24 (14 by maintainers)
You need to set upload protocol in platformio ini. For example, if you want to use STM32 serial, you need to write this line into platformio.ini:
upload_protocol = serialor if using dfu:upload_protocol = dfu