2021-07-26 05:07 AM
The board is set up as follows, and USB of ST-Link V2-1 is connected to Host PC.
when using Linux host pc , /dev/ATM* devices not recognized.
So I used a Windows PC, but it is not recognized either.
Do I need to install a special driver to recognize the Uart serial?
Or is there a problem with the Jumper setting?
Solved! Go to Solution.
2021-07-26 05:11 AM
2021-07-26 05:11 AM
Oh ~~~~~~~~~ Sorry,,,
JP1 must be removed.
2021-07-26 05:11 AM
Closed...
2023-03-16 01:15 AM
Hello,
I set the jumpers same (JP1 removed, JP4[2-3], JP5[2-3]). However, when I connect the USB cable from CN4(ST-Link V2-1) to PC, the results are still same as yours. (Linux host pc: /dev/ttyACM* devices not recognized. Windows PC: the USB is not recognized either.) Do I need any other driver or accessory for this?
Thanks.
2023-03-16 01:30 AM
Hi,
what is the status of LD6 ?
Check your USB cable, there is some USB cables (provided with cheap gadgets) which does not have USB data connected (only VBUS wires) !
Regards.
2023-03-16 01:39 AM
Hi,
LD6 is off.
I tried other 3 USB cables. They are all the same.
Thanks.
2023-03-16 02:23 AM
LD6 should be at least green + red very low bright (or light green or red) as soon as STLINK 3.3V supply is present (either 5V using Jack or STLINK VBUS)
Very strange behavior as the STLINK VCP should work out of the box without any drivers.
Maybe try https://www.st.com/en/development-tools/stsw-link007.html, but I doubt it will work if USB is not visible by the PC.
Are the STLINK worked at some time ? Any special FW loaded with CN6 which could have bricked the STLINK ?
Any board HW changes ?
If your board is brand new, maybe ask your dealer to replace it.
Another solution is to use an external STLINK on motherboard CN14 connector (JTAG) for debugging and classic RS232 UART cable on CN12
Regards
2023-03-16 02:39 AM
Sorry. LD6 shows very low bright(green+red). I didn't feel it before.
I installed stsw-link009 before. I don't see any improvement with it.
I never saw STLINK working so far. I don't connect CN6. I downloaded the starter package through CN16 OTG only. HW changes I made are the jumpers(stated above) and SW1(sd boot).
Do you mean If I connect the below debugger, the interface will work?
(ST-LINK/V2 - ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 - STMicroelectronics)
2023-03-16 03:01 AM
Sure, it will work as replacement of embedded STLINK
But maybe you could have a way to figure out (i.e. HW debugging) why embedded STLINK is not working on a brand new board (unusual) .
Maybe double check if JP1 is not present.
Regards.
2023-03-16 03:05 AM
Sure. As I mentioned on the first question, JP1 jumper is surely removed.