{"id":6370,"date":"2020-11-28T19:03:24","date_gmt":"2020-11-28T10:03:24","guid":{"rendered":"http:\/\/www.nkozawa.com\/blog\/?p=6370"},"modified":"2020-11-28T19:03:24","modified_gmt":"2020-11-28T10:03:24","slug":"betaflight-dump-diff%e3%81%ae%e8%aa%ad%e3%81%bf%e6%96%b9serial%e7%b7%a8","status":"publish","type":"post","link":"https:\/\/www.nkozawa.com\/blog\/archives\/6370","title":{"rendered":"Betaflight Dump\/Diff\u306e\u8aad\u307f\u65b9Serial\u7de8"},"content":{"rendered":"<p>\u6a5f\u4f53\u306e\u8a2d\u5b9a\u3092Dump\/Diff\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u89e3\u304d\u305f\u3044\u3053\u3068\u304c\u307e\u308c\u306b\u3042\u308a\u307e\u3059\u3002\u5927\u90e8\u5206\u306f\u610f\u5473\u306e\u3042\u308b\u6587\u5b57\u5217\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3057\u3001\u53d7\u4fe1\u6a5f\u306e\u7a2e\u985e\u306a\u3069\u306f\u8a18\u61b6\u3057\u3066\u3044\u305f\u308a\u3059\u308b\u306e\u3067\u826f\u3044\u306e\u3067\u3059\u304cConfigurator\u306ePort\u30da\u30fc\u30b8\u306e\u30c7\u30fc\u30bf\u304c\u66f2\u8005\u3067\u3059\u3002\u3069\u306eUART\u304c\u53d7\u4fe1\u6a5f\u3060\u3063\u305f\u3068\u304b\u3001VTX\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u304cIRC Tramp\u3060\u3063\u305f\u304bSmartAudio\u3060\u3063\u305f\u3068\u304b\u91cd\u8981\u306a\u9805\u76ee\u3067\u3059\u304c\u3001\u8a18\u61b6\u3059\u308b\u306e\u306f\u96e3\u3057\u3044\u3067\u3059\u3057Dump\/Diff\u30c7\u30fc\u30bf\u3082\u610f\u5473\u4e0d\u660e\u306e\u6570\u5b57\u3067\u3057\u304b\u3042\u308a\u307e\u305b\u3093\u3002\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3053\u308c\u306b\u3064\u3044\u3066\u8abf\u3079\u305f\u3053\u3068\u3092\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002\u30bf\u30a4\u30c8\u30eb\u306fSerial\u7de8\u3068\u3057\u3066\u7d9a\u304d\u304c\u3042\u308b\u3088\u3046\u306b\u898b\u3048\u307e\u3059\u304c\u3001\u6b21\u306b\u4f55\u304bDump\/Diff\u3067\u56f0\u3063\u305f\u3053\u3068\u304c\u898b\u3064\u304b\u3089\u306a\u3044\u9650\u308a\u66f8\u304f\u4e88\u5b9a\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p><a href=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/BetaflightPorts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-6371\" src=\"http:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/BetaflightPorts-300x198.png\" alt=\"\" width=\"300\" height=\"198\" srcset=\"https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/BetaflightPorts-300x198.png 300w, https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/BetaflightPorts-1024x676.png 1024w, https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/BetaflightPorts-768x507.png 768w, https:\/\/www.nkozawa.com\/blog\/wp-content\/uploads\/BetaflightPorts.png 1521w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u4e0a\u306f\u3068\u3042\u308b\u6a5f\u4f53\u306ePorts\u30bf\u30d6\u3067\u3059\u3002\u3053\u308c\u306b\u5bfe\u5fdc\u3059\u308bDump\u30c7\u30fc\u30bf\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n<code># serial<br \/>\nserial 20 1 115200 57600 0 115200<br \/>\nserial 0 8192 115200 57600 0 115200<br \/>\nserial 1 64 115200 57600 0 115200<\/code><\/p>\n<p>\u6700\u521d\u306eserial 20\u3067\u59cb\u307e\u308b\u884c\u306fdiff\u306e\u51fa\u529b\u306b\u306f\u73fe\u308c\u307e\u305b\u3093\u3002\u3053\u308c\u306fUSB VCP\u306b\u76f8\u5f53\u3059\u308b\u3068\u5bb9\u6613\u306b\u60f3\u50cf\u304c\u4ed8\u304d\u307e\u3059\u3002\u307e\u305fserial 0\u304cUART1\u3067serial 1\u3067\u3042\u308b\u3068\u3044\u3046\u306e\u3082\u307b\u307c\u78ba\u4fe1\u3092\u6301\u3063\u3066\u8a00\u3048\u308b\u3067\u3057\u3087\u3046\u3002\u305d\u308c\u306b\u7d9a\u304f\u6570\u5024\u3082Ports\u30bf\u30d6\u306e\u8a2d\u5b9a\u3092\u5909\u5316\u3055\u305b\u3066\u63a2\u3063\u3066\u3044\u3051\u3070\u81ea\u5206\u304c\u5fc5\u8981\u306a\u9805\u76ee\u306f\u62fe\u3044\u51fa\u305b\u308b\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u4eca\u3072\u3068\u3064\u30b9\u30de\u30fc\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3057\u78ba\u4fe1\u3092\u6301\u3063\u3066\u8a9e\u308b\u3053\u3068\u306f\u51fa\u6765\u307e\u305b\u3093\u3002<\/p>\n<p>\u6b63\u3057\u3044\u60c5\u5831\u3092\u5f97\u308b\u3079\u304f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u8aad\u3093\u3067\u63a2\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u7d50\u5c40\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u307e\u3068\u3081\u3066\u66f8\u304b\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3057\u305f\u3002\u3068\u3044\u3046\u3053\u3068\u3067<a href=\"https:\/\/github.com\/betaflight\/betaflight\/blob\/master\/docs\/Serial.md#serial\">betaflight\/docs\/Serial.md<\/a>\u3092\u8aad\u3093\u3067\u3044\u305f\u3060\u3051\u308c\u3070\u5168\u3066\u306f\u89e3\u660e\u3057\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u3060\u3051\u3067\u306f\u3064\u308c\u306a\u3044\u306e\u3067\u7c21\u5358\u306b\u8aac\u660e\u3092\u52a0\u3048\u3066\u304a\u304d\u307e\u3059\u3002serial\u306b\u7d9a\u304f\u6700\u521d\u306e\u6570\u5b57\u304c\u30dd\u30fc\u30c8\u3067UART\u756a\u53f7\u304b\u30891\u3092\u5f15\u3044\u305f\u3082\u306e\u3067\u3059\u3002\u307e\u305fUSB\u306f20\u3001softserial\u306f30\u304b\u3089\u59cb\u307e\u308a\u307e\u3059\u3002<br \/>\n\u305d\u306e\u6b21\u306e\u6570\u5b57\u304cFunction\u3067\u3001\u3053\u308c\u304c\u4eca\u56de\u77e5\u308a\u305f\u304b\u3063\u305f\u3082\u306e\u3067\u3059\u3002\u305d\u306e\u5f8c\u306b\u30dc\u30fc\u30ec\u30fc\u30c8(\u30b7\u30ea\u30a2\u30eb\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u901f\u5ea6)\u304c\u3044\u304f\u3064\u304b\u7d9a\u304d\u307e\u3059\u3002Ports\u753b\u9762\u306b\u306f\u901f\u5ea6\u306f\u3072\u3068\u3064\u3057\u304b\u8868\u793a\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u304c\u8b0e\u3067\u3059\u304c\u3001\u3068\u308a\u3042\u3048\u305a\u3042\u307e\u308a\u5909\u66f4\u3059\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u306e\u3067\u7f6e\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<p>Function\u306b\u3064\u3044\u3066\u306f\u6b21\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>2. <a href=\"https:\/\/github.com\/betaflight\/betaflight\/blob\/master\/docs\/Serial.md#2-serial-port-function\">Serial Port Function<\/a><\/h3>\n<table>\n<thead>\n<tr>\n<th>Function<\/th>\n<th>Value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>FUNCTION_NONE<\/td>\n<td>0<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_MSP<\/td>\n<td>1<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_GPS<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_TELEMETRY_FRSKY_HUB<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_TELEMETRY_HOTT<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_TELEMETRY_LTM<\/td>\n<td>16<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_TELEMETRY_SMARTPORT<\/td>\n<td>32<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_RX_SERIAL<\/td>\n<td>64<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_BLACKBOX<\/td>\n<td>128<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_TELEMETRY_MAVLINK<\/td>\n<td>512<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_ESC_SENSOR<\/td>\n<td>1024<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_VTX_SMARTAUDIO<\/td>\n<td>2048<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_TELEMETRY_IBUS<\/td>\n<td>4096<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_VTX_TRAMP<\/td>\n<td>8192<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_RCDEVICE<\/td>\n<td>16384<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_LIDAR_TF<\/td>\n<td>32768<\/td>\n<\/tr>\n<tr>\n<td>FUNCTION_FRSKY_OSD<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>IT\u5c4b\u3055\u3093\u306b\u306f\u304a\u306a\u3058\u307f\u306e\u6570\u5b57\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306f10\u9032\u6570\u3067\u3059\u304c\u3001\u30d0\u30a4\u30ca\u30ea\u30fc\u306b\u3059\u308b\u3068\u3072\u3068\u3064\u306e\u30d3\u30c3\u30c8\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3072\u3068\u3064\u306e\u30dd\u30fc\u30c8\u306b\u8907\u6570\u306eFunction\u3092\u3082\u305f\u305b\u308b\u3053\u3068\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002\u73fe\u5b9f\u6027\u306f\u7121\u8996\u3057\u3066\u4f8b\u3092\u4e0a\u3052\u308b\u3068UART1\u306bGPS\u3068FRSKY Telemetry\u306e\u6a5f\u80fd\u3092\u6301\u305f\u305b\u305f\u5834\u5408\u306f2+4\u30676\u306b\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>\u6700\u521d\u306b\u3042\u3052\u305f\u4f8b\u306b\u623b\u3063\u3066\u307f\u307e\u3059\u3002<\/p>\n<pre>serial 0 8192<\/pre>\n<p>\u306fUART1\u304cFUNCTION_VTX_TRAMP\u3001\u307e\u305f<\/p>\n<pre>serial 1 64<\/pre>\n<p>\u306fUART2\u304cFUNCTION_RX_SERIAL\u3067\u3042\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002\u3068\u3044\u3046\u3053\u3068\u3067Ports\u753b\u9762\u3068\u4e00\u81f4\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6a5f\u4f53\u306e\u8a2d\u5b9a\u3092Dump\/Diff\u306e\u30c6\u30ad\u30b9\u30c8\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u8aad\u307f\u89e3\u304d\u305f\u3044\u3053\u3068\u304c\u307e\u308c\u306b\u3042\u308a\u307e\u3059\u3002\u5927\u90e8\u5206\u306f\u610f\u5473\u306e\u3042\u308b\u6587\u5b57\u5217\u304c\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u3057\u3001\u53d7\u4fe1\u6a5f\u306e\u7a2e\u985e\u306a\u3069\u306f\u8a18\u61b6\u3057\u3066\u3044\u305f\u308a\u3059\u308b\u306e\u3067\u826f\u3044\u306e\u3067\u3059\u304cConfigurator\u306ePort\u30da\u30fc [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[38,1],"tags":[],"class_list":["post-6370","post","type-post","status-publish","format-standard","hentry","category-quadcopter","category-undefine"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/6370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/comments?post=6370"}],"version-history":[{"count":7,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/6370\/revisions"}],"predecessor-version":[{"id":6379,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/posts\/6370\/revisions\/6379"}],"wp:attachment":[{"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/media?parent=6370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/categories?post=6370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nkozawa.com\/blog\/wp-json\/wp\/v2\/tags?post=6370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}