cancel
Showing results for 
Search instead for 
Did you mean: 

How to get terminal on STM32MP157D-EV1? The COM port cann't be seen from the host PC.

HKim.23
Associate III

The board is set up as follows, and USB of ST-Link V2-1 is connected to Host PC.

0693W00000D0cO8QAJ.jpg 

0693W00000D0cJOQAZ.jpg 

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?

1 ACCEPTED SOLUTION

Accepted Solutions
HKim.23
Associate III

Oh ~~~~~~~~~ Sorry,,,

JP1 must be removed.

View solution in original post

9 REPLIES 9
HKim.23
Associate III

Oh ~~~~~~~~~ Sorry,,,

JP1 must be removed.

HKim.23
Associate III

Closed...

JKim.2
Associate III

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.

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi,

LD6 is off.

I tried other 3 USB cables. They are all the same.

Thanks.

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

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

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)

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.

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157x-EV1/Let%27s_start/Unpack_the_STM32MP157x-EV1_board

Regards.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Sure. As I mentioned on the first question, JP1 jumper is surely removed.