Search found 19 matches

by simpleboy
Wed May 25, 2022 8:08 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

The problem still occurs on Putty and I also patch it directly to dev/ttyUSB0, still the same. I'm using an old verion of STM32Core 1.5.0, it has the built-in stm32flash https://i.postimg.cc/hjMyhJc8/Screenshot-from-2022-05-25-16-10-27.png I'm currently using ACSIP S76S LoRA chip containing an STMic...
by simpleboy
Wed May 25, 2022 7:33 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

On a side note, I notice this. I have script file named "serial_upload" in STM32Tools folder. It's content is this: (LINUX) #!/bin/bash $(dirname $0)/stm32flash/stm32flash -g 0x8000000 -b 115200 -e 1000 -w "$4" /dev/"$1" While on the same file "serial_upload.bat&qu...
by simpleboy
Wed May 25, 2022 7:25 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

you did not compile with USB (CDC) Serial selected. USB Serial from your board did not appear in dmesg you can actually disconnect the FTDI dongle and just connect your stm32 board to usb. a USB Serial connection should appear in dmesg My only option is to compile using FTDI dongle. I'm using a cus...
by simpleboy
Wed May 25, 2022 7:00 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

you did not compile with USB (CDC) Serial selected. USB Serial from your board did not appear in dmesg you can actually disconnect the FTDI dongle and just connect your stm32 board to usb. a USB Serial connection should appear in dmesg My only option is to compile using FTDI dongle. I'm using a cus...
by simpleboy
Wed May 25, 2022 2:57 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

in Linux run dmesg look for the vid/pid when your stm32duino or libmaple (roger's core) device is connected. That same vid/pid needs to be in the udev config file. you can have multiple different definitions for different vid/pids. restart udev or restart your pc and make sure you have selected USB...
by simpleboy
Wed May 25, 2022 2:49 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

fpiSTM wrote: Sat May 21, 2022 4:57 am Which core you used?
If it is stm32 core, it sounds strange it use stm32flash or you used a very older version?
Yes I'm using stm32 core version 1.5.0. A very old version because my firmware has a lot of dependencies on that version.
by simpleboy
Sat May 21, 2022 3:04 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

No idea. Without more details hard to help. Here's a sample of successful uploading via FTDI USB serial programmer on Linux OS: https://i.postimg.cc/8CqbbCKB/Screenshot-from-2022-05-21-10-53-05.png When I check the serial monitor, the program freeze: https://i.postimg.cc/1thpqjXv/Screenshot-from-20...
by simpleboy
Sat May 21, 2022 2:51 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Re: Linux serial_posix vs. Windows serial_w32

it is in the Wiki in the FAQ https://github.com/stm32duino/wiki/wiki/FAQ#linux https://github.com/stm32duino/wiki/wiki/FAQ#usb-serial-cdc-stalls-initially-and-connecting-using-a-serial-monitor-fails create a udev rules file e.g. /etc/udev/rules.d/45-stm32duino.rules add a line like ATTRS{idProduct}...
by simpleboy
Wed Apr 27, 2022 9:05 am
Forum: General discussion
Topic: Linux serial_posix vs. Windows serial_w32
Replies: 37
Views: 9810

Linux serial_posix vs. Windows serial_w32

My program successfully uploaded on both windows and linux OS using FTDI serial uploader. But upon executing it, the program seems to crash or pause on the linux one. How can this be?

Go to advanced search