{"id":1595,"date":"2023-05-13T10:36:10","date_gmt":"2023-05-13T01:36:10","guid":{"rendered":"https:\/\/mowareblog.net\/3rd\/?p=1595"},"modified":"2023-05-22T14:12:46","modified_gmt":"2023-05-22T05:12:46","slug":"usb%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e5%a4%89%e6%8f%9bic-ft231x%e3%82%92%e3%83%9e%e3%82%a4%e3%82%b3%e3%83%b3%e3%83%a9%e3%82%a4%e3%82%bf%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8-2","status":"publish","type":"post","link":"https:\/\/mowareblog.net\/3rd\/2023\/05\/1595\/usb%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e5%a4%89%e6%8f%9bic-ft231x%e3%82%92%e3%83%9e%e3%82%a4%e3%82%b3%e3%83%b3%e3%83%a9%e3%82%a4%e3%82%bf%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8-2\/","title":{"rendered":"USB\u30b7\u30ea\u30a2\u30eb\u5909\u63dbIC\u306e\u30de\u30a4\u30b3\u30f3\u30e9\u30a4\u30bf\u30fc\u3068\u3057\u3066\u306e\u4f7f\u7528\u53ef\u5426\u691c\u8a3c \u305d\u306e\uff12 FT232RL, FT231X, avrdude\u30b3\u30de\u30f3\u30c9"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">[MacOS Ventura 13.3.1, Windows11]<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u524d\u56de\u306e\u7d9a\u304d\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">5.FT232RL USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30e2\u30b8\u30e5\u30fc\u30eb\u3001AVR\u30de\u30a4\u30b3\u30f3\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u3042\u308b\u7a0b\u5ea6\u7406\u89e3\u3067\u304d\u308b\u77e5\u8b58\u3001avrdude\u30b3\u30de\u30f3\u30c9\u306b\u95a2\u3059\u308b\u77e5\u8b58\u304c\u3042\u308c\u3070\u3001\u5b89\u4fa1\u3067\u30de\u30a4\u30b3\u30f3\u3078\u306e\u66f8\u304d\u8fbc\u307f\u304c\u53ef\u80fd\u3002avrdude-GUI\u306e\u3088\u3046\u306a\u30a2\u30d7\u30ea\u3092\u4f7f\u308f\u305a\u3068\u3082\u3001Windows\u3084MacOS\u3067\u81ea\u5728\u306b\u66f8\u304d\u8fbc\u307f\u304c\u3067\u304d\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">6.avrdude\u95a2\u9023\u30b3\u30de\u30f3\u30c9\u4f8b (ATtiny13A)<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-lang=\"Bash\"><code># Mac\u306b\u3064\u306a\u3044\u3060FT232RL\u306e\u30dd\u30fc\u30c8\u3092\u8abf\u3079\u308b\nls -l \/dev\/tty.*\n# \u51fa\u529b\u4f8b\ncrw-rw-rw-  1 root  wheel  0x9000004  5 13 19:11 \/dev\/tty.Bluetooth-Incoming-Port\ncrw-rw-rw-  1 root  wheel  0x9000002  5 13 19:11 \/dev\/tty.usbserial-DJ004ULY\ncrw-rw-rw-  1 root  wheel  0x9000000  5 13 19:11 \/dev\/tty.wlan-debug\n\n# \u63a5\u7d9a\u78ba\u8a8d\n# Windows\navrdude -n -p attiny13a -C avrdude.conf -c ft232r -P \u30dd\u30fc\u30c8\u756a\u53f7(COM3\u306a\u3069)\n# MacOS\navrdude -n -p attiny13a -C \/opt\/homebrew\/etc\/avrdude.conf -c ft232r -P \/dev\/tty.usbserial-DJ004ULY\n\n# hex\u30d5\u30a1\u30a4\u30eb\u66f8\u304d\u8fbc\u307f\navrdude -p attiny13a -c ft232r -P \/dev\/tty.usbserial-DJ004ULY -U flash:w:main.hex:i -B 4800\n\n# FUSE\u5909\u66f4\navrdude -p attiny13a -c ft232r -P \/dev\/tty.usbserial-DJ004ULY -U lfuse:w:0b01111010:m -U hfuse:w:0b11111111:m -B 4800<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">7.avrdude.conf \u8a2d\u5b9a\u4f8b<br>\/opt\/homebrew\/etc\/avrdude.conf<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-file=\"avrdude.conf\u8ffd\u8a18\" data-lang=\"Bash\"><code>programmer\n    id    = &quot;ft232r&quot;;\n    desc  = &quot;FT232R Synchronous BitBang&quot;;\n    type  = &quot;ftdi_syncbb&quot;;\n    connection_type = usb;\n    miso  = 3;  # CTS X3(1)\n    sck   = 5;  # DSR X3(2)\n    mosi  = 6;  # DCD X3(3)\n    reset = 7;  # RI  X3(4)\n;<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">8.FTDI BitBang AVR-Writer(Windows\u7528)\u3092FT231X\u3067\u7d44\u3093\u3067\u307f\u305f\u304c\u30a8\u30e9\u30fc\u767a\u751f\u3002\u5143\u8a18\u4e8b\u3067\u306fFT232RL\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u3002<br>https:\/\/make.kosakalab.com\/arduino\/avr-writer\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">9.FT231X\u306f\u7c21\u6613\u6a5f\u80fd\u7248\u306e\u305f\u3081\u30de\u30a4\u30b3\u30f3\u30e9\u30a4\u30bf\u30fc\u3068\u3057\u3066\u306f\u4f7f\u3048\u306a\u3044\u3053\u3068\u304c\u5224\u660e\u3002FT232RL\u306eBitBang\u30e2\u30fc\u30c9\u3092\u4f7f\u3048\u3070\u30de\u30a4\u30b3\u30f3\u30e9\u30a4\u30bf\u30fc\u3068\u306a\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-medium-pink-color\">2023\/5\/22\u8ffd\u8a18\uff1a\u5f8c\u65e5avrdude-GUI(Windows\u7248\u306e\u307f)\u3092\u4f7f\u3063\u3066FT231X\u3067\u66f8\u304d\u8fbc\u307f\u3067\u304d\u305f\u3002\u95a2\u9023\u8a18\u4e8b\u53c2\u7167\u3002<\/mark><\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism undefined-numbers lang-bash\" data-file=\"FT231X\u66f8\u304d\u8fbc\u307f\u6642\u30a8\u30e9\u30fc\" data-lang=\"Bash\"><code>$ avrdude -c ft231x -p attiny13a -U flash:w:main.hex:i -P \/dev\/tty.usbserial-DJ004ULY\navrdude: MISO: Following pins are not valid pins for this function: 8\n         Pin assignment  : 0..7 = DBUS0..7\n           VCC     =  (not used)\n           BUFF    =  (not used)\n           RESET   =  3\n           SCK     =  6\n           MOSI    =  7\n           MISO    =  8\n           ERR LED =  (not used)\n           RDY LED =  (not used)\n           PGM LED =  (not used)\n           VFY LED =  (not used)\navrdude: opening programmer &quot;ft231x&quot; on port &quot;\/dev\/tty.usbserial-DJ004ULY&quot; failed\n\navrdude done.  Thank you.<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">10.\u79cb\u6708\u96fb\u5b50\u304c\u8ca9\u58f2\u3057\u3066\u3044\u308bFT232RL USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30e2\u30b8\u30e5\u30fc\u30eb(1100\u5186)\u306fUSB\u30b3\u30cd\u30af\u30bf\u304cminiB\u306a\u306e\u3067\u8981\u6ce8\u610f\u3002\u4eca\u306fmicroB\u304c\u4e3b\u6d41\u306e\u305f\u3081\u6301\u3063\u3066\u3044\u306a\u3044\u65b9\u3082\u591a\u3044\u306e\u3067\u306f\u3002\u79c1\u306f\u643a\u5e2f\u96fb\u8a71\u95a2\u9023\u306e\u30b1\u30fc\u30d6\u30eb\u3092\u51e6\u5206\u3057\u305f\u969b\u306b\u4e00\u7dd2\u306b\u6368\u3066\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/mowareblog.net\/3rd\/wp-content\/uploads\/2023\/05\/230517_USB_miniB-1024x818.jpg\" alt=\"\" class=\"wp-image-1682\" width=\"256\" height=\"205\" srcset=\"https:\/\/mowareblog.net\/3rd\/wp-content\/uploads\/2023\/05\/230517_USB_miniB-1024x818.jpg 1024w, https:\/\/mowareblog.net\/3rd\/wp-content\/uploads\/2023\/05\/230517_USB_miniB-300x240.jpg 300w, https:\/\/mowareblog.net\/3rd\/wp-content\/uploads\/2023\/05\/230517_USB_miniB-768x614.jpg 768w, https:\/\/mowareblog.net\/3rd\/wp-content\/uploads\/2023\/05\/230517_USB_miniB-1536x1227.jpg 1536w, https:\/\/mowareblog.net\/3rd\/wp-content\/uploads\/2023\/05\/230517_USB_miniB-2048x1636.jpg 2048w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><figcaption class=\"wp-element-caption\">USB miniB<\/figcaption><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[MacOS Ventura 13.3.1, Windows11] \u524d\u56de\u306e\u7d9a\u304d\u3002 5.FT232RL USB\u30b7\u30ea\u30a2\u30eb\u5909\u63db\u30e2\u30b8\u30e5\u30fc\u30eb\u3001AVR\u30de\u30a4\u30b3\u30f3\u306e\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u3042\u308b\u7a0b\u5ea6\u7406\u89e3\u3067\u304d\u308b\u77e5\u8b58\u3001avrdude\u30b3\u30de\u30f3\u30c9\u306b\u95a2\u3059\u308b\u77e5\u8b58 &hellip; <a href=\"https:\/\/mowareblog.net\/3rd\/2023\/05\/1595\/usb%e3%82%b7%e3%83%aa%e3%82%a2%e3%83%ab%e5%a4%89%e6%8f%9bic-ft231x%e3%82%92%e3%83%9e%e3%82%a4%e3%82%b3%e3%83%b3%e3%83%a9%e3%82%a4%e3%82%bf%e3%83%bc%e3%81%a8%e3%81%97%e3%81%a6%e4%bd%bf%e7%94%a8-2\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">USB\u30b7\u30ea\u30a2\u30eb\u5909\u63dbIC\u306e\u30de\u30a4\u30b3\u30f3\u30e9\u30a4\u30bf\u30fc\u3068\u3057\u3066\u306e\u4f7f\u7528\u53ef\u5426\u691c\u8a3c \u305d\u306e\uff12 FT232RL, FT231X, avrdude\u30b3\u30de\u30f3\u30c9<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1595","post","type-post","status-publish","format-standard","hentry","category-10"],"_links":{"self":[{"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/posts\/1595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/comments?post=1595"}],"version-history":[{"count":48,"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/posts\/1595\/revisions"}],"predecessor-version":[{"id":1716,"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/posts\/1595\/revisions\/1716"}],"wp:attachment":[{"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/media?parent=1595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/categories?post=1595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mowareblog.net\/3rd\/wp-json\/wp\/v2\/tags?post=1595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}