cancel
Showing results for 
Search instead for 
Did you mean: 

Let's Get Started - Garbage Serial Terminal Output

TOlli
Senior

Hi,

I've been following the guide over at:

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP157C-DK2/Let%27s_start/Execute_basic_commands

I'm using a Windows 10 as a host, but I was hoping I'm not the only one. I don't have access to a Linux environment at the moment.

I'm at the point where I need to connect to the device using the UART/ST-Link, power on, and press reset on the device to see an output on the terminal.

My setup is:

  • Host is Windows 10
    • Terminal is called Termite 3.4 (no install version)
  • DK2 is powered from a dedicated USB power (500mA source)
  • DK2 boots up fine (the display works and the demo environment seems to work ok)
  • Serial settings I have as follows: COM3 9600 bps, 8N1, No Handshake
    • 8 bits, no parity, 1 stop bit, no flow control

The output in the terminal, after pressing reset, is all jumbled and garbage:

[00] TÙ@¾"#V�Šÿ£[1B][18]Äã[12][07]€Åÿ‹3[15]"[03]ª�¢AÄ&KûÇÊ[0B]K[13]ÿ[05]˜C[13]àÕC BQpZ•®§#�qS‚[03]�?ƒˆJ##B¥[05]í½ÇõOEüc½½[08][1A]0Aáqú[07]¨ú[08]F[17][14]³![03]([05]JÖ[0C]ÅQ[15]`Eç‚õ[1F]K[19]Î0ƒ£{qñ¡Uý[03]�?Ç/NU�?5wg?L¦ÿ�?ÉÀåT¡’‘¡­[06]#€©2#3)³ÿÉ�?D±üðò…)E-Uÿ[1F]*ÿÀ[13][18]z�š™�?‘Ü¡"[1C]£ÑN™[11]$c{3�F†ý¡"M/ó‘çò1AŠXf$&WëÂ?4ýG¦ìGý�?3f`[13]+[16]m+nú�?3!¾…%!q�?0a >€rª  	€‘/•À.#Mé)[04]€@‘„�ò&Ù@^ó[00]‚7l-jO[00]"m¨MÑ%+á€�9¤ã/‚[16]§&36i9^[0B]õŸô[14]Ñ?F[0F]�?76'!‚‘+'„á#â‚.[13]#e[15]‚Óæâ#M+Aá.[13]#e[15]‚Óâá#Ä'[17]M©â3[02][15]È5Ñ¡†kAi+F¡¡Ù-'·B[08]&[17]M+‚¡!Ù-'§B[08]&[17]M##€FÙ«[10]m€3éE[19]Ä[13]M[1C]j?áIµ ÑÖ_Qt7DAF¤!e�±Çò3‰��?³¥3ùb	M=Bá!&M-£[16]EÑu[00]F%#BE$N[08]Ñu§[02] �?€[04]M0e¡2�Ç‘�°�Rá[05]a�À[11]E�MƤ#€�¡ÂP[04]MÀ[07]Y�#%@� .Ú�[17]� Aiã7¦Mà[1D]#�‘[1D][16]\[15]’m$EêÛéÓ@�?Ô�?€éM+űeé%%ñÑÅ‘á#N[14][05]M+/ãke“t1-A[05][13]3 ±“M[02]†af�?â[14]‰‚+c0[0C]é[11]@©Â²[04][11]’Åâ#[03]$mIs©$¡m�?*B´g7éZ±M#a[17]'W#F f7Åán�áá[17]a©³É¡a[17]á°‚FŠÂa[17]6MM-%u3Ñ+©ÉcýWut•+ÑU�—mù[03]Ñ™3‚w�?§Ù[0F]m;Ò'C^-š+¥![07]‚fà¨eÆ9,¦[0B]áƶÂ&-Ò°Ù†€ºU+B[1D][08]Æñ¦E�?[17]ÃN‘![12]¿á¢+ Œ[00]Ä�?³F�?'�?á#=![12]»á¢#'¥WÃ_‘F�?'�?$#=![12]»}5æ'ÑF€ƒ¢æ7Ñ[08]±ñ¦e�?)[0B]»!À#%�?/áÒ¶#+¤ð#a�?_##MÂ@[17]ÂO-#uÑZ��+�úañ²„&aW-ö? Q'E°ñ[07]333[04]-N[02]á¡$[05]á#†Â[00][15]u„[06][11]á[02]ñ‚�[16]3#³[04]-'sa�'T;aÙ'3á[1B]Éa�g¢[1B];C¡#+çrr[0B]Æ'o ù—»O °“±m¥Ê06Ñ)_ åù?€G1D›Aá€f[13]ÂÇù‚^+[12]M|?Àã£ñ€Ñg&·�?¡‚#?@Jcùm'Sá+Ë¡áÂgñc>i[1D]+?âb[03]±'�?[06]"Aá/�?F
a™!‘c€}B�c+ÂF&[00]U¥'b[13]/¡%A±ñ_¨e##¥3 U#nQ2[00]MIGšW3Eñ‚À[06]á#3á3 Ô#f;"æàF#^ѧÿE¦Ñg9v3¹e[0F]M'[18]£ûEÃüMÓÿñÂ)
�?ûáW�?N7à“@�?6AÅ 7)[1B][1D]@F"±a™@  \ ó[08]i ?@‚o+]!Pë‘á 72[0F]uGÑx ± [17]+[00]m@Â6*X‚ÙƒM+u+Ü[17]ÒÛs�?[00]U)ò3[0B]ñi&[0C]ñáG³1‰ÓÛÙ/%_3>áÃñ!M5O31ùMO3q+áÒ6#[0F]²À£2¹M“Ʀ5Z�?fMáeÆ�[16]Ò&Õ&¥[13]ÙÒ0HM#Eå[15]&Kà‰[17]#ÿ´@ÓŸt£[0E][05]á�Ù
6Ã[04]u<á ŒûÃ%À3�?B'ýðJ"æ
GgÿáÃ'ýÀEª[1E]GTÿÇC·�?Ã'
-Cáø�Ä»
ZÈý‚[0C]+¥
Ãêè=gìMÄq‚mg¥E&‘i÷€}@Ã�?ëÂ'uÃFn.øÀo¡Zñ´ù] 3¢£1ÿMefàâCÑ—„aÑevªGAað¡#=®[0B]mÂ&[03]M
AÄcÑax2J€mƒ„„ÿ†BÙg[16]“7'„·€ØÃ[02]$EG³1«‚“±a�?€�á“·³[16]ÂNMÃ,Va‘'![04]M&£¨¥v"DAé3[1B]‚’ðÉ Uá e“± ©%M/„aO%EÂO�?Â?ÖÂãÂEóm×/™á‚þ-Ê3�?�?7�?A[15]3
M9¡‚F¼¡FW=5@�?y¦©Má„'�?Y[17]M/fQ.[13]“?‰÷MÔá[0E]-Vé/�?^Ñ´©}7e‡L¦MÔñÈ"€fQee+¥Æa‘ò£-FEE†�?�?[13][1A]ö�?Aæã$[07]�?;FD¦4a[16]L+[02][15]%óD´¥M;F4[03]€ü�[13]‚±‚üE �?"[00]M¡Ÿ3¶r†Ä�?[00]À"[03]‚ ‡LæÀÄá2£áe?uU[„‚8¢²[19]]†‘’'=o�?†‰�? ~ìüm'#Ma[07]éÌ«¡ayrscaé³�?á'¥´%H&9[05]mDÂD#�ðMG[0B]^OÔ�,Wå��ñ¿¢BAáçñ[14]ñÂÓ<’?jaÂÙ#MM[0E]�?1_À[0B]c£�?õ[05]+[08]E[17]ê[17]Óš‰0[10]B2[0F][01]CÙn[00]²7ùm!ò™…è;K+&æd£[02]ðÂ@7Ÿ]ê[0B]Ù_[00]MS'F€[0B]D£#¯�?áÅ…-SÂ�?y#“[13]Bû¡KÀéqn üÂàª#<ð�[~ÿM&Ç‘ $M1�?[Fv�?÷Âà®Ó†.ÿ[15]R[�áF6ªüFv±�-#ÀFvéHàFf¡˜ëF¶ª#77ÿ-¦£ÀÿÖ[16]Ù«¦[05]"/ÿO¦ˆòPvÀ�?ÿ�?¾Ë‡ý[00]7¡[10]?€¾&ù�?ÉÅý€/3ûV6à>ž[10]u€ÿÀÉ[0F]Ã][07]‘·[1C]éb#f[1C]v[04]F6à#e~ü[05]"[1F]ÿ-Ü„Ùí[15]R2[07][05]B[07]&ý-R«Å�>ãÖ
ž]—bËÿ- àÿ[05]FQ÷[05]B&k#"cÿPÀ›�?[06]&›[1D]3Ö\*[1F]ÿ[10]O£%ÿO[04]+&F¦2�ÿ[05][02]&¦ýFvˆ„»[15]R¢-'€^Ã.%[06]°O£ˆŸ�/&Vö¨ßà6ãÆ�?á'¢—·Êÿ[00]'[01]óÿ-ܾ�?�Vvø÷[10]U»ÿVVñ‘ÖV�?¸€6ãÖ5l]—bËÿF¦.›[05]"?¢ü[02]gæe[05]F™3Ô[10]M#ÖùM§ùÖV‘Ì=ÿ-\[0E]s[15]2§LÓ‚I# `ÃÿF6Èã=†*g¿O[04]>#O¤�?j#ðáÒü[17]Ê3ü[10][0E][07]¦ÙV[17][14]ÅA3[06]]ÿ�?†HcqáØgÿ-R[1B]È%&%#€vA#ü€N[08]Â?³Ú�?’%+qþè_+üM‘õV6[07].=&�[1F]+÷ÖÖ¹ô}%‚aÇC/añBt�?%e�?�?F¶ª-ÖFIµ]Y¶Â­ÆÿF¦ªÒ[10]}é�?ÉÂ�?òÜ°TÿP�æ-ýÜ4ÿÖF+³*'ñM#�O'M&ÿƒB4±¦[02]7jÿPØ�?ùF6àû�?VL#Y[07]ñ=†&
ÿb²'[03]d¨ã�Y¢[15]Rº£óᑣ»7ÿMPT© ¹Uqˆ^ó[05]BƒùÑDÂ#1/¢ðÔ[0E]wú[15]B.ÿÄ £Ò-àu�?„�?á‹€F[04]�?ÂX�?[1A]âÉÿÃ6ãc[05][02]"¯ÅéÄ=†"Ƶ÷[05]B;�ùf[06]!·ž´·vfMg[05]ý[1E]Ó¾vO'Ž4¦…–@³Ž-ý“e-Ig-ý£†-[15]3.}ÿ³e‚#�4Y†c%7Ž4±ÓvM'-ý[00]g„ýÖ[16]Ç7!§[10]n®;@+}ÿF6ÈÆÂùÜÀ@%¸¡ý[05][02]®ÿ[05]B/�?à[05][02]*8��?�?ÿF6Àß[00]7Ÿ-£ü[10]U³6F¶ªÚ[00]·*ÿÖF*û[15]RŽùÖF.ÿ[00]7.ÿ[00]'.?øVVÑù[05]B®ä-[06]*üÖF"ÿ
Àô[00]§>J[00]§Èé_$ÀNýF6°\[05]B§'ŠVVAùÿVVAÿ[15]Ró%ÖÖ¹[06]F¶ªÂÿ[10]N£ÀýÖF'ó…ÿ[1B]Àð-’5ƒ/wýd][1F]‡ñ7ÿ

Has anyone got any tips for me at this point? Any settings I should be going over? I tried looking over the guide, but I don't think the settings were referenced anywhere for the serial connection.

Best regards,

Tero

1 ACCEPTED SOLUTION

Accepted Solutions
PatrickF
ST Employee

Hello,

speed need to be set to 115200 bps

see also https://wiki.st.com/stm32mpu/wiki/How_to_get_Terminal

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.

View solution in original post

2 REPLIES 2
PatrickF
ST Employee

Hello,

speed need to be set to 115200 bps

see also https://wiki.st.com/stm32mpu/wiki/How_to_get_Terminal

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.
TOlli
Senior

That did it! Thank you!

Might I suggest linking that page on the original step by step procedure?

Best regards,

tero