{"id":1257,"date":"2012-05-12T01:56:28","date_gmt":"2012-05-11T20:26:28","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=1257"},"modified":"2012-05-12T01:56:28","modified_gmt":"2012-05-11T20:26:28","slug":"hacking-your-goflex-home-2-uart-serial-console","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/hacking-your-goflex-home-2-uart-serial-console\/","title":{"rendered":"Hacking your GoFlex Home, #2 UART Serial Console"},"content":{"rendered":"<p>Serial console? That&#8217;s <em>beautiful<\/em> when it comes to debugging. The following images are specific to the Seagate GoFlex Home, however, you may be able to figure out the connections for other Marvell SoCs.<\/p>\n<p><strong>On the board:<\/strong><br \/>\nNotice that according to the picture, the bottom right last three pins are used.<br \/>\n<a href=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"1258\" data-permalink=\"https:\/\/judepereira.com\/blog\/hacking-your-goflex-home-2-uart-serial-console\/on-the-board\/\" data-orig-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?fit=921%2C516&amp;ssl=1\" data-orig-size=\"921,516\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;2.6&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;SK17i&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1336785095&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;3.5&quot;,&quot;iso&quot;:&quot;500&quot;,&quot;shutter_speed&quot;:&quot;0.01&quot;,&quot;title&quot;:&quot;&quot;}\" data-image-title=\"Connections on the SoC\" data-image-description=\"&lt;p&gt;Connections on the SoC&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;Connections on the SoC&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?fit=300%2C168&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?fit=921%2C516&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?resize=921%2C516\" alt=\"Connections on the SoC\" title=\"Connections on the SoC\" width=\"921\" height=\"516\" class=\"size-full wp-image-1258\" srcset=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?w=921&amp;ssl=1 921w, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?resize=150%2C84&amp;ssl=1 150w, https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-board.jpg?resize=300%2C168&amp;ssl=1 300w\" sizes=\"auto, (max-width: 921px) 100vw, 921px\" \/><\/a><\/p>\n<p><strong>The junction:<\/strong><br \/>\nI&#8217;ve used extra wires simply for convenience, the orange, yellow and black connect to these white, black and grey wires respectively.<br \/>\n<a href=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/junction.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1259\" data-permalink=\"https:\/\/judepereira.com\/blog\/hacking-your-goflex-home-2-uart-serial-console\/junction\/\" data-orig-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/junction.jpg?fit=%2C&amp;ssl=1\" data-orig-size=\"\" data-comments-opened=\"1\" data-image-meta=\"[]\" data-image-title=\"The Junction\" data-image-description=\"&lt;p&gt;The Junction&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;The Junction&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/junction.jpg?fit=300%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/junction.jpg?fit=1024%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/junction.jpg\" alt=\"The Junction\" title=\"The Junction\" class=\"aligncenter size-full wp-image-1259\" \/><\/a><\/p>\n<p><strong>On the USB UART Adapter:<\/strong><br \/>\nI&#8217;ve used a USB2.0 to RS232 TTL Converter Module PL2102(available on eBay easily)<br \/>\n<a href=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-USB-adaptor.jpg\" class=\"highslide-image\" onclick=\"return hs.expand(this);\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"1260\" data-permalink=\"https:\/\/judepereira.com\/blog\/hacking-your-goflex-home-2-uart-serial-console\/on-the-usb-adaptor\/\" data-orig-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-USB-adaptor.jpg?fit=%2C&amp;ssl=1\" data-orig-size=\"\" data-comments-opened=\"1\" data-image-meta=\"[]\" data-image-title=\"On The USB Adaptor\" data-image-description=\"&lt;p&gt;On The USB Adaptor&lt;\/p&gt;\n\" data-image-caption=\"&lt;p&gt;On The USB Adaptor&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-USB-adaptor.jpg?fit=300%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-USB-adaptor.jpg?fit=1024%2C1024&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/judepereira.com\/blog\/wp-content\/uploads\/on-the-USB-adaptor.jpg\" alt=\"On The USB Adapter\" title=\"On The USB Adaptor\" class=\"aligncenter size-full wp-image-1260\" \/><\/a><\/p>\n<p><strong>PIN Configuration:<\/strong><br \/>\n<em>On the GoFlex Home:<\/em><\/p>\n<pre>\r\n10 9 8 7 6\r\n 5 4 3 2 1\r\n\r\n1 => GND (Ground for the serial communication)\r\n2 => RX  (Receiving bits)\r\n3 => TX  (Transmitting bits)\r\n<\/pre>\n<p>Note: The RX and TX are interchanged at one end, this is because the RX of the GoFlex becomes the TX of the USB adapter, and vice cersa.<\/p>\n<p>After you connect the USB end to your desktop\/laptop, you can use screen to display the serial console:<\/p>\n<pre>\r\n# screen \/dev\/ttyUSB0 115200\r\n<\/pre>\n<p>The serial console is especially useful for debugging the kernel boot and setting the u-boot environment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Serial console? That&#8217;s beautiful when it comes to debugging. The following images are specific to the Seagate GoFlex Home, however, you may be able to figure out the connections for other Marvell SoCs. On the board: Notice that according to the picture, the bottom right last three pins are used. The junction: I&#8217;ve used extra [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[11],"tags":[357,352,355,356,345,349,303,359,350,351,353,354,358],"class_list":["post-1257","post","type-post","status-publish","format-standard","hentry","category-gen-sab-fed","tag-communication","tag-console","tag-debug","tag-debugging","tag-goflex","tag-hacking","tag-home","tag-screen","tag-seagate","tag-serial","tag-serial-console","tag-tty-usb","tag-ttyusb"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pqtyx-kh","jetpack-related-posts":[{"id":1881,"url":"https:\/\/judepereira.com\/blog\/nrf52840-flash-s340\/","url_meta":{"origin":1257,"position":0},"title":"nRF52840 &#8211; flashing the s340 v6.1.1 SoftDevice","author":"Jude Pereira","date":"July 12, 2019","format":false,"excerpt":"This post is a work in progress (WIP). The result of this experiment is a success. I have flashed my SparkFun nRF52840 mini, and I'm able to run the bicycle combined speed & cadence sensor example. Before we begin, \u00a0a big hats off to\u00a0Charles, who brought support for the SparkFun\u2026","rel":"","context":"In &quot;hardware&quot;","block_context":{"text":"hardware","link":"https:\/\/judepereira.com\/blog\/category\/hardware\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1257","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=1257"}],"version-history":[{"count":4,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1257\/revisions"}],"predecessor-version":[{"id":1264,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/1257\/revisions\/1264"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=1257"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=1257"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=1257"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}