<div dir="ltr"><div dir="ltr">Salut Vlad,<div><br></div><div>> <span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">In header, pentru paritatea para se foloseste valoarea 0x18. Dar de aici [1], inteleg ca pentru paritatea aceasta ar trebui setati bitii 3 si 4 (adica 8 + 16 = 0x24).</span></div><div><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">Valoare de 0x18 din header este ok. Este corect, trebuie setati bitii 3 si 4, dar numarotarea bitilor se face de la 7 la 0, de la dreapta la stanga. Adica, registrul respectiv are urmatorul format:</span></div><div><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif">Bit 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0</font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif">Prin setarea bitilor 3 si 4 obtinem obtinem valoarea hex 0x18. </font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif">Inca o observatie, 8 + 16 == 24 in zecimal, care este 0x18 in hex. </font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">> Mai exista si inca o paritate in header despre care nu gasesc nimic (stick).</span><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">Exista si ea, vezi descrierea registrului LCR mai jos in pagina. Se numeste "Set Parity" in loc de "Stick Parity".</span></div><div><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><br></span></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif">> </font><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">Sunt ok acele valori? Daca da, cum ar trebui combinata paritatea cu len si stop pentru a forma byte-ul acela pentru LCR?</span></div><div><span style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px">Da, sunt ok, nu se supraun.</span></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif">Iulian</font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div><div><font face="Helvetica Neue, Helvetica, Arial, sans-serif"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">În sâm., 13 apr. 2019 la 15:38, Nedelcu Vlad via so2 <<a href="mailto:so2@cursuri.cs.pub.ro">so2@cursuri.cs.pub.ro</a>> a scris:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail-m_2188025984456390919yahoo-style-wrap" style="font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:13px"><div>Salut!</div><div><br></div><div>Am o nelamurire in ceea ce priveste parametrii de comunicatie. In header, pentru paritatea para se foloseste valoarea 0x18. Dar de aici [1], inteleg ca pentru paritatea aceasta ar trebui setati bitii 3 si 4 (adica 8 + 16 = 0x24). Mai exista si inca o paritate in header despre care nu gasesc nimic (stick). Sunt ok acele valori? Daca da, cum ar trebui combinata paritatea cu len si stop pentru a forma byte-ul acela pentru LCR?</div><div><br></div><div>Multumesc,</div><div>Vlad</div><div><br></div><div>[1] <a href="http://www.byterunner.com/16550.html" rel="nofollow" class="gmail-m_2188025984456390919enhancr_card_5989061667" target="_blank">ByteRunner.com | TECHNICAL DATA ON 16550</a></div><div><br></div><div class="gmail-m_2188025984456390919link-enhancr-placeholder gmail-m_2188025984456390919enhancr_card_5989061667"></div><div><br></div><div><br></div><div class="gmail-m_2188025984456390919enhancr-link-previews gmail-m_2188025984456390919ymail-preserve-class gmail-m_2188025984456390919ymail-preserve-style" style="margin-top:10px"><h3 style="font-size:14px;font-weight:400;color:rgb(69,69,69);font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif;margin:0px;padding:8px 0px"><span>Links in the message <span class="gmail-m_2188025984456390919link-enhancr-preview-count">(1)</span></span></h3><div id="gmail-m_2188025984456390919ydp9896c6e1enhancr_card_5989061667" class="gmail-m_2188025984456390919ydp9896c6e1yahoo-link-enhancr-card gmail-m_2188025984456390919ydp9896c6e1ymail-preserve-class gmail-m_2188025984456390919ydp9896c6e1ymail-preserve-style" style="max-width:288px;font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif;margin:5px 5px 5px 0px;display:inline-block"><a href="http://www.byterunner.com/16550.html" style="text-decoration:none;color:rgb(0,0,0)" class="gmail-m_2188025984456390919ydp9896c6e1yahoo-enhancr-cardlink" rel="nofollow" target="_blank"><table border="0" class="gmail-m_2188025984456390919ydp9896c6e1card gmail-m_2188025984456390919ydp9896c6e1yahoo-ignore-table" cellpadding="0" cellspacing="0" width="288" height="80" style="border-width:1px;border-style:solid;border-color:rgb(224,228,233);width:288px;background-color:rgb(255,255,255);border-radius:2px"><tbody><tr><td width="80px" style="width:80px;background-color:rgb(0,0,0);border-radius:2px 0px 0px 2px;border-right:1px solid rgb(224,228,233)"><img src="https://s.yimg.com/lo/api/res/1.2/YfjT8JwZR7jnurUkY4IJ2w--~A/Zmk9ZmlsbDt3PTgwO2g9ODA7YXBwaWQ9aWV4dHJhY3Q-/http://www.byterunner.com/images/160x1line.gif.cf.jpg" width="80" height="80" style="width: 80px; vertical-align: middle; border-radius: 2px 0px 0px 2px;"></td><td width="10px" style="width:10px"></td><td><h2 class="gmail-m_2188025984456390919ydp9896c6e1card-title" style="font-size:14px;line-height:16px;color:rgb(38,40,42);font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,sans-serif;margin:4px 0px;text-decoration:none">ByteRunner.com | TECHNICAL DATA ON 16550</h2></td></tr></tbody></table></a></div></div></div></div>_______________________________________________<br>
<a href="http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii" rel="noreferrer" target="_blank">http://ocw.cs.pub.ro/courses/so2/resurse/lista-discutii</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Iulian-Răzvan Mateșică</div></div>