{"id":1592,"date":"2010-05-29T10:14:44","date_gmt":"2010-05-29T08:14:44","guid":{"rendered":"http:\/\/www.final-memory.org\/?p=1592"},"modified":"2010-05-29T10:14:44","modified_gmt":"2010-05-29T08:14:44","slug":"der-kurze-weg-zur-rs232","status":"publish","type":"post","link":"https:\/\/www.final-memory.org\/?p=1592","title":{"rendered":"Der kurze Weg zur RS232"},"content":{"rendered":"<p>Da mein neuer ACER AS X1301-3 von Haus erstmal keine RS232 Schnittstelle mitbrachte, hatte ich schon beim Kauf dar\u00fcber nachgedacht. Schlie\u00dflich brauche ich einen solchen Port f\u00fcr meine Mikrocontrollerprojekte und -basteleien.<\/p>\n<p>Da der Rechner laut Datenblatt \u00fcber einen PCI Express x1 Slot verf\u00fcgte, kaufte ich gleich eine passende Steckkarte mit. Heute morgen habe ich mich dann daran gemacht , die Karte einzubauen. Das Garantiesiegel am Rechner habe ich geflissentlich ignoriert und die Seitenverdeckung abgeschraubt.<\/p>\n<p style=\"text-align: center;\">\n<figure id=\"attachment_1599\" aria-describedby=\"caption-attachment-1599\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/ACER-AS-X1301-3-von-innen.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1599 \" title=\"ACER AS X1301-3 von innen\" src=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/ACER-AS-X1301-3-von-innen.jpg\" alt=\"ACER AS X1301-3 von innen (PCIe Slots oben rechts)\" width=\"400\" height=\"300\" srcset=\"https:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/ACER-AS-X1301-3-von-innen.jpg 800w, https:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/ACER-AS-X1301-3-von-innen-300x225.jpg 300w\" sizes=\"auto, (max-width: 400px) 85vw, 400px\" \/><\/a><figcaption id=\"caption-attachment-1599\" class=\"wp-caption-text\">ACER AS X1301-3 von innen (PCIe Slots oben rechts)<\/figcaption><\/figure>\n<p>Wie man sch\u00f6n sieht, ist die Grafikkarte doch nicht Onboard, sondern belegt einen PCI Express x16 Slot ganz oben. Immerhin, das erlaubt sp\u00e4ter mal einen Austausch. In den x1 Slot darunter setzte ich also die RS232 Karte von Delock. Genau eine <a href=\"http:\/\/www.delock.de\/produkte\/suche\/Delock_PCI_Express_Karte_1_x_Seriell_89236.html?action=showpdf&amp;groupid=2&amp;\" target=\"_blank\">Delock 89236 mit 16C950 Uart<\/a>.<\/p>\n<figure id=\"attachment_1597\" aria-describedby=\"caption-attachment-1597\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/Delock_89236_RS232_fuer_PCIe.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1597\" title=\"Delock_89236_RS232_fuer_PCIe\" src=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/Delock_89236_RS232_fuer_PCIe.jpg\" alt=\"Delock 89236 RS232 f\u00fcr PCI Express x1\" width=\"400\" height=\"303\" srcset=\"https:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/Delock_89236_RS232_fuer_PCIe.jpg 400w, https:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/Delock_89236_RS232_fuer_PCIe-300x227.jpg 300w\" sizes=\"auto, (max-width: 400px) 85vw, 400px\" \/><\/a><figcaption id=\"caption-attachment-1597\" class=\"wp-caption-text\">Delock 89236 RS232 f\u00fcr PCI Express x1<\/figcaption><\/figure>\n<p>Windows\u00a0 7 erkannte die Karte erstmal nicht, mochte sie aber nach dem ich von der Treiber-CD einen passenden Treiber eingespielt hatte. Mit Teraterm konnte ich dann auf mein Phytec Mikrocontrollerboard \u00fcber die frische RS232 zugreifen. Warum Windows die Schnittstelle allerdings als COM3 einbindet, wenn es sonst keine RS232 im System gibt, erscheint mir aber fragw\u00fcrdig.<\/p>\n<p>Unter Linux war es zun\u00e4chst etwas wackelig. Beim ersten Booten zeigte der Kernel die Schnittstelle zwar korrekt \u00fcber dmesg an, aber beim Zugriffsversuch bekam ich einen I\/O Error.<\/p>\n<pre>[\u00a0\u00a0\u00a0 0.650679] Serial: 8250\/16550 driver,\r\n 4 ports, IRQ sharing enabled\r\n[\u00a0\u00a0\u00a0 0.650942] serial 0000:03:00.0:\r\n PCI INT A -&gt; Link[AE2A] -&gt; GSI 16 (level, low) -&gt; IRQ 16\r\n[\u00a0\u00a0\u00a0 0.650950] 1 ports detected on\r\n Oxford PCI Express device\r\n[\u00a0\u00a0\u00a0 0.651010] ttyS0: detected caps 00000700\r\n should be 00000100\r\n[\u00a0\u00a0\u00a0 0.651014] 0000:03:00.0: ttyS0 at MMIO 0xfd9fd000\r\n(irq = 16) is a 16C950\/954<\/pre>\n<p>Nach einem Reboot funktionierte es allerdings und ich konnte das Board wie unter Windows mit gtkterm ansprechen:<\/p>\n<p style=\"text-align: center;\">\n<figure id=\"attachment_1595\" aria-describedby=\"caption-attachment-1595\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/GtkTerm.png\"><img decoding=\"async\" class=\"size-full wp-image-1595 \" title=\"GtkTerm\" src=\"http:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/GtkTerm.png\" alt=\"GTKTerm\" width=\"400\" srcset=\"https:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/GtkTerm.png 890w, https:\/\/www.final-memory.org\/wp-content\/uploads\/2010\/05\/GtkTerm-300x203.png 300w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><\/a><figcaption id=\"caption-attachment-1595\" class=\"wp-caption-text\">GTKTerm<\/figcaption><\/figure>\n<p>Ob die Schnittstellenkarte auch mit meinem AVR-Board harmoniert, muss ich noch herausfinden. Da allerdings Linuxseitig der regul\u00e4re Treiber f\u00fcr RS232 Schnittstellen verwendet wird, bin ich eigentlich recht zuversichtlich.<\/p>\n<p>Insgesamt m\u00fcsste die Delock 89236 Karte damit Linux tauglich sein!<\/p>\n<div id=\"facebook_like\"><iframe src=\"http:\/\/www.facebook.com\/plugins\/like.php?href=https%3A%2F%2Fwww.final-memory.org%2F%3Fp%3D1592&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=segoe+ui&amp;colorscheme=light&amp;height=80\" scrolling=\"no\" frameborder=\"0\" style=\"border:none; overflow:hidden; width:500px; height:80px;\" allowTransparency=\"true\"><\/iframe><\/div>","protected":false},"excerpt":{"rendered":"<p>Da mein neuer ACER AS X1301-3 von Haus erstmal keine RS232 Schnittstelle mitbrachte, hatte ich schon beim Kauf dar\u00fcber nachgedacht. Schlie\u00dflich brauche ich einen solchen Port f\u00fcr meine Mikrocontrollerprojekte und -basteleien. Da der Rechner laut Datenblatt \u00fcber einen PCI Express x1 Slot verf\u00fcgte, kaufte ich gleich eine passende Steckkarte mit. Heute morgen habe ich mich &hellip; <a href=\"https:\/\/www.final-memory.org\/?p=1592\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Der kurze Weg zur RS232&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,57,7,63,25,35],"tags":[],"class_list":["post-1592","post","type-post","status-publish","format-standard","hentry","category-34","category-avr","category-elektronik","category-hardware","category-it","category-mikrocontroller"],"_links":{"self":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/1592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1592"}],"version-history":[{"count":8,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/1592\/revisions"}],"predecessor-version":[{"id":1603,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=\/wp\/v2\/posts\/1592\/revisions\/1603"}],"wp:attachment":[{"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.final-memory.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}