ā2021-12-07 12:20 AM
and i try use it in ubuntu and it work....so :sad_but_relieved_face:
ā2021-12-07 05:41 AM
Hello @Xxiao.3ā ,
This behavior normally happens in Windows 10 if you have a Virtual Machine running that already uses the ports created by the board.
In these case, the ports are invisible for Windows because they are linked to the Virtual Machine.
I tried again on my Win10 and I got the same behavior than you.
If I "Disconnect" the two ports from the virtual machine, Windows can see one of them again:
(You have to close the debug window and open it again).
Hope it helps you,
Regards,
Kevin
ā2021-12-09 02:07 AM
i turn off vm but it also cant find any serial:dizzy_face: . but cubeide v1.4 is work in win10.
ā2021-12-15 06:27 AM
Hi @Xxiao.3ā ,
Ok, do you still need help on this issue?
If you need help, please can you provide me a screenshot of your device manager in w10, especially the part about "Ports (COM & LPT)", with the board plugged without the VM.
There was a lot of changes between CubeIde v1.4 and v1.8, please can you try with intermediate version, like v1.7 or v1.6?
Regards,
Kevin
ā2021-12-15 06:54 AM
Hi @Xxiao.3ā ,
I just installed other versions of CubeIde on my Windows 10 and it works with CubeIde 1.4 or 1.6 or 1.8.
Please can you uninstall and reinstall the cubeIde 1.8 and be sure that all the drivers are enabled during the setup:
Regards,
Kevin
ā2021-12-17 01:52 AM
my board is make for myself ,157d's debug uart connect CH340. sorry i not use discovery board. but it not work in cubeide v1.8 under win10. but now i can find but it cannot connect. i can use mobaxtrem connect com7 and debug.
ā2021-12-17 03:00 AM
Hi @Xxiao.3ā ,
Ok, so now you have a serial port in the list. Please, what did you change to have something in the list?
Is COM7 the only possible choice of the list?
Please can you send me a screenshot of your device manager, the part "Ports (COM & LPT)", like this:
And please open a terminal on windows and use this command:
reg query HKLM\HARDWARE\DEVICEMAP\SERIALCOMM
and send me the traces. This command displays all the serial ports connected to Windows 10 even the one that are used by another application.
Regards,
Kevin
ā2021-12-18 06:10 PM
my pc can find com7. i can use com7 debug uboot and kernel. but cudeide v1.8 cant connect it.i can use the com7 for debug in putty, even if i close putty cude cant connect it.
ā2022-02-09 05:26 AM
Hi @Xxiao.3ā
I understand you have developed a board based onto STM15x and may be you have your own hardware implementation of the Linux console.
In STM32CubeIDE Linux console is discovered searching first STMicroelectronics or FTDI console, corresponding to STLink Virtual COM Port.
In your case I would recommend to force the console with menu:
Window > Preferences > STM32Cube > MPU Serial
enable Remove Filter and select your console.
Hope this help,
LudovicR
ā2022-02-10 08:11 PM
i enable Remove Filter but it not find my com port. but i plug in 157c-dk2, cubeide will find it. so i dont know what cant find my com port.:face_with_tears_of_joy: