{"id":102,"date":"2013-02-02T00:59:55","date_gmt":"2013-02-02T07:59:55","guid":{"rendered":"http:\/\/www.mjblythe.com\/hacks\/?p=102"},"modified":"2021-12-22T00:01:01","modified_gmt":"2021-12-22T07:01:01","slug":"i-know-usb","status":"publish","type":"post","link":"http:\/\/www.mjblythe.com\/hacks\/2013\/02\/i-know-usb\/","title":{"rendered":"I know USB"},"content":{"rendered":"<p>I&#8217;ve been trying to get my STM32F3 Discovery board to register as a Virtual COM Port (i.e. RS232 serial over USB) when I plug it in via the &#8220;USB User&#8221; port.\u00a0 I had a false start trying to use the code for the F4 Discovery from <a href=\"https:\/\/www.das-labor.org\/trac\/browser\/microcontroller\/src-stm32f4xx\/serialUSB\">here<\/a>&#8230;Apparently, the USB hardware is too different between the 2 boards.<\/p>\n<p>However, I did manage to get the example USB joystick\/mouse code from the <a href=\"http:\/\/www.st.com\/internet\/com\/SOFTWARE_RESOURCES\/SW_COMPONENT\/FIRMWARE\/stm32f3discovery_fw.zip\">F3 Discovery firmware<\/a> package from <a href=\"http:\/\/www.st.com\/internet\/evalboard\/product\/254044.jsp\">the ST website<\/a> to run.\u00a0 It is pretty neat&#8230;tilt the board one way or another, and the cursor moves!<\/p>\n<p>That code, along with <a href=\"http:\/\/www.beyondlogic.org\/usbnutshell\/usb1.shtml\">this &#8220;USB in a NutShell&#8221; guide<\/a>, and this<a href=\"http:\/\/www.lvr.com\/usb_virtual_com_port.htm\"> description of the USB CDC Virtual COM Port<\/a> should give me enough info to implement what I want.\u00a0 After reading through &#8220;USB in a NutShell&#8221;, I feel like <a href=\"http:\/\/qkme.me\/3stn4u\">this meme is appropriate&#8230;<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been trying to get my STM32F3 Discovery board to register as a Virtual COM Port (i.e. RS232 serial over USB) when I plug it in via the &#8220;USB User&#8221; port.\u00a0 I had a false start trying to use the code for the F4 Discovery from here&#8230;Apparently, the USB hardware is too different between the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-f3-discovery"],"_links":{"self":[{"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":5,"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"predecessor-version":[{"id":187,"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/posts\/102\/revisions\/187"}],"wp:attachment":[{"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mjblythe.com\/hacks\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}