{"id":679,"date":"2009-04-16T12:26:40","date_gmt":"2009-04-16T10:26:40","guid":{"rendered":"http:\/\/daniel.haxx.se\/blog\/?p=679"},"modified":"2009-04-16T13:03:31","modified_gmt":"2009-04-16T11:03:31","slug":"usb-converter-woes","status":"publish","type":"post","link":"https:\/\/daniel.haxx.se\/blog\/2009\/04\/16\/usb-converter-woes\/","title":{"rendered":"USB converter woes"},"content":{"rendered":"<p>USB to rs232 converters are just never sold properly advertising what chip&#8217;s inside and right now I want to know if this one UART I&#8217;m working with perhaps is not playing fine with my existing converter cable.<\/p>\n<p>I have this XScale PXA270 on a <a href=\"http:\/\/www.toradex.com\/En\/Products\/Colibri_XScale_Computer_Modules_Overview_PXA255_PXA270_PXA270M_PXA300_PXA310_PXA320_ARM\/Colibri_PXA270\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-680\" title=\"toradex-colibri\" src=\"http:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2009\/04\/toradex-colibri.jpg\" alt=\"toradex-colibri\" width=\"220\" height=\"147\" srcset=\"https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2009\/04\/toradex-colibri.jpg 220w, https:\/\/daniel.haxx.se\/blog\/wp-content\/uploads\/2009\/04\/toradex-colibri-150x100.jpg 150w\" sizes=\"auto, (max-width: 220px) 100vw, 220px\" \/><\/a>board, and it has only one full featured RS232 (FFUART) and I&#8217;m about to move things over to the lesser featured BTUART.<\/p>\n<p>A theory is that my current USB converter that is based on a &#8220;Prolific PL2303&#8221; doesn&#8217;t play nicely on the serial port that isn&#8217;t a full RS232.<\/p>\n<p>So I ran off and bought a new cable. I grabbed the only model I found in my local <a href=\"http:\/\/www.kjell.com\/\">Kjell &amp; Company<\/a> store &#8211; it&#8217;s quite different looking than my existing but there&#8217;s no hint anywhere on the package or inside of it that says what chipset that empowers it.<\/p>\n<p>A quick drive back home (I&#8217;m working from home in this assignment), I plugged it in and I got to see this depressingly familiar dmesg output:<\/p>\n<blockquote>\n<pre>usbcore: registered new interface driver usbserial\r\nusbserial: USB Serial support registered for generic\r\nusbcore: registered new interface driver usbserial_generic\r\nusbserial: USB Serial Driver core\r\nusbserial: USB Serial support registered for pl2303\r\npl2303 2-2.4:1.0: pl2303 converter detected\r\nusb 2-2.4: pl2303 converter now attached to ttyUSB0\r\nusbcore: registered new interface driver pl2303\r\npl2303: Prolific PL2303 USB to serial adaptor driver<\/pre>\n<\/blockquote>\n<p>So what now? I hate how (my) computers these days don&#8217;t have serial ports while the entire embedded world still very much uses them. I think I&#8217;ll go searching in my closet to see if I can find an old crap computer with a serial port to try.<\/p>\n<p>Another theory is that the port simply is broken hw-wise on the dev board but that&#8217;s harder to check for me right now.<\/p>\n<p><strong>Update: <\/strong>it was (as usual) only my stupidity that prevented this from working. If I switch it over to the correct baudrate the usb converter does fine. But before I found that out, I did find a computer with a serial port and I did see it working on that too&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>USB to rs232 converters are just never sold properly advertising what chip&#8217;s inside and right now I want to know if this one UART I&#8217;m working with perhaps is not playing fine with my existing converter cable. I have this XScale PXA270 on a board, and it has only one full featured RS232 (FFUART) and &hellip; <a href=\"https:\/\/daniel.haxx.se\/blog\/2009\/04\/16\/usb-converter-woes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">USB converter woes<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11,12],"tags":[419,35,242,167],"class_list":["post-679","post","type-post","status-publish","format-standard","hentry","category-development","category-electronics","tag-development","tag-embedded","tag-technology","tag-usb"],"_links":{"self":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/comments?post=679"}],"version-history":[{"count":15,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/679\/revisions"}],"predecessor-version":[{"id":692,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/posts\/679\/revisions\/692"}],"wp:attachment":[{"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/media?parent=679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/categories?post=679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daniel.haxx.se\/blog\/wp-json\/wp\/v2\/tags?post=679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}