{"id":16250,"date":"2020-05-10T14:47:21","date_gmt":"2020-05-10T18:47:21","guid":{"rendered":"https:\/\/scruss.com\/blog\/?p=16250"},"modified":"2020-05-10T14:47:24","modified_gmt":"2020-05-10T18:47:24","slug":"super-special-serial-port-standards","status":"publish","type":"post","link":"https:\/\/scruss.com\/blog\/2020\/05\/10\/super-special-serial-port-standards\/","title":{"rendered":"super-special serial port standards"},"content":{"rendered":"\n<p>The PC I put together a few years ago (well, Scott Sullivan told me which bits to get, I bought them and assembled it) is still working really well. It was quite spiffy in its day \u00e2\u20ac\u201d i7-4790K, 32 GB DDR3, Asus H97M-E \u00e2\u20ac\u201d and is quite fast enough for me.<\/p>\n\n\n\n<p>One thing, though, has never worked. The hardware serial port (the old kind, not the USB kind) refused to do anything. Only in the last day or so did I work out why and managed to fix it.<\/p>\n\n\n\n<p>PC serial ports for roughly the last 25 years connected to the motherboard like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"513\" src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_2020-05-10-ZF-SystemCard-Data-Book-ZF-MicroSystems-Inc-Free-Download-Borrow-and-Streaming-Internet-Archive.png\" alt=\"motherboard pin 1 \u00e2\u2020\u2019 RS232 pin 1; motherboard pin 2 \u00e2\u2020\u2019 RS232 pin 6; motherboard pin 3 \u00e2\u2020\u2019 RS232 pin 2; motherboard pin 4 \u00e2\u2020\u2019 RS232 pin 7; motherboard pin 5 \u00e2\u2020\u2019 RS232 pin 3; \nmotherboard pin 6 \u00e2\u2020\u2019 RS232 pin 8; \nmotherboard pin 7 \u00e2\u2020\u2019 RS232 pin 4; motherboard pin 8 \u00e2\u2020\u2019 RS232 pin 9; motherboard pin 9 \u00e2\u2020\u2019 RS232 pin 5; motherboard pin 10 not connected\" class=\"wp-image-16251\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_2020-05-10-ZF-SystemCard-Data-Book-ZF-MicroSystems-Inc-Free-Download-Borrow-and-Streaming-Internet-Archive.png 700w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_2020-05-10-ZF-SystemCard-Data-Book-ZF-MicroSystems-Inc-Free-Download-Borrow-and-Streaming-Internet-Archive-320x235.png 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_2020-05-10-ZF-SystemCard-Data-Book-ZF-MicroSystems-Inc-Free-Download-Borrow-and-Streaming-Internet-Archive-160x117.png 160w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><figcaption><a href=\"https:\/\/archive.org\/details\/zf_systemcard_technical\/page\/10\/mode\/2up\">ZF SystemCard &#8211; Data Book<\/a> (1998)<\/figcaption><\/figure>\n\n\n\n<p>This rather strange mapping makes sense as soon as you see an IDC ribbon-cable DB-9 connector:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/db9-ribbon.jpg\" alt=\"\" class=\"wp-image-16252\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/db9-ribbon.jpg 1024w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/db9-ribbon-320x240.jpg 320w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/db9-ribbon-160x120.jpg 160w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/db9-ribbon-768x576.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>serial cable for the <a href=\"https:\/\/scruss.com\/blog\/2020\/04\/18\/single-board-pdp-8-take-2\/\">SBC6120-RBC<\/a>, unhelpfully the wrong way up<\/figcaption><\/figure>\n\n\n\n<p>Going along the cable from left to right (reversed in the photo above), we have:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">    1 2 3 4 5 6 7 8 9\n\n    1   2   3   4   5\n      6   7   8   9<\/pre>\n\n\n\n<p>This was good enough for everyone <em><span style=\"text-decoration: underline;\">except<\/span><\/em> ASUS, who decided that they needed their <span style=\"text-decoration: underline;\">own<\/span> way of arranging cables. Because of course they would:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"330\" height=\"1024\" src=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_20200509-165851-330x1024.png\" alt=\"ASUS wiring: motherboard pin 1 \u00e2\u2020\u2019 RS232 pin 1; motherboard pin 2 \u00e2\u2020\u2019 RS232 pin 2; motherboard pin 3 \u00e2\u2020\u2019 RS232 pin 3; etc.\" class=\"wp-image-16253\" srcset=\"https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_20200509-165851-330x1024.png 330w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_20200509-165851-103x320.png 103w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_20200509-165851-52x160.png 52w, https:\/\/scruss.com\/wordpress\/wp-content\/uploads\/2020\/05\/Screenshot_20200509-165851.png 475w\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" \/><figcaption>Oh ASUS, how could you?<\/figcaption><\/figure><\/div>\n\n\n\n<p>With a bit of resoldering, I&#8217;ve got a working serial port. You can never have too many.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The PC I put together a few years ago (well, Scott Sullivan told me which bits to get, I bought them and assembled it) is still working really well. It was quite spiffy in its day \u00e2\u20ac\u201d i7-4790K, 32 GB DDR3, Asus H97M-E \u00e2\u20ac\u201d and is quite fast enough for me. One thing, though, has [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"super-special serial port standards: ASUS hates everyone","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[7],"tags":[],"class_list":["post-16250","post","type-post","status-publish","format-standard","hentry","category-computers-suck"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pQNZZ-4e6","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/16250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/comments?post=16250"}],"version-history":[{"count":1,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/16250\/revisions"}],"predecessor-version":[{"id":16254,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/posts\/16250\/revisions\/16254"}],"wp:attachment":[{"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/media?parent=16250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/categories?post=16250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scruss.com\/blog\/wp-json\/wp\/v2\/tags?post=16250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}