<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2400717748707505955</id><updated>2024-08-30T23:25:08.995-07:00</updated><category term="linux"/><category term="redhat"/><category term="DDN"/><category term="HC-05"/><category term="Storage"/><category term="arm"/><category term="bus pirate"/><category term="cortex-a7"/><category term="cubieboard v3"/><category term="cubietruck"/><category term="linaro"/><category term="multipath"/><category term="ALUA"/><category term="Blacklist"/><category term="DGC"/><category term="DataDirect Networks"/><category term="EMC"/><category term="RPM"/><category term="S2A9900"/><category term="SATA"/><category term="SFA 1000"/><category term="SMP"/><category term="blkid"/><category term="disk"/><category term="label"/><category term="mount"/><category term="rpmbuild"/><category term="sunxi"/><title type='text'>Frederic Temporelli&#39;s World Wide Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-4747083731760242324</id><published>2020-04-19T07:57:00.001-07:00</published><updated>2020-04-19T07:57:15.117-07:00</updated><title type='text'>STM32CubeIDE and BluePill - The Blinky LED</title><content type='html'>&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;
When discovering devices like Arduino, ESP8266/ESP32 or BluePill, blinking the onboard LED is a nice training.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;
Here we will try to get the basics of BluePill (STM32F103C8 processor) with STM32CubeIDE.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: small;&quot;&gt;Requirements&lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;This article is based on STM32CubeIDE 1.3.1 that can be downloaded from&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;STMicroelectronics web site (you will need too register for downloading this software).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;I&#39;m using a &quot;bluepill&quot; device (64KB flash)&amp;nbsp; from Aliexpress which is based on CKS F103C8 microcontroller (this is a chinese release of STM32F103C8 - CKS =&amp;nbsp;China Key System Co., Ltd - note: this board has not the R10 issue).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;For programming the bluepill device from STM32CubeIDE, a STLINK device is required. I&#39;m using STLINK V2, also from Aliexpress. This STLINK has been updated to V2J36S7 firmware (based on STMicroelectronics utilities)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHUZpEw94-3vyDjdt_fHUVKCMXMTgZ15lWF8P3TBFRwZYiykojt0pNk7954aZI8ZyyuTy8t6cZCUvnI6BPBLz9NlGJ1qiDSEnZ9JGjm055fXbOqY7L_bpqrUCDGutxJ2HWWnzouBgd0B9c/s1600/20200419_082243.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1600&quot; data-original-width=&quot;1200&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHUZpEw94-3vyDjdt_fHUVKCMXMTgZ15lWF8P3TBFRwZYiykojt0pNk7954aZI8ZyyuTy8t6cZCUvnI6BPBLz9NlGJ1qiDSEnZ9JGjm055fXbOqY7L_bpqrUCDGutxJ2HWWnzouBgd0B9c/s320/20200419_082243.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;i&gt;The CKS F103C8 microcontroller&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: arial, sans-serif; font-size: 14px; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;h2 style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: small;&quot;&gt;Hardware configuration&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;font-size: 14px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 14px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;So, first step is to start STMCubeIDE an&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;d to create a new STM32 project (Menu : File -&amp;gt; New -&amp;gt; STM32 Project). STMCube will help us to configure the hardware.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 14px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;As STMCubeIDE is mainly provided for programming STMicroelectronics own boards, the &quot;bluepill&quot; cannot be found in the &quot;Board Selector&quot;. We will use the bluepill as a &quot;generic board&quot;, and we have to select the STM32F103C8T6 device MCU from the &quot;MCU/MPU Selector&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaPbFdQL8MwodsDE-efCJwyaWG61JrtrU-OQN1Ao4bfbAOwc10S7cTOXXPif00k53p2vR6i1p88aSgYVI4hYHPtL9Rqc0Ef_W0wfCvKAcFpro0TKKpJ4T-R86ZcJv5ZuDUQAU8Gv4AFjb_/s1600/Annotation+2020-04-19+001.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;761&quot; data-original-width=&quot;1342&quot; height=&quot;362&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaPbFdQL8MwodsDE-efCJwyaWG61JrtrU-OQN1Ao4bfbAOwc10S7cTOXXPif00k53p2vR6i1p88aSgYVI4hYHPtL9Rqc0Ef_W0wfCvKAcFpro0TKKpJ4T-R86ZcJv5ZuDUQAU8Gv4AFjb_/s640/Annotation+2020-04-19+001.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;When the MCU is selected, pushing the &quot;Next&quot; Button will lead you to some project options. Keep the default, and &quot;Finish&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQYUdaYkCBS-3l1-olF8HQwqrIdOkirxjDCcxsLzwt1pRjagfaZrzeJo_Ce83X7RlbWZ6prf0f7E-mGI1XxMWtZnzAoIDGl040nJvJ2pJF0xdvF34q8Esl-kIXwksOfHo-jEbSQeofE2Y/s1600/Annotation+2020-04-19+002.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;535&quot; data-original-width=&quot;481&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBQYUdaYkCBS-3l1-olF8HQwqrIdOkirxjDCcxsLzwt1pRjagfaZrzeJo_Ce83X7RlbWZ6prf0f7E-mGI1XxMWtZnzAoIDGl040nJvJ2pJF0xdvF34q8Esl-kIXwksOfHo-jEbSQeofE2Y/s320/Annotation+2020-04-19+002.png&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht1eL18AWpe3XRC7L5sK6ZMCdHRGznhyAtmc7ca-GpnIt_-iZ1BYh1Mdx0Oo_fw_ycnm_spdcJ7Kg7XyTjN2AAMMypLQDKWSCDNPO9cDMYYhc4-p8v9oFRTadxn4DjOdJb844VURzEVujj/s1600/Annotation+2020-04-19+003.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;535&quot; data-original-width=&quot;481&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEht1eL18AWpe3XRC7L5sK6ZMCdHRGznhyAtmc7ca-GpnIt_-iZ1BYh1Mdx0Oo_fw_ycnm_spdcJ7Kg7XyTjN2AAMMypLQDKWSCDNPO9cDMYYhc4-p8v9oFRTadxn4DjOdJb844VURzEVujj/s320/Annotation+2020-04-19+003.png&quot; width=&quot;287&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Validate the associated perspective.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdSWpmwF7uIexVafYEDASIDac4ubh_JGI9qhplTHmY68fIRhOauOzO_r475VZa3X4tte_Foz421rjSCpJ64v4ga8900jC87FkG2JUOF6ra74b0xMqZeABD44BUP3aHP5aZGyhHA61Y-up3/s1600/Annotation+2020-04-19+004.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;162&quot; data-original-width=&quot;518&quot; height=&quot;100&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdSWpmwF7uIexVafYEDASIDac4ubh_JGI9qhplTHmY68fIRhOauOzO_r475VZa3X4tte_Foz421rjSCpJ64v4ga8900jC87FkG2JUOF6ra74b0xMqZeABD44BUP3aHP5aZGyhHA61Y-up3/s320/Annotation+2020-04-19+004.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;The STM32CubeMX perspective let us configure the features that will be used in our project.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2hXrPbm9FIUuYBNp8TexYsG2G70MWimqhzIlvcFaroc4OrKA_K20-z2qOM3LDO2y7HSxHElK9aLA_xNXOKSdFOm08jYEMyKuBiU8EYaP7eemrVp7GDRPO8exugpOtXN_n1X8BDaNU7mr3/s1600/Annotation+2020-04-19+010.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;552&quot; data-original-width=&quot;1073&quot; height=&quot;328&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2hXrPbm9FIUuYBNp8TexYsG2G70MWimqhzIlvcFaroc4OrKA_K20-z2qOM3LDO2y7HSxHElK9aLA_xNXOKSdFOm08jYEMyKuBiU8EYaP7eemrVp7GDRPO8exugpOtXN_n1X8BDaNU7mr3/s640/Annotation+2020-04-19+010.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Let&#39;s select the system core &quot;SYS&quot; component : &quot;Debug&quot; is set to &quot;Serial Wire&quot; (default is &quot;No Debug&quot;), and Timebase Source can be set to TIM4 (the 4th timer - you may choose any other unused timer).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIrTHw6YaE_iKGzbagow_k2HYq-rCNQJK8R6VARuE6ulS01mxx-LxMOx40ewt-1XRURab385S71z4YOQL6hIqHSN9XAfe26PiLUioJKt1kLEzRvWirgiN7F0au1eJimbDdrSsIqqSya0SH/s1600/Annotation+2020-04-19+012.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;546&quot; data-original-width=&quot;1071&quot; height=&quot;326&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIrTHw6YaE_iKGzbagow_k2HYq-rCNQJK8R6VARuE6ulS01mxx-LxMOx40ewt-1XRURab385S71z4YOQL6hIqHSN9XAfe26PiLUioJKt1kLEzRvWirgiN7F0au1eJimbDdrSsIqqSya0SH/s640/Annotation+2020-04-19+012.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-bCV_6ahLXg3L7zgJAPj2HKeMW46ojvTa_rfGwt8cleQwwNqPHstEAAZ5nTFczpViSzIoMv6Hk3nRwuNB2NdvzSfLp2BkEUjkhofc1EpQ4QAn6Qg1p4_b_lVUSi1bNfuXz9LcTBm3ADvr/s1600/Annotation+2020-04-19+013.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;548&quot; data-original-width=&quot;1071&quot; height=&quot;326&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-bCV_6ahLXg3L7zgJAPj2HKeMW46ojvTa_rfGwt8cleQwwNqPHstEAAZ5nTFczpViSzIoMv6Hk3nRwuNB2NdvzSfLp2BkEUjkhofc1EpQ4QAn6Qg1p4_b_lVUSi1bNfuXz9LcTBm3ADvr/s640/Annotation+2020-04-19+013.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Then, we will configure the GPIO connected to the onboard LED. On the MCU picture, click on the PC13 pin (on the top left) and set it to GPIO_Output.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;In the &quot;GPIO Mode and Configuration&quot; pane / &quot;GPIO Pane&quot;, we can set the GPIO mode to &quot;Output Open Drain&quot; (may not be mandatory, LED should also work if the default push-pull is kept). Maximum output frequency may be kept to &quot;LOW&quot;, and GPIO pull-up/pull-down resistors has to be kept to &quot;No&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicA4PCROKZ0ce0Y3tf6vIw59zOYlOA8tj63jy845bFvQAy2Bv-6QODJQ82_c_N7tjWTjC1foLMg4f3WS6NpHf9c5pfupYHLIRlPQfsNfbvU4YcrI3v8gATjrXueU4d8H-x9LI_9D76urau/s1600/Annotation+2020-04-19+015.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;552&quot; data-original-width=&quot;1067&quot; height=&quot;330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicA4PCROKZ0ce0Y3tf6vIw59zOYlOA8tj63jy845bFvQAy2Bv-6QODJQ82_c_N7tjWTjC1foLMg4f3WS6NpHf9c5pfupYHLIRlPQfsNfbvU4YcrI3v8gATjrXueU4d8H-x9LI_9D76urau/s640/Annotation+2020-04-19+015.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; text-align: justify;&quot;&gt;Now, still from the &quot;System Core&quot; pane, go to the RCC (Reset and Clock Controller) configuration, and set the &quot;High Speed Clock (HSE)&quot; to &quot;Crystal/Ceramic&quot; (default is &quot;Disable&quot;).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiFuZlWFSYVHa63spjrrjGdRK6B9L-TG8N6EZjlybZnP_3n5ka2ujJvJJYzM-7EBYc1LQHai25iiRZtX2KLYwWn-Qhk3UjPWZljjvo8u-aFcFintqLOJNQoJuuUHOIXnzXsUHzihJl1i8V/s1600/Annotation+2020-04-19+018.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;545&quot; data-original-width=&quot;1069&quot; height=&quot;326&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiFuZlWFSYVHa63spjrrjGdRK6B9L-TG8N6EZjlybZnP_3n5ka2ujJvJJYzM-7EBYc1LQHai25iiRZtX2KLYwWn-Qhk3UjPWZljjvo8u-aFcFintqLOJNQoJuuUHOIXnzXsUHzihJl1i8V/s640/Annotation+2020-04-19+018.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; text-align: justify;&quot;&gt;So, we can go to the &quot;Clock Configuration&quot; pane. For clock configuration, you can use the resolver, however don&#39;t fully rely on the results, else the core may run at 48MHz (instead of the expected 72MHz).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; text-align: justify;&quot;&gt;Here are some details :&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;&quot;System Clock Mux&quot; has to be set to PLLCLK&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;HSE Crystal is 8MHz (nothing to change)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;The PLL (the &quot;light blue&quot; box) has a default x8 factor. The &quot;PLLMul&quot; has to be set &quot;x9&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;Here USB is not used, so don&#39;t care... Else, just set the USB prescaler to &quot;/1.5&quot;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px;&quot;&gt;APB1 Prescaler should be &quot;/2&quot;, so PCLK1 is 36MHz. APB1 Timer clock shpidm be set to 72MHz by using the &quot;x 2&quot; mutiplier.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHOs5TGgknu041pj_p4Y56EgKcLxQ4MEImToqCIQg0y_GLCWIWKSzN71SNX7b07nA8CyyqHxHPJs6KkUdCg2SzNhgjU-13b0fu3K4gikbx-1MF8IM5p1mnyH740PhPOFvB2bP0mtV2MpDR/s1600/Annotation+2020-04-19+020.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;746&quot; data-original-width=&quot;1070&quot; height=&quot;446&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHOs5TGgknu041pj_p4Y56EgKcLxQ4MEImToqCIQg0y_GLCWIWKSzN71SNX7b07nA8CyyqHxHPJs6KkUdCg2SzNhgjU-13b0fu3K4gikbx-1MF8IM5p1mnyH740PhPOFvB2bP0mtV2MpDR/s640/Annotation+2020-04-19+020.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;When Pinout and Clock configurations are done, just save the &quot;.ioc&quot; file, and STM32CubeIDE will generate the C code.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Blinking LED code&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: normal;&quot;&gt;Now, let&#39;s have a look to the generated code. From the &quot;outline&quot; pane, select the MX_GPIO_Init function:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;static void MX_GPIO_Init(void)&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; GPIO_InitTypeDef GPIO_InitStruct = {0};&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; /* GPIO Ports Clock Enable */&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; __HAL_RCC_GPIOC_CLK_ENABLE();&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; __HAL_RCC_GPIOD_CLK_ENABLE();&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; __HAL_RCC_GPIOA_CLK_ENABLE();&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; /*Configure GPIO pin Output Level */&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; HAL_GPIO_WritePin(GPIOC, GPIO_PIN_13, GPIO_PIN_RESET);&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; /*Configure GPIO pin : PC13 */&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; GPIO_InitStruct.Pin = GPIO_PIN_13;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_OD;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; GPIO_InitStruct.Pull = GPIO_NOPULL;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; HAL_GPIO_Init(GPIOC, &amp;amp;GPIO_InitStruct);&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14px; font-weight: normal; text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px; text-align: start;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: normal;&quot;&gt;We can see this function is initializing the GPIO devices, and GPIO C pin 13 is set as output (according the configuration done with the wizard).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: normal;&quot;&gt;Then, select the main function and look for the while(1) loop. Here we will insert the part of code in charge of the LED blinking :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; /* USER CODE BEGIN WHILE */&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; while (1)&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; &amp;nbsp; /* USER CODE END WHILE */&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HAL_GPIO_TogglePin(GPIOC,GPIO_PIN_13);&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HAL_Delay(500);&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; &amp;nbsp; /* USER CODE BEGIN 3 */&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp; /* USER CODE END 3 */&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14px; text-align: start;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;The loop is quite simple : first, we toggle GPIOC pin 13, then we wait for 500ms.An&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;alternative is to set the LED off for ~0.9s, and light oit for ~0.1s :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;clear: both;&quot;&gt;
&lt;br style=&quot;text-align: justify;&quot; /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; while (1)&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; {&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /* USER CODE END WHILE */&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HAL_GPIO_WritePin(GPIOC,GPIO_PIN_13,SET);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HAL_Delay(900);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HAL_GPIO_WritePin(GPIOC,GPIO_PIN_13,RESET);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;span style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;HAL_Delay(100);&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; &amp;nbsp; /* USER CODE BEGIN 3 */&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; }&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&amp;nbsp; /* USER CODE END 3 */&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div&gt;
&lt;div style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;(Note: As the LED is connected to the open drain, it is ON when the GPIO is low, and it is OFF when the GPIO is ON)&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/blockquote&gt;
&lt;h2 style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Building and running the project&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;We are now ready for building the project and uploading it into the bluepill board. We will also have to configure the &quot;Run/Debug Settings&quot;. Clik on the &quot;run&quot;, and you will got the &quot;Edit launch configuration properties&quot; interface. Switch to the &quot;Debugger&quot; tab :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Debug Probe has to be set to &quot;ST-LINK (OpenOCD)&quot;.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Push the &quot;Show generator options&quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Set the Connection to 4MHz (my VT-LINK is restricted to this speed&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Set the &quot;Reset Mode&quot; to &quot;None&quot;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Press OK&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;Note: A .cfg (configuration) file has been generated into your project.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;STM32CudeIDE is now building our project, and it will try to upload it. With bluepill based on CKS MCU, the upload will fail :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;Open On-Chip Debugger 0.10.0+dev-01193-g5ce997d (2020-02-20-10:57)&lt;br /&gt;Licensed under GNU GPL v2&lt;br /&gt;For bug reports, read&lt;br /&gt;http://openocd.org/doc/doxygen/bugs.html&lt;br /&gt;none separate&lt;br /&gt;Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD&lt;br /&gt;adapter speed: 8000 kHz&lt;br /&gt;adapter_nsrst_delay: 100&lt;br /&gt;Info : Listening on port 6666 for tcl connections&lt;br /&gt;Info : Listening on port 4444 for telnet connections&lt;br /&gt;Info : clock speed 8000 kHz&lt;br /&gt;Info : STLINK V2J36S7 (API v2) VID:PID 0483:3748&lt;br /&gt;Info : using stlink api v2&lt;br /&gt;Info : Target voltage: 3.265600&lt;br /&gt;Info : SRST line released&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;Warn : UNEXPECTED idcode: 0x2ba01477&lt;br /&gt;Error: expected 1 of 1: 0x1ba01477&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;We need to declare the ID of the CKS MCU. We will declare this ID in the .cfg file. Before, we need to configure the debbugger for using this file,without any overwrite. From the Project Explorer, right-click on your project and select the &quot;Properties&quot; menu.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4eE8rGtq1jCeWkryjQhrQhJwpR-NySffAN1Glut3Q72dQBCSWlURNuj5ROmzjURXtrRnptTsNctrqZFJxParO4FI5z9rldZFQKqOC2I-VgJ0VaSxdlSGL3YuGi2Qge-JdVsf35qvixAL5/s1600/Annotation+2020-04-19+022.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;547&quot; data-original-width=&quot;1355&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4eE8rGtq1jCeWkryjQhrQhJwpR-NySffAN1Glut3Q72dQBCSWlURNuj5ROmzjURXtrRnptTsNctrqZFJxParO4FI5z9rldZFQKqOC2I-VgJ0VaSxdlSGL3YuGi2Qge-JdVsf35qvixAL5/s640/Annotation+2020-04-19+022.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Edit the &quot;Run/Debug settings&quot; :&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgilCgWR_vzlYhJ_Tl7Q57xZ-meL7R3p-_I4Iy9xC300Ob6zAyx3AeQxCOQ80FQc53BlPJNxoQ4RY3lwNidux1a-5jQpZGDZWvN2IUiJYJW0-RbY-9QBq0XixcEGKyVnGCltz-tF2ESCLCG/s1600/Annotation+2020-04-19+024.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;572&quot; data-original-width=&quot;659&quot; height=&quot;277&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgilCgWR_vzlYhJ_Tl7Q57xZ-meL7R3p-_I4Iy9xC300Ob6zAyx3AeQxCOQ80FQc53BlPJNxoQ4RY3lwNidux1a-5jQpZGDZWvN2IUiJYJW0-RbY-9QBq0XixcEGKyVnGCltz-tF2ESCLCG/s320/Annotation+2020-04-19+024.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Go to the &quot;debugger&quot; tab, Edit the &quot;Run/Debug settings&quot; :&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxOThBB2V6LLVP7g1u8WoI82i4sh4f2M34sJuheEhggAZLG11goIVyQ-7HGpRpGZ6PJ4kXwdtg5smGenjeA7osz4AwDCNKc_JYrbiltxlYL10N29UWRXHWQG8ya-CtccLsxh_j-nFXiSWE/s1600/Annotation+2020-04-19+025.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;727&quot; data-original-width=&quot;838&quot; height=&quot;346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxOThBB2V6LLVP7g1u8WoI82i4sh4f2M34sJuheEhggAZLG11goIVyQ-7HGpRpGZ6PJ4kXwdtg5smGenjeA7osz4AwDCNKc_JYrbiltxlYL10N29UWRXHWQG8ya-CtccLsxh_j-nFXiSWE/s400/Annotation+2020-04-19+025.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Set the &quot;configuration script&quot; to user defined&quot; and choose the .cfg file. You can exit from this box, and edit the .cfg file. In the &quot;BTCM CPU Variables&quot; section, add the ID :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# This is an genericBoard board with a single STM32F103C8Tx chip## Generated by STM32CubeIDE# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)&lt;br /&gt;&lt;br /&gt;source [find interface/stlink.cfg]&lt;br /&gt;set WORKAREASIZE 0x5000&lt;br /&gt;transport select &quot;hla_swd&quot;&lt;br /&gt;set CHIPNAME STM32F103C8Tx&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set BOARDNAME genericBoard&lt;br /&gt;# Enable debug when in low power modes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set ENABLE_LOW_POWER 1&lt;br /&gt;# Stop Watchdog counters when halt&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set STOP_WATCHDOG 1&lt;br /&gt;# STlink Debug clock frequency&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set CLOCK_FREQ 8000&lt;br /&gt;# Reset configuration&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# use software system reset if reset done&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;reset_config none&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;CONNECT_UNDER_RESET 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;set CORE_RESET 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# ACCESS PORT NUMBER&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set AP_NUM 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;# GDB PORT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;set GDB_PORT 3333&lt;br /&gt;# BCTM CPU variables&lt;/span&gt;&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;set CPUTAPID 0x2ba01477&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;source [find target/stm32f1x.cfg]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Save the configuration, and push the &quot;run&quot; button again. Here the program can be applied to the board, and you can see the LED blinking according to the programmed duty cycle (10% or 90%).&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;Conclusion&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;We are able to develop a small &quot;blinking LED&quot; program for bluepill board, based on STM32CubeIDE. However, there&#39;s still a lot to do :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;How to use the debbuger&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;How to use onboard devices (USB Serial, ...)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;...&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; text-align: start;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; text-align: start;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; text-align: start;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , sans-serif; font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/4747083731760242324/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2020/04/stm32cubeide-and-bluepill-blinky-led.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/4747083731760242324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/4747083731760242324'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2020/04/stm32cubeide-and-bluepill-blinky-led.html' title='STM32CubeIDE and BluePill - The Blinky LED'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHUZpEw94-3vyDjdt_fHUVKCMXMTgZ15lWF8P3TBFRwZYiykojt0pNk7954aZI8ZyyuTy8t6cZCUvnI6BPBLz9NlGJ1qiDSEnZ9JGjm055fXbOqY7L_bpqrUCDGutxJ2HWWnzouBgd0B9c/s72-c/20200419_082243.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-4742624586272175124</id><published>2017-01-08T07:04:00.001-08:00</published><updated>2017-01-08T10:01:46.512-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bus pirate"/><category scheme="http://www.blogger.com/atom/ns#" term="HC-05"/><title type='text'>HC-05 and Bus Pirate - AT commands</title><content type='html'>&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Connect HC-05 to Bus Pirate according to the previous article&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;( http://cloudworker.blogspot.fr/2017/01/hc-05-and-bus-pirate-initial.html )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;From Bus Pirate, set the HC-05 in AT mode:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;From previous configuration, just&amp;nbsp;set AUX &amp;nbsp;to High state (&#39;A&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Now AT commands can be sent to HC-05. Enable Live Display (&#39;{&#39;) before&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQNltCtCgPEk6ruMLDxAR3x8Z6v60fz2g9v1vTPSNqhLnf_tkILaUJsPA4YsPsj0ZCReO0rViwQpLUxhyKwLmZ0JekNf9GIDRMec6iXnnVU4O7ISh5aKxJF026Z7wBFLQKAyqenzIN9zN0/s1600/HC-05+008.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQNltCtCgPEk6ruMLDxAR3x8Z6v60fz2g9v1vTPSNqhLnf_tkILaUJsPA4YsPsj0ZCReO0rViwQpLUxhyKwLmZ0JekNf9GIDRMec6iXnnVU4O7ISh5aKxJF026Z7wBFLQKAyqenzIN9zN0/s640/HC-05+008.png&quot; width=&quot;432&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/4742624586272175124/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2017/01/hc-05-and-bus-pirate-at-commands.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/4742624586272175124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/4742624586272175124'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2017/01/hc-05-and-bus-pirate-at-commands.html' title='HC-05 and Bus Pirate - AT commands'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiQNltCtCgPEk6ruMLDxAR3x8Z6v60fz2g9v1vTPSNqhLnf_tkILaUJsPA4YsPsj0ZCReO0rViwQpLUxhyKwLmZ0JekNf9GIDRMec6iXnnVU4O7ISh5aKxJF026Z7wBFLQKAyqenzIN9zN0/s72-c/HC-05+008.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-697091874389711646</id><published>2017-01-08T06:42:00.000-08:00</published><updated>2017-01-08T22:02:25.469-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bus pirate"/><category scheme="http://www.blogger.com/atom/ns#" term="HC-05"/><title type='text'>HC-05 and Bus Pirate - initial configuration (9600 bps)</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Want to check if HC-05 module is working fine ?&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Bus Pirate may help...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Connections:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Bus Pirate&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;HC-05&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;GND (black)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;GND&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;+5V (gray)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;VCC&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;AUX (green)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;EN&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;TX/MOSI (orange)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;RXD&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;RX/MISO (brown)&lt;/span&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;TXD&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;( &lt;a href=&quot;http://dangerousprototypes.com/docs/Hardware_overview&quot;&gt;http://dangerousprototypes.com/docs/Hardware_overview&lt;/a&gt; )&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;br /&gt;note: AUX (EN) will be used later for tests with AT commands&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbos0UlC5wDggcBehzOVkLkjZz9smjNahdS_ivUSLuSRZrclaPo-ilx5iODIMPFvwzpmobCemiGnqB3tHgKVTpUTOBWdoCzFd_-7JMH-ObgJWXBjn5B1c3CZ9jAhJsfpZj19jn_t39hUn4/s1600/IMG_20170108_144014.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbos0UlC5wDggcBehzOVkLkjZz9smjNahdS_ivUSLuSRZrclaPo-ilx5iODIMPFvwzpmobCemiGnqB3tHgKVTpUTOBWdoCzFd_-7JMH-ObgJWXBjn5B1c3CZ9jAhJsfpZj19jn_t39hUn4/s320/IMG_20170108_144014.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAFGeRBXNpya_utoRB4t6mzUK_MVVHQwR0BlN5TX8RiWmihHFpexxmF9Sev5plfBsBBC6u9ZnCm9CPkqks_5xlX_fBvUHK9A6vyRqznhDkDUPoXM4ldzSsdgRvhuPMZq6J8zQ3FZxzbpn/s1600/IMG_20170108_144036.jpg&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAFGeRBXNpya_utoRB4t6mzUK_MVVHQwR0BlN5TX8RiWmihHFpexxmF9Sev5plfBsBBC6u9ZnCm9CPkqks_5xlX_fBvUHK9A6vyRqznhDkDUPoXM4ldzSsdgRvhuPMZq6J8zQ3FZxzbpn/s320/IMG_20170108_144036.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;



&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;For this test, my OS is Ubuntu 16.10.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Devices are&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Buspirate &lt;br /&gt;ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Asus BT Dongle &lt;br /&gt;ID 0b05:17cb ASUSTek Computer, Inc. Broadcom BCM20702A0 Bluetooth&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;minicom -D /dev/ttyUSB1 starts the session on the bus pirate side&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;First, power on the HC-05, by enabling power (&#39;w&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Now, you can pair HC-05 to the BT dongle.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;The RED LED on the HC-05 module should blink quickly while HC-05 is not connected&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;When HC-05 is connected, the RED LED should blink every 4 seconds&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Example: use the BT device detection from the blueman applet&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnT9egLNT12pQB2bQ03XykJow3y2M9H_rWjyIHUUMI9ffyIB78xWevT2g7204MnbCCqFOitbIbE2wEwywNVfX1qyfiQt9IevNtWbje8SpuhdR41woP_E0WYWxxZHLxKownFT0zBE0UvULj/s1600/HC-05+paired.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;54&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnT9egLNT12pQB2bQ03XykJow3y2M9H_rWjyIHUUMI9ffyIB78xWevT2g7204MnbCCqFOitbIbE2wEwywNVfX1qyfiQt9IevNtWbje8SpuhdR41woP_E0WYWxxZHLxKownFT0zBE0UvULj/s640/HC-05+paired.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;In my example, &amp;nbsp;HC-05 is connected as /dev/rfcomm3&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Now, configure Bus Pirate in UART mode, with 9600 8n1 configuration:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_gfvip-WsZh4qkk4bGIAQpwy2AHJ-SKsmO3fuuCXa7h1zhTGXe4sA2s6bNPztZafhIKAV4SiRutddr4ichVAN05gX2EMMmZRlqPfQKCy0PiSdS9-xYB4u1Kjbn97zCh7KO9fXqbbuu5oA/s1600/HC-05+BP+UART.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_gfvip-WsZh4qkk4bGIAQpwy2AHJ-SKsmO3fuuCXa7h1zhTGXe4sA2s6bNPztZafhIKAV4SiRutddr4ichVAN05gX2EMMmZRlqPfQKCy0PiSdS9-xYB4u1Kjbn97zCh7KO9fXqbbuu5oA/s400/HC-05+BP+UART.png&quot; width=&quot;391&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;After this configuration, don&#39;t forget to enable power&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;(power is disabled by Bus Pirate after each mode change)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP05NEJYIb4r2WGfBWVKJFDyaTsXMsP8HoyNTnAjnzk6H5Aw8LgpwvwbEp3cHy-10Dq9cTXY_KRuUkO66x1dXkQnFmlG5w819qWOjr85bkVkAW_Qj0i0ADZYjgty4U5TOqWPGScieZ6AHX/s1600/HC-05+BP+UART+power.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP05NEJYIb4r2WGfBWVKJFDyaTsXMsP8HoyNTnAjnzk6H5Aw8LgpwvwbEp3cHy-10Dq9cTXY_KRuUkO66x1dXkQnFmlG5w819qWOjr85bkVkAW_Qj0i0ADZYjgty4U5TOqWPGScieZ6AHX/s400/HC-05+BP+UART+power.png&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Set the Bus Pirate in &quot;Live Display&quot; mode (&#39;{&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Open a new minicom with the rfcomm device&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Change the device data rate to 9600&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Now you can see&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;every character from the &quot;rfcomm&quot; minicom is seen on the Bus Pirate side&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvRCQadulftJEQRINJp-ipPLhm0pF3t4H6JXuULj8B0kD1fvnt_52enhApicZ8bNg3iqZ4ddUp6-LU6KVEUStphjnl293RQ4PY6GpsdUQOCEU4W43FlAU8tP-LQREzBeTn0C0aXTdemYdR/s1600/HC-05+BT+tx.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;376&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvRCQadulftJEQRINJp-ipPLhm0pF3t4H6JXuULj8B0kD1fvnt_52enhApicZ8bNg3iqZ4ddUp6-LU6KVEUStphjnl293RQ4PY6GpsdUQOCEU4W43FlAU8tP-LQREzBeTn0C0aXTdemYdR/s400/HC-05+BT+tx.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhhEkUpwCUdRxEl1NGH9Yjn5HAScfEnwqoU5w16DFwNTxJ3f4tLBiWsXGSGEUqXuSw0zIi7PfVE-HZw2uCN92bJhr0RN0PMWdBmkexkMtcYAaJr7wyVzj_CwcLlKU8U8xk7bIHqO_wH-z8/s1600/HC-05+BT+tx.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhhEkUpwCUdRxEl1NGH9Yjn5HAScfEnwqoU5w16DFwNTxJ3f4tLBiWsXGSGEUqXuSw0zIi7PfVE-HZw2uCN92bJhr0RN0PMWdBmkexkMtcYAaJr7wyVzj_CwcLlKU8U8xk7bIHqO_wH-z8/s1600/HC-05+BT+tx.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiCgzy-yu8qYcQXBQjOXcau74Kh5czQjFzh8EKmzqBR2NTsjLZpyMg9cmpzOu2f8ryTdwZK_EeiDavYQ-rxrztqka6-o5Q-CAMu9fcRTHwoIdwiNjpHChgVq-4l7nENr1Aum6sgRv0ZxL/s1600/HC-05+BP+rec.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiCgzy-yu8qYcQXBQjOXcau74Kh5czQjFzh8EKmzqBR2NTsjLZpyMg9cmpzOu2f8ryTdwZK_EeiDavYQ-rxrztqka6-o5Q-CAMu9fcRTHwoIdwiNjpHChgVq-4l7nENr1Aum6sgRv0ZxL/s400/HC-05+BP+rec.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;in the same way, every data sent through Bus Pirate is seen on the rfcomm console&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Ie0fbQfLtPyFDEMxTJgCi2WKgMN1B3OTGhkDt1_P7EfQ-IUO8z-J2OZ41j6pNgHOeM1sDnALM3C6tYFQqWhlk2uvDfN7MCdScewvuP1Bn3GhUpkSo-N29cix1ppQXxyiZL8JUeGUWvON/s1600/HC-06+BP+rx.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Ie0fbQfLtPyFDEMxTJgCi2WKgMN1B3OTGhkDt1_P7EfQ-IUO8z-J2OZ41j6pNgHOeM1sDnALM3C6tYFQqWhlk2uvDfN7MCdScewvuP1Bn3GhUpkSo-N29cix1ppQXxyiZL8JUeGUWvON/s400/HC-06+BP+rx.png&quot; width=&quot;327&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3KcdE0n2seTk9UrNWwKpR3mpSKggXkMnqBqJj6QdqM-3frIFiKU_cUKzUXZ3jCVLRErhu0ttbMzYnmEaT0EcO3hD9gV_P-CJyiuYsbqtg6nCtno4_kOH2NTTfYNEz-yvvQ3bg6-eU6ZPY/s1600/HC-05+007.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;258&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3KcdE0n2seTk9UrNWwKpR3mpSKggXkMnqBqJj6QdqM-3frIFiKU_cUKzUXZ3jCVLRErhu0ttbMzYnmEaT0EcO3hD9gV_P-CJyiuYsbqtg6nCtno4_kOH2NTTfYNEz-yvvQ3bg6-eU6ZPY/s320/HC-05+007.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&amp;nbsp;=&amp;gt; transmission with default 9600bps configuration is OK&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/697091874389711646/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2017/01/hc-05-and-bus-pirate-initial.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/697091874389711646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/697091874389711646'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2017/01/hc-05-and-bus-pirate-initial.html' title='HC-05 and Bus Pirate - initial configuration (9600 bps)'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbos0UlC5wDggcBehzOVkLkjZz9smjNahdS_ivUSLuSRZrclaPo-ilx5iODIMPFvwzpmobCemiGnqB3tHgKVTpUTOBWdoCzFd_-7JMH-ObgJWXBjn5B1c3CZ9jAhJsfpZj19jn_t39hUn4/s72-c/IMG_20170108_144014.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-1385991716979314310</id><published>2014-01-10T13:16:00.000-08:00</published><updated>2014-01-10T13:16:29.860-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arm"/><category scheme="http://www.blogger.com/atom/ns#" term="cortex-a7"/><category scheme="http://www.blogger.com/atom/ns#" term="cubieboard v3"/><category scheme="http://www.blogger.com/atom/ns#" term="cubietruck"/><category scheme="http://www.blogger.com/atom/ns#" term="linaro"/><category scheme="http://www.blogger.com/atom/ns#" term="sunxi"/><title type='text'>cubietruck - overview and ressources</title><content type='html'>&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;Cubietruck&lt;/b&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/-uhWmV_reKtA/UsGA2BOOsiI/AAAAAAAAPWo/nQBLlRa-o3k/s1600/2013+-+1&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-uhWmV_reKtA/UsGA2BOOsiI/AAAAAAAAPWo/nQBLlRa-o3k/s1600/2013+-+1&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;cubietruck is cubieboard v3, based on A20 SoC from Allwinner (Cortex-A7 dual cores)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Operating System:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;b&gt;Android&lt;/b&gt; is the default Operating System, and is already installed in the cubietruck on-board flash memory. You don&#39;t need any external storage device, and the cubietruck can be started ASAP (plug a monitor on the VGA output, and plug the power cable in a 5V USB power supply or in the USB port of your PC). Going ahead, you can use a mouse and even a keyboard in the cubieboard USB ports, and use it like an Android appliance.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;But it is really easy to prepare a micro-SD card (from a PC, linux prefered) with a linux distro like &lt;b&gt;lubuntu&lt;/b&gt; or &lt;b&gt;fedora&lt;/b&gt;. Cookbook can easily be found on the web (sUe following links). My own cubietruck is running with lubuntu...&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Useful links:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Cubieboard official web site:&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.cubieboard.org/&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://www.cubieboard.org/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://dl.cubieboard.org/&quot;&gt;http://dl.cubieboard.org/&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://docs.cubieboard.org/tutorials/ct1/development/compiling_latest_kernel_for_cubietruck_cubieboard3&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://docs.cubieboard.org/tutorials/ct1/development/compiling_latest_kernel_for_cubietruck_cubieboard3&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Linux for Allwinner SoC (=&quot;linux-sunxi&quot;):&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://linux-sunxi.org/Linux&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://linux-sunxi.org/Linux&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://linux-sunxi.org/A20/PIO&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://linux-sunxi.org/A20/PIO&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://linux-sunxi.org/A20-Cubietruck&quot;&gt;http://linux-sunxi.org/A20-Cubietruck&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://linux-sunxi.org/Fex_Guide#FEX_Description&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://linux-sunxi.org/Fex_Guide#FEX_Description&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Create a bootable SD card with ubuntu&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;http://linux-sunxi.org/Bootable_SD_card&quot;&gt;http://linux-sunxi.org/Bootable_SD_card&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://docs.cubieboard.org/tutorials/ct1/installation/install_lubuntu_desktop_server_to_sd_card&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://docs.cubieboard.org/tutorials/ct1/installation/install_lubuntu_desktop_server_to_sd_card&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Linaro:&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.linaro.org/&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;http://www.linaro.org/&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;a href=&quot;https://launchpad.net/linaro-toolchain-binaries/+download&quot;&gt;https://launchpad.net/linaro-toolchain-binaries/+download&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Google Group &lt;a href=&quot;https://groups.google.com/forum/#!forum/cubieboard&quot;&gt;https://groups.google.com/forum/#!forum/cubieboard&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Details about PWM:&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://github.com/dwilkins/pwm-sunxi/blob/master/README.md&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;https://github.com/dwilkins/pwm-sunxi/blob/master/README.md&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;ARM: &lt;a href=&quot;http://infocenter.arm.com/help/index.jsp&quot;&gt;http://infocenter.arm.com/help/index.jsp&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/1385991716979314310/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2014/01/cubietruck-overview-and-ressources.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/1385991716979314310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/1385991716979314310'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2014/01/cubietruck-overview-and-ressources.html' title='cubietruck - overview and ressources'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-uhWmV_reKtA/UsGA2BOOsiI/AAAAAAAAPWo/nQBLlRa-o3k/s72-c/2013+-+1" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-2495556743348933988</id><published>2014-01-10T10:16:00.000-08:00</published><updated>2014-01-10T13:15:48.638-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="arm"/><category scheme="http://www.blogger.com/atom/ns#" term="cortex-a7"/><category scheme="http://www.blogger.com/atom/ns#" term="cubieboard v3"/><category scheme="http://www.blogger.com/atom/ns#" term="cubietruck"/><category scheme="http://www.blogger.com/atom/ns#" term="disk"/><category scheme="http://www.blogger.com/atom/ns#" term="linaro"/><category scheme="http://www.blogger.com/atom/ns#" term="SATA"/><title type='text'>cubietruck - the SATA interface</title><content type='html'>&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Let&#39;s try to get SATA throughput from a disk connected to the cubietruck&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;sequential read is more than &lt;b style=&quot;background-color: yellow;&quot;&gt;70 MB/s&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif;&quot;&gt;sequential write is around &lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;35 MB/s&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;These throughputs are quite good, and we really can think that the cubietruck can be used like an entry level (home) NAS appliance (there&#39;s no second SATA port, so no way to to have 2 disks in RAID1 configuration...)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;All the details:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;
SATA disk is connected to the cubietruck:&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;the device is a 2.5&quot; 160GB Seagate HDD&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# hdparm -I /dev/sda&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;/dev/sda:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;ATA device, with non-removable media&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Model Number: &amp;nbsp; &amp;nbsp; &amp;nbsp; ST9160314AS &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Serial Number: &amp;nbsp; &amp;nbsp; &amp;nbsp;5VC29NDA&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Firmware Revision: &amp;nbsp;0002SDM1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Transport: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Serial&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Standards:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Used: unknown (minor revision code 0x0029)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Supported: 8 7 6 5&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Likely used: 8&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Configuration:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Logical &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; max &amp;nbsp; &amp;nbsp; current&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cylinders &amp;nbsp; &amp;nbsp; &amp;nbsp; 16383 &amp;nbsp; 16383&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; heads &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 16 &amp;nbsp; &amp;nbsp; &amp;nbsp;16&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; sectors/track &amp;nbsp; 63 &amp;nbsp; &amp;nbsp; &amp;nbsp;63&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; --&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; CHS current addressable sectors: &amp;nbsp; 16514064&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LBA &amp;nbsp; &amp;nbsp;user addressable sectors: &amp;nbsp;268435455&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LBA48 &amp;nbsp;user addressable sectors: &amp;nbsp;312581808&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Logical/Physical Sector size: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 512 bytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device size with M = 1024*1024: &amp;nbsp; &amp;nbsp; &amp;nbsp;152627 MBytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; device size with M = 1000*1000: &amp;nbsp; &amp;nbsp; &amp;nbsp;160041 MBytes (160 GB)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cache/buffer size &amp;nbsp;= 8192 KBytes&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Nominal Media Rotation Rate: 5400&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Capabilities:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; LBA, IORDY(can be disabled)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Queue depth: 32&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Standby timer values: spec&#39;d by Standard, no device specific minimum&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; R/W multiple sector transfer: Max = 16 &amp;nbsp;Current = 16&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Advanced power management level: 128&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Recommended acoustic management value: 254, current value: 0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cycle time: min=120ns recommended=120ns&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PIO: pio0 pio1 pio2 pio3 pio4&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Cycle time: no flow control=120ns &amp;nbsp;IORDY flow control=120ns&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Commands/features:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Enabled Supported:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SMART feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Security Mode feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Power Management feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Write cache&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Look-ahead&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Host Protected Area feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;WRITE_BUFFER command&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;READ_BUFFER command&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;DOWNLOAD_MICROCODE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Advanced Power Management feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SET_MAX security extension&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;48-bit Address feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Device Configuration Overlay feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Mandatory FLUSH_CACHE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;FLUSH_CACHE_EXT&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SMART error logging&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SMART self-test&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;General Purpose Logging feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;64-bit World wide name&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;IDLE_IMMEDIATE with UNLOAD&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Write-Read-Verify feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;WRITE_UNCORRECTABLE_EXT command&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;{READ,WRITE}_DMA_EXT_GPL commands&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Segmented DOWNLOAD_MICROCODE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Gen1 signaling speed (1.5Gb/s)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Gen2 signaling speed (3.0Gb/s)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Native Command Queueing (NCQ)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Phy event counters&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Device-initiated interface power management&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;Software settings preservation&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SMART Command Transport (SCT) feature set&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SCT Long Sector Access (AC1)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SCT Error Recovery Control (AC3)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SCT Features Control (AC4)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* &amp;nbsp; &amp;nbsp;SCT Data Tables (AC5)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; unknown 206[12] (vendor specific)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Security:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Master password revision code = 65534&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; supported&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not &amp;nbsp; &amp;nbsp; enabled&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not &amp;nbsp; &amp;nbsp; locked&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not &amp;nbsp; &amp;nbsp; frozen&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; not &amp;nbsp; &amp;nbsp; expired: security count&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; supported: enhanced erase&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 48min for SECURITY ERASE UNIT. 48min for ENHANCED SECURITY ERASE UNIT.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Logical Unit WWN Device Identifier: 5000c50017db74f2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; NAA &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; : 5&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IEEE OUI &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;: 000c50&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Unique ID &amp;nbsp; &amp;nbsp; &amp;nbsp; : 017db74f2&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;Checksum: correct&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;the disk is formatted with ext4 (without any partition) and is mounted in /data&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;root@cubietruck:~# df&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Filesystem &amp;nbsp; &amp;nbsp; 1K-blocks &amp;nbsp; &amp;nbsp;Used Available Use% Mounted on&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;/dev/root &amp;nbsp; &amp;nbsp; &amp;nbsp; 15248268 2211744 &amp;nbsp;12261948 &amp;nbsp;16% /&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;devtmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;934496 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp;934492 &amp;nbsp; 1% /dev&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;tmpfs &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;20480 &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 &amp;nbsp; &amp;nbsp; 20476 &amp;nbsp; 1% /tmp&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;186924 &amp;nbsp; &amp;nbsp; 268 &amp;nbsp; &amp;nbsp;186656 &amp;nbsp; 1% /run&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5120 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp; &amp;nbsp;5120 &amp;nbsp; 0% /run/lock&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;934604 &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp; &amp;nbsp;934604 &amp;nbsp; 0% /run/shm&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;none &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;102400 &amp;nbsp; &amp;nbsp; &amp;nbsp;16 &amp;nbsp; &amp;nbsp;102384 &amp;nbsp; 1% /run/user&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;/dev/sda &amp;nbsp; &amp;nbsp; &amp;nbsp; 153837436 &amp;nbsp;653672 145369220 &amp;nbsp; 1% /data&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;A simple write test: create a 8GB file on the filesystem&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# dd if=/dev/zero of=/data/tmp/testfile bs=1M count=8192&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;8192+0 records in&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;8192+0 records out&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;8589934592 bytes (8.6 GB) copied, 250.019 s, 34.4 MB/s&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;The reported IO throughput (sequential write) is &lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;34.4 MB/s&lt;/b&gt;&lt;/span&gt;, which is quite good for this kind of device.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;The IO activity is monitored while the file is created. Throughput is not regular&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Total DISK READ: &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.00 B/s | Total DISK WRITE: &amp;nbsp; &amp;nbsp; &amp;nbsp;12.20 M/s&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; TID &amp;nbsp;PRIO &amp;nbsp;USER &amp;nbsp; &amp;nbsp; DISK READ &amp;nbsp;DISK WRITE &amp;nbsp;SWAPIN &amp;nbsp; &amp;nbsp; IO&amp;gt; &amp;nbsp; &amp;nbsp;COMMAND &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;1795 be/4 root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp;0.00 % 52.94 % [flush-8:0]&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;1968 be/4 root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp; 36.87 M/s &amp;nbsp;0.00 % 47.77 % dd if=/dev/zero of=/data/tmp/testfile bs=1M count=8192&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; 227 be/3 root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp; 17.79 M/s &amp;nbsp;0.00 % 32.17 % [jbd2/sda-8]&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; 1 be/4 root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp;0.00 % &amp;nbsp;0.00 % init&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; 2 be/4 root &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp; &amp;nbsp;0.00 B/s &amp;nbsp;0.00 % &amp;nbsp;0.00 %&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;A simple read test: the 8GB file is read&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# dd if=/data/tmp/testfile of=/dev/null bs=1M&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;8192+0 records in&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;8192+0 records out&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;8589934592 bytes (8.6 GB) copied, 116.468 s, 73.8 MB/s&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;reported read throughput is &lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;b&gt;73.8 MB/s&lt;/b&gt;&lt;/span&gt; !!!&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;More details from sysfs (scheduler, ...)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/max_sectors_kb&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;512&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/max_hw_sectors_kb&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;32767&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/nr_requests &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;128&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/read_ahead_kb&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;128&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/rotational &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/rq_affinity&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/max_segment_size&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;65536&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;root@cubietruck:~# cat /sys/block/sda/queue/scheduler &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: x-small;&quot;&gt;noop deadline [cfq]&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/2495556743348933988/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2014/01/cubietruck-sata.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/2495556743348933988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/2495556743348933988'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2014/01/cubietruck-sata.html' title='cubietruck - the SATA interface'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-6629113605710871473</id><published>2009-11-13T03:21:00.001-08:00</published><updated>2021-06-09T05:19:25.408-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DataDirect Networks"/><category scheme="http://www.blogger.com/atom/ns#" term="DDN"/><category scheme="http://www.blogger.com/atom/ns#" term="SFA 1000"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>DataDirect Networks: SFA10000 is back in our lab</title><content type='html'>SFA10000 is back in our lab&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoFwKKAfJ-9s0fnzxM4lQ98TpgTMN7XSFZ20kPtnciZoIvicxYMTrTGW5QhFBABpWVdfzSQwGZAVokNDilSQhb5Q2bOdc4-T24zLojMj-P5LJ9QfnIZk0h_Lne2EhyVD88fPMuXxCi3lHa/s1600-h/Photo0054.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5403547850928941554&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoFwKKAfJ-9s0fnzxM4lQ98TpgTMN7XSFZ20kPtnciZoIvicxYMTrTGW5QhFBABpWVdfzSQwGZAVokNDilSQhb5Q2bOdc4-T24zLojMj-P5LJ9QfnIZk0h_Lne2EhyVD88fPMuXxCi3lHa/s320/Photo0054.jpg&quot; style=&quot;cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 240px;&quot; /&gt;&lt;/a&gt;


16 FC8 connected to the hosts (front-end bandwidth is 12,8GB/s!!!)
40 SAS 4X links to the back-end enclosures (5 enclosure with 60 disks each)
For cache mirroring between the controlers, Mellanox QDR/10GigE interfaces are now replacing the previous bonded 1Gb ethernet interfaces.

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1QJnVTqFmC_9Z_aPhAlX6m5VeKA0kQm9s2XWoDHL5VjwfEq7xwtRBmF0bLql-m_6wHVJCUAlAXWJxQ79J9KcRSeHCV4vA4EXWPOenfRsSrifHbIf2-1Pdn5eP9bnHDtp1eUpBO55dgZi3/s1600-h/Photo0051.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5403548092710781074&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1QJnVTqFmC_9Z_aPhAlX6m5VeKA0kQm9s2XWoDHL5VjwfEq7xwtRBmF0bLql-m_6wHVJCUAlAXWJxQ79J9KcRSeHCV4vA4EXWPOenfRsSrifHbIf2-1Pdn5eP9bnHDtp1eUpBO55dgZi3/s320/Photo0051.jpg&quot; style=&quot;cursor: pointer; display: block; height: 240px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;

4 hosts are connected for performance tests:
each node is using 4 FC8 ports and 1 IB QDR,
Lustre should be able to get 3,2GB/s on each OSS

&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeAF5jLf9GnEy1nx_gkIkLgEws3kTNCAH9p41uiUUBbIEU5SER7BFGIENVjXtxlU4ffBztgid7pzj5JEhJE6-A_NWWRqfGyo3knqf2r5Wcd6Hu-2GVgVYcR1v14md1B_IebsHVCviurNlG/s1600-h/Photo0050.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5403548792171600434&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeAF5jLf9GnEy1nx_gkIkLgEws3kTNCAH9p41uiUUBbIEU5SER7BFGIENVjXtxlU4ffBztgid7pzj5JEhJE6-A_NWWRqfGyo3knqf2r5Wcd6Hu-2GVgVYcR1v14md1B_IebsHVCviurNlG/s320/Photo0050.jpg&quot; style=&quot;cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 240px;&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/6629113605710871473/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2009/11/datadirect-networks-sfa10000-is-back-in.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/6629113605710871473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/6629113605710871473'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2009/11/datadirect-networks-sfa10000-is-back-in.html' title='DataDirect Networks: SFA10000 is back in our lab'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoFwKKAfJ-9s0fnzxM4lQ98TpgTMN7XSFZ20kPtnciZoIvicxYMTrTGW5QhFBABpWVdfzSQwGZAVokNDilSQhb5Q2bOdc4-T24zLojMj-P5LJ9QfnIZk0h_Lne2EhyVD88fPMuXxCi3lHa/s72-c/Photo0054.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-1676320854367487527</id><published>2009-11-11T05:48:00.000-08:00</published><updated>2009-11-11T06:08:15.574-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DDN"/><category scheme="http://www.blogger.com/atom/ns#" term="S2A9900"/><category scheme="http://www.blogger.com/atom/ns#" term="Storage"/><title type='text'>DDN S2A9900 - 60 disks enclosures</title><content type='html'>&lt;span style=&quot;font-family: arial;&quot;&gt;Nice and performant system: we&#39;ve been able to get more than 5GB/s when writing on Lustre FS other S2A9900...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLEpQBEVFM2B4mnyBVBlEqXGSovuOaTV7aqqM89DV0v1t3ipalEGLonU4jgvt6_3zYnuRzqwF1E07d_Ua-pv1dKQ9HIbpGIu5GCsjDP95iCy98RC4GY-33aJj3uYPlYtIQ-hpkOBvQ85xa/s1600-h/Photo0042.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5402842992033841954&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLEpQBEVFM2B4mnyBVBlEqXGSovuOaTV7aqqM89DV0v1t3ipalEGLonU4jgvt6_3zYnuRzqwF1E07d_Ua-pv1dKQ9HIbpGIu5GCsjDP95iCy98RC4GY-33aJj3uYPlYtIQ-hpkOBvQ85xa/s320/Photo0042.jpg&quot; style=&quot;cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 240px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;We also get tons of boxes with SATA and SAS disks for our tests. There are 24 disks in a box&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW1Z2nXvPyLwM8gyrwhYfwAL6bzSC_nWwJTxoLEyKYrepKJvINK72zrsy2ZFiGgZY_VPv9cJGjZ_H12kSfhQY_vLLf_OBYNx8uFfg8tMsI_kKr201jMmwTmdpH34GInhUvW8whRsrjvDf6/s1600-h/Photo0044.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5402843504855950674&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW1Z2nXvPyLwM8gyrwhYfwAL6bzSC_nWwJTxoLEyKYrepKJvINK72zrsy2ZFiGgZY_VPv9cJGjZ_H12kSfhQY_vLLf_OBYNx8uFfg8tMsI_kKr201jMmwTmdpH34GInhUvW8whRsrjvDf6/s320/Photo0044.jpg&quot; style=&quot;cursor: pointer; display: block; height: 240px; margin: 0px auto 10px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: arial;&quot;&gt;We can put up to 60 disks in each enclosure. Our test configuration is using 5 enclosures, with 300 disks. Up to 20 enclosures (1200 disks !!!) can be connected to one S2A9900 system, for huge capacity needs...&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDPka5nrZTOk3CA118k1aSGfjqGzNWKMwA5KJ4D5F0APYy9Wrv5cCOrcREt0snv91gHJMFGhiG07nYcJtAy8Bi9dXq3dP_QK0iwhkgDyejbwi7c1A0KFT-wP1ElV9dI1lVvGayr-Aq5RZj/s1600-h/Photo0041.jpg&quot; onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5402844778795857618&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDPka5nrZTOk3CA118k1aSGfjqGzNWKMwA5KJ4D5F0APYy9Wrv5cCOrcREt0snv91gHJMFGhiG07nYcJtAy8Bi9dXq3dP_QK0iwhkgDyejbwi7c1A0KFT-wP1ElV9dI1lVvGayr-Aq5RZj/s320/Photo0041.jpg&quot; style=&quot;cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 240px;&quot; /&gt;&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/1676320854367487527/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2009/11/nice-and-performant-system-weve-been.html#comment-form' title='1 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/1676320854367487527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/1676320854367487527'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2009/11/nice-and-performant-system-weve-been.html' title='DDN S2A9900 - 60 disks enclosures'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLEpQBEVFM2B4mnyBVBlEqXGSovuOaTV7aqqM89DV0v1t3ipalEGLonU4jgvt6_3zYnuRzqwF1E07d_Ua-pv1dKQ9HIbpGIu5GCsjDP95iCy98RC4GY-33aJj3uYPlYtIQ-hpkOBvQ85xa/s72-c/Photo0042.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-2989374251023332571</id><published>2009-11-11T05:44:00.000-08:00</published><updated>2009-11-11T05:47:43.837-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><category scheme="http://www.blogger.com/atom/ns#" term="RPM"/><category scheme="http://www.blogger.com/atom/ns#" term="rpmbuild"/><category scheme="http://www.blogger.com/atom/ns#" term="SMP"/><title type='text'>SMP and rpmbuild</title><content type='html'>&lt;p&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;To use multiples processors when builing/compiling RPMs:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;edit your &lt;span style=&quot;font-style: italic;&quot;&gt;.rpmmacros&lt;/span&gt; file and define &lt;span style=&quot;font-style: italic;&quot;&gt;%make&lt;/span&gt; macro:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;%make make -j 4&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/2989374251023332571/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2009/11/smp-and-rpmbuild.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/2989374251023332571'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/2989374251023332571'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2009/11/smp-and-rpmbuild.html' title='SMP and rpmbuild'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-111210488718650985</id><published>2009-11-11T05:03:00.001-08:00</published><updated>2009-11-11T06:02:59.653-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALUA"/><category scheme="http://www.blogger.com/atom/ns#" term="Blacklist"/><category scheme="http://www.blogger.com/atom/ns#" term="DGC"/><category scheme="http://www.blogger.com/atom/ns#" term="EMC"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="multipath"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>Linux ALUA Multipath with EMC CX 4-120</title><content type='html'>&lt;div style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;First, on EMC CX 4-120, Check that storage groups on EMC CX 4-120 are configured for ALUA (Assymetric Logical Unit Access): &lt;i&gt;failovermode&lt;/i&gt; should be 4&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;Note: if no agent is running on server side, &lt;i&gt;arraycommpath&lt;/i&gt; should be set to 0.&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: arial;&quot;&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;Then, on server side (linux OS is &lt;i&gt;RHEL5.3&lt;/i&gt;) we are using following &lt;i&gt;/etc/multipath.conf&lt;/i&gt; file:&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;pre&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;
blacklist {
device {
vendor &quot;.*&quot;
model  &quot;.*&quot;
}
}
blacklist_exceptions {
device {
vendor  &quot;DGC.*&quot;
model  &quot;RAID.*&quot;
}
}
devices {
device {
vendor  &quot;DGC.*&quot;
product &quot;.*&quot;
path_grouping_policy    failover
getuid_callout          &quot;/sbin/scsi_id -g -u -s /block/%n&quot;
prio_callout            &quot;/sbin/mpath_prio_alua /dev/%n&quot;
no_path_retry           fail
path_checker            alua
failback                immediate
}
&lt;/span&gt;&lt;span style=&quot;background-color: #cccccc;&quot;&gt;&lt;span style=&quot;background-color: #999999;&quot;&gt;}&lt;/span&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;Note: &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;blacklist&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt; and &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;blacklist_exceptions&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt; should use the same kind of definitions: If some devices are blacklisted by &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;devnode&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt; regexp, exceptions for these devices have to be defined by &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;devnode&lt;/span&gt; &lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;keyword too.&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;&lt;br /&gt;
Here, we only want to apply multipath on EMC devices. So we use &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;blacklist&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt; (by default, all devices will be blacklisted) and &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;blacklist exception&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt; (EMC vendor TAG is DGC...) based on &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%; font-style: italic;&quot;&gt;device&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt; keyword (with vendor/model fields).&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;&lt;br /&gt;
So, for all EMC devices, multipath is applied using ALUA rules (priority, checker, ...).&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;Now, there&#39;s an issue with multipath tools (device-mapper-multipath package for RHEL5) and internal settings (hardcoded in tools) are overriding our settings from &lt;i&gt;/etc/multipath.conf&lt;/i&gt;.&lt;br /&gt;
&lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;These internal settings will lead multipath to use &lt;i&gt;default&lt;/i&gt; EMC multipath based on &lt;i&gt;tresspass &lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;technology, and ALUA won&#39;t be used:&lt;br /&gt;
multipath errors are generated, tresspass commands are sent to the storage processors, and multipath devices won&#39;t work.&lt;br /&gt;
&lt;/span&gt;&lt;i style=&quot;font-family: arial;&quot;&gt;&lt;/i&gt;&lt;span style=&quot;font-family: arial;&quot;&gt;The solution suggested is to remove internal settings for EMC from multipath tools. &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;These settings are located in &lt;i&gt;libmultipath/hwtable.c&lt;/i&gt; file. Ask for someone who know how to modify/patch/rebuild/ RPMs if you don&#39;t know. &lt;/span&gt;&lt;span style=&quot;font-family: arial; font-size: 100%;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
At last, here is an example of multipath failover based on ALUA for EMC CX 4-120:&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;
[root@XXXXXX ~]# multipath -ll
3600601609fa02200007deb7d0881de11 dm-7 DGC,RAID 5 [size=1.2T][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=10][enabled]
\_ 7:0:0:0 sdb 8:16  [active][ready]
\_ round-robin 0 [prio=50][active]
\_ 9:0:0:0 sdc 8:32  [active][ready]
&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/111210488718650985/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2009/11/linux-alua-multipath-with-emc-cx-4-120.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/111210488718650985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/111210488718650985'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2009/11/linux-alua-multipath-with-emc-cx-4-120.html' title='Linux ALUA Multipath with EMC CX 4-120'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2400717748707505955.post-6896220212623392486</id><published>2009-11-11T04:53:00.000-08:00</published><updated>2009-11-11T05:43:51.871-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="blkid"/><category scheme="http://www.blogger.com/atom/ns#" term="label"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mount"/><category scheme="http://www.blogger.com/atom/ns#" term="multipath"/><category scheme="http://www.blogger.com/atom/ns#" term="redhat"/><title type='text'>Issue when mounting multipath device with label</title><content type='html'>&lt;span style=&quot;font-family:arial;&quot;&gt;I got this issue yesterday, trying to mount a multipath device using label:&lt;/span&gt;&lt;div style=&quot;font-family: arial;&quot; class=&quot;post-content&quot;&gt;   &lt;pre style=&quot;font-family: courier new;&quot;&gt;mount LABEL=ACME /mnt/acme&lt;br /&gt;mount: /dev/sdc5 already mounted or /mnt/acme busy&lt;/pre&gt;   &lt;p&gt;&lt;em&gt;strace&lt;/em&gt; and &lt;strong&gt;Google&lt;/strong&gt; help me to solve this issue:&lt;br /&gt;&lt;/p&gt;   &lt;p&gt;There&#39;s a cache file &lt;em&gt;/etc/blkid/blkid.tab&lt;/em&gt; where information about block devices (labels, uuid) are stored. To solve/avoid this issue, just refresh this cache file:&lt;br /&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;remove/backup the file&lt;/li&gt;&lt;li&gt;regenerate it by running &lt;em&gt;blkid&lt;/em&gt; command&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;&lt;br /&gt;Doing so, label will be found/used on multipath device first when mounting from label.&lt;/p&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://cloudworker.blogspot.com/feeds/6896220212623392486/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://cloudworker.blogspot.com/2009/11/issue-when-mounting-multipath-device.html#comment-form' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/6896220212623392486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2400717748707505955/posts/default/6896220212623392486'/><link rel='alternate' type='text/html' href='http://cloudworker.blogspot.com/2009/11/issue-when-mounting-multipath-device.html' title='Issue when mounting multipath device with label'/><author><name>Tempo</name><uri>http://www.blogger.com/profile/09247314121897846299</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>