Re: Linux serial_posix vs. Windows serial_w32
Posted: Wed May 25, 2022 7:00 am
My only option is to compile using FTDI dongle. I'm using a custom board which only has RX and TX terminal. Do you think this might be the issue?
Everything relating to using STM32 boards with the Arduino IDE and alternatives
https://www.stm32duino.com/
My only option is to compile using FTDI dongle. I'm using a custom board which only has RX and TX terminal. Do you think this might be the issue?
yes, USB (CDC) Serial is for the on-chip usb (pins pa11, pa12). If you want to use a separate FTDI dongle, then u'd need to use UART for your serial.
When I install putty this message comes up:ag123 wrote: ↑Wed May 25, 2022 7:10 amyes, USB (CDC) Serial is for the on-chip usb (pins pa11, pa12). If you want to use a separate FTDI dongle, then u'd need to use UART for your serial.
based on your dmesg output you posted earlier, the device seemed to be at /dev/ttyUSB0
you can try to connect to it using a serial terminal utility, e.g. https://www.putty.org/
Code: Select all
'configure' was unable to find any version of the GTK libraries on
your system. Therefore, PuTTY itself and the other GUI utilities will
not be built by the generated Makefile: only the command-line tools
such as puttygen, plink and psftp will be built.
Code: Select all
#!/bin/bash
$(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 115200 -e 1000 -w "$4" /dev/"$1"
Code: Select all
@echo off
rem: Note %~dp0 get path of this batch file
rem: Need to change drive if My Documents is on a drive other than C:
set driverLetter=%~dp0
set driverLetter=%driverLetter:~0,2%
%driverLetter%
cd %~dp0
rem: the two line below are needed to fix path issues with incorrect slashes before the bin file name
set str=%4
set str=%str:/=\%
stm32flash\stm32flash.exe -g 0x8000000 -b 115200 -e 1000 -w %str% %1