[Windows]Opening port COM16: can not open port
LovelyA72 opened this issue · comments
I compiled stc8prog with Cygwin64 but the software can not open the COM port on Windows. I tried both way and it doesn't work. The MinGW version that I managed to compile also doesn't connect.
Tested on ARM-DAPLink and a genuine FT2232. Both of them don't work.
Honoka@Honoka ~/stc8prog
$ ./stc8prog.exe -p /dev/ttyS15
Opening port /dev/ttyS15: can not open port
Honoka@Honoka ~/stc8prog
$ ./stc8prog.exe -p COM16
Opening port COM16: can not open port
I just tried with a fresh install of msys2 on Windows 10, it works without problem. I am using a CH340C USB dongle.
Milton@DESKTOP-HSBENAK MINGW64 ~/WorkC/stc8prog
$ ./stc8prog.exe -p COM3
Opening port COM3: done
Waiting for MCU, please cycle power: detected
MCU type: STC8H3K64S2
Protocol: STC8G/8H
F/W version: 7.4.1U
IRC frequency(Hz): 24002400
Switching to 115200 baud, chip: set, host: set, ping: succ
The command history, nothing special
Milton@DESKTOP-HSBENAK MINGW64 ~/WorkC/stc8prog
$ history
1 pacman -Syu
2 pacman -S msys/make
3 gcc
4 pacman -S msys/gcc
5 pacman -S msys/git
6 ll
7 pwd
8 ls
9 mkdir WorkC
10 cd WorkC/
11 ll
12 ls
13 ls -l
14 git clone https://github.com/IOsetting/stc8prog.git
15 cd stc8prog/
16 ls
17 ls -l
18 make
19 ls
20 ls -l
21 dmesg <-- doesn't work
22 lsusb <-- doesn't work
23 ./stc8prog.exe -p COM3
24 history
faill here with EVERY usb>Serial i have try ftdi/prolific/microchip
opens COM with PCI card
Windwos 11