STM32 and Arduino Uno like USB to UART

Post Reply
7erduk
Posts: 2
Joined: Sat Nov 04, 2017 5:21 pm

STM32 and Arduino Uno like USB to UART

Post by 7erduk » Sat Nov 04, 2017 6:03 pm

I want flashing my STM32F103. I don't have converter USB to UART, but have Arduino UNO. It cans be work like converter.
My system is maxOs SIerra.
I used software:
1. git clone https://github.com/rogerclarkmelbourne/ ... loader.git
2. git clone https://github.com/rogerclarkmelbourne/ ... _STM32.git

a. Arduino uno reset pin to ground.
b. Arduino uno 3.3V to STM 3.3V , groung to ground
c. Arduino uno 0 (RX) and 1 (TX) to STM32 A9 and A10 (i try change pins between each other)
d. STM32 boot0 is power, boot1 is ground
and i try flashing like that

./stm32flash -w ../../../../STM32duino-bootloader/binaries/generic_boot20_pa9.bin /dev/tty.usbmodem1431

results is

Code: Select all

 Using Parser : Raw BINARY
Error probing interface "serial_posix"
Cannot handle device "/dev/tty.usbmodem1431"
Failed to open port: /dev/tty.usbmodem1431
i tried used another device /dev/cu.usbmodem1431, error is same.

also i checked my arduino uno usb to uart, i used bluetooth and send AT command, it's work with same configuration.

Maybe somebody had solved this problem? Thank you.

User avatar
RogerClark
Posts: 7179
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: STM32 and Arduino Uno like USB to UART

Post by RogerClark » Sat Nov 04, 2017 8:29 pm

There are a few new members who seem to be having problems with thus sort of thing.

Look in the active topics and see if their problems are the same as yours.

BTW. The sources for stm32flash are in the repo, so you could add some debug and recompile, to try to track down why its having a problem with that usb serial driver

Post Reply