Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows]Opening port COM16: can not open port #10

Open
LovelyA72 opened this issue Oct 1, 2022 · 2 comments
Open

[Windows]Opening port COM16: can not open port #10

LovelyA72 opened this issue Oct 1, 2022 · 2 comments

Comments

@LovelyA72
Copy link

LovelyA72 commented Oct 1, 2022

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
@IOsetting
Copy link
Owner

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

@iamplouf
Copy link

faill here with EVERY usb>Serial i have try ftdi/prolific/microchip

opens COM with PCI card
Windwos 11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants