{"id":1966,"date":"2015-12-31T04:47:23","date_gmt":"2015-12-30T19:47:23","guid":{"rendered":"https:\/\/hack.gpl.jp\/?p=1966"},"modified":"2015-12-31T04:47:23","modified_gmt":"2015-12-30T19:47:23","slug":"post-1966","status":"publish","type":"post","link":"https:\/\/hack.gpl.jp\/2015\/12\/31\/post-1966.html","title":{"rendered":"Sigrok \u306e Pulsview 0.3.0 \u52d5\u304d\u307e\u3057\u305f"},"content":{"rendered":"

\u3068\u308a\u3042\u3048\u305a\u3001\u306a\u3093\u3068\u304b\u52d5\u304b\u3057\u305f\u3044\u306e\u3067\u30bd\u30fc\u30b9\u3092\u30b3\u30fc\u30c9\u3082\u898b\u307e\u3057\u305f\u304c\u3001\u7279\u306b\u554f\u984c\u3068\u306a\u308a\u305d\u3046\u306a\u90e8\u5206\u3082\u306a\u304f\u3001\u3061\u3087\u3063\u3068\u5834\u3092\u96e2\u308c\u3066\u304b\u3089\u3001brew\u7248\u306e\u3092\u30b5\u30a4\u30c9\u5165\u308c\u3066\u307f\u308b\u3053\u3068\u306b\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n

\u306a\u3093\u3068\u304b\u3001\u4eca\u5e74\u4e2d\u306b\u51fa\u6765\u305f\u306e\u3067\u3059\u3063\u304d\u308a\u3002<\/p>\n

 <\/p>\n

0.3.0-git-5d73886 \u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30c8\u30ea\u30ac\u30fc\u304c\u8a2d\u5b9a\u3067\u304d\u3066\u697d\u306b\u306a\u308a\u307e\u3057\u305f\u3002Run\u3092\u62bc\u305b\u3070\u30c8\u30ea\u30ac\u30fc\u304c\u3067\u308b\u307e\u3067\u3001stop \u3057\u3066\u63a1\u53d6\u3055\u308c\u307e\u3059\u3002\u30b5\u30f3\u30d7\u30eb\u6570\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u3051\u3070\u3001\u63a1\u53d6\u3055\u308c\u3066\u505c\u6b62\u3057\u307e\u3059\u3002\u30ed\u30b8\u30c3\u30af\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u3068\u3057\u3066\u306f\u57fa\u672c\u6a5f\u80fd\u3060\u3068\u601d\u3044\u307e\u3059\u304c\u3001\u624b\u6301\u3061\u306e\u30cf\u30fc\u30c9\u3067\u306a\u3093\u3068\u304b\u52d5\u3044\u3066\u3088\u304b\u3063\u305f\u3067\u3059\u3002<\/p>\n

\"\uff17\" <\/p>\n

\u62e1\u5927\u3059\u308b\u3068\u3001500ns \u3068\u304b\u53d6\u308c\u3066\u3044\u307e\u3059\u30021us \u5358\u4f4d\u304f\u3089\u3044\u307e\u3067\u306f\u898b\u308c\u305d\u3046\u3068\u3044\u3046\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n

\"\uff18\" <\/p>\n

\u30b5\u30f3\u30d7\u30eb\u30ec\u30fc\u30c8\u306f\u30012MHz \u4ee5\u4e0a\u3042\u3052\u308b\u3068\u3069\u3046\u3057\u3066\u3082\u63a1\u53d6\u5f8c\u306b\u30af\u30eb\u30af\u30eb\u56de\u3063\u3066\u3001\u64cd\u4f5c\u3092\u53d7\u3051\u4ed8\u3051\u306a\u3044\u30b9\u30bf\u30c3\u30af\u72b6\u614b\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308a\u307e\u3059\u3002\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u7248\u3067\u30c9\u30e9\u30a4\u30d0\u3092\u6307\u5b9a\u3057\u3066\u307f\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n

$ sigrok-cli --show --driver fx2lafw\nDriver functions:\n    Logic analyzer\nScan options:\n    conn\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nsr: fx2lafw: Failed to get manufacturer string descriptor: LIBUSB_ERROR_OTHER.\nfx2lafw:conn=28.2 - Saleae Logic with 8 channels: 0 1 2 3 4 5 6 7\nSupported configuration options:\n    continuous: \n    limit_samples: 0 (current)\n    conn: 28.2 (current)\n    samplerate - supported samplerates:\n      20 kHz\n      25 kHz\n      50 kHz\n      100 kHz\n      200 kHz\n      250 kHz\n      500 kHz\n      1 MHz\n      2 MHz\n      3 MHz\n      4 MHz\n      6 MHz\n      8 MHz\n      12 MHz\n      16 MHz\n      24 MHz\n    Supported triggers: 0 1 r f e \n    captureratio: 0 (current)<\/pre>\n

\u3053\u3053\u306b\u51fa\u3066\u3044\u308b\u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u5468\u6ce2\u6570\u306f\u63a1\u53d6\u3067\u304d\u308b\u306f\u305a\u306a\u3093\u3067\u3059\u304c\u3001\u306a\u305c\u304b2MHz \u307e\u3067\u3057\u304b\u3068\u308c\u307e\u305b\u3093\u3002<\/p>\n

\u307e\u3041\u3001\u6700\u521d\u306e\u4e00\u53f0\u3067\u3059\u3057\u3001\u3053\u308c\u3067\u52c9\u5f37\u3055\u305b\u3066\u3082\u3089\u3063\u3066\u3001\u7269\u8db3\u308a\u306a\u3051\u308c\u3070\u307e\u305f\u8003\u3048\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n

 <\/p>\n

automator \u3067\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3082\u306e\u3092\u4f5c\u308a\u3001\u30a2\u30a4\u30b3\u30f3\u3092\u3064\u3051\u3066\u3001app \u5316\u3057\u307e\u3059\u3002<\/p>\n

\"6\" <\/p>\n

python \u306e\u74b0\u5883\u5909\u6570\u3092\u4e00\u5ea6 unset \u3057\u3066\u6d88\u53bb\u3057\u3066\u3001python3.4 \u3068\u304b3.x \u306e\u3092\u30bb\u30c3\u30c8\u3057\u3066\u30a2\u30d7\u30ea\u3092\u30d0\u30c3\u30af\u30b0\u30e9\u30f3\u30c9\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/p>\n

unset PYTHONPATH\nexport PYTHONPATH="\/usr\/local\/lib\/python3.4\/site-packages\/:$PYTHONPATH"\n\n\/usr\/local\/Cellar\/pulseview\/HEAD\/bin\/pulseview >\/dev\/null 2>&1 &<\/pre>\n

 <\/p>\n

\u914d\u5e03\u7528\u306b\u3059\u308b\u306b\u306f\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d1\u30b9\u3092\u5168\u90e8\u66f8\u304d\u63db\u3048\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u3067\u3001\u3084\u3081\u307e\u3057\u305f\u3002\u3053\u306e\u3042\u305f\u308a\u306e\u30b9\u30ad\u30eb\u306f\u3001\u3082\u3046\u5c11\u3057\u52c9\u5f37\u3057\u306a\u3044\u3068\u5d4c\u308a\u305d\u3046\u3067\u3059\u3002<\/p>\n

\"5\" <\/p>\n

brew \u7248\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3001wiki \u306b\u66f8\u3044\u3066\u3042\u308b\u3068\u304a\u308a\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u3067\u3059\u3002<\/p>\n

\n

https:\/\/sigrok.org\/wiki\/Mac_OS_X<\/a><\/p>\n

$ brew tap rene-dev\/sigrok
\n
$ brew install python3<\/p>\n

$ brew install –HEAD libserialport<\/p>\n

$ brew install –HEAD –with-libserialport libsigrok<\/p>\n

$ brew install –HEAD libsigrokdecode<\/p>\n

$ brew install –HEAD –with-libserialport sigrok-cli<\/p>\n

$ brew install –HEAD pulseview<\/p>\n<\/blockquote>\n

\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u306f\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u30d3\u30eb\u30c9\u3057\u3066\u30bd\u30fc\u30b9\u304b\u3089\u5165\u308c\u305f\u3082\u306e\u306f\u4e00\u5ea6\u3001\u7dba\u9e97\u306b\u6d88\u3057\u3066\u3001brew docter \u3067\u554f\u984c\u3092\u30af\u30ea\u30a2\u306b\u3057\u3066\u304b\u3089\u3084\u308b\u3053\u3068\u3068\u3001\u4ee5\u4e0b\u306e libsigrokdecode \u304c\uff12\u3064\u51fa\u3066\u304f\u308b\u306e\u3067brew \u306e\u3092\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u304f\u3089\u3044\u3067\u3059\u3002<\/p>\n

$ brew install –HEAD libsigrokdecode
\n
Error: Formulae found in multiple taps: <\/p>\n

* homebrew\/science\/libsigrokdecode<\/p>\n

* rene-dev\/sigrok\/libsigrokdecode<\/p>\n

 <\/p>\n

$ brew untap homebrew\/science<\/p>\n

$ brew tap \u2013repair<\/p>\n

$ brew update<\/p>\n

 <\/p>\n

\u3042\u3068\u3001\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u306e\u683c\u7d0d\u5834\u6240\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067<\/p>\n

\/usr\/local\/share\/sigrok-firmware<\/p>\n

\u306b\u306a\u308b\u306e\u3067\u3001\u3053\u3053\u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u6700\u65b0\u306e\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u3092\u5165\u308c\u3066\u304a\u304d\u307e\u3059\u3002\u3053\u308c\u3067\u6700\u521d\u306e\u30c7\u30d0\u30a4\u30b9\u3092\u898b\u3064\u3051\u3066\u30d5\u30a1\u30fc\u30e0\u304c\u306a\u304f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u306e\u3092\u8fc2\u56de\u3067\u304d\u307e\u3059\u3002\u30a8\u30e9\u30fc\u3067\u3082\u3001\u843d\u3061\u306f\u3057\u307e\u305b\u3093\u304c\u3002\u524d\u56de\u843d\u3061\u305f\u306e\u306f\u5225\u306e\u539f\u56e0\u3067\u3001QT \u95a2\u9023\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u30d1\u30b9\u304c\u66f8\u304d\u63db\u308f\u3063\u3066\u3044\u306a\u3044\u306e\u304c\u539f\u56e0\u3067\u3057\u305f\u3002ltool \u3067\u898b\u308b\u3068\u3001\/usr \u914d\u4e0b\u3068\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u3002\u305d\u306e\u307b\u304b\u306e\u539f\u56e0\u3082\u3042\u3063\u305f\u3068\u306f\u601d\u3044\u307e\u3059\u304c\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u306e\u4f9d\u5b58\u95a2\u4fc2\u3067\u304a\u305d\u3089\u304f\u306f\u3001brew \u7248\u306e\u3092\u898b\u306b\u884c\u3063\u3066\u3044\u305f\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u307e\u3041\u3001\u8a73\u7d30\u306f\u4e0d\u660e\u3067\u3059\u3002<\/p>\n

 <\/p>\n

\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u306f\u52d5\u3044\u3066\u3088\u304b\u3063\u305f\u3067\u3059\u3002\u30c8\u30ea\u30ac\u30fc\u3082\u304b\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3057\u3001\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u306f\u5c11\u3057\u3088\u304f\u306a\u3063\u305f\u611f\u3058\u3002\u30dc\u30bf\u30f3\u306e\u914d\u7f6e\u3068\u304b\u3002<\/p>\n

 <\/p>\n

\u25bc\u307e\u3068\u3081<\/p>\n

\u30fbEZ-USB FX2LP CY7C68013A \u3067\u3001sigrok \u306e pulsview \u306f\u52d5\u4f5c<\/p>\n

\u30fb\u3053\u306e\u30cf\u30fc\u30c9\u306f\u5b9f\u8cea6\u30c9\u30eb\u304f\u3089\u3044\u306a\u306e\u3067\u3001\u30ed\u30b8\u30c3\u30af\u30a2\u30ca\u30e9\u30a4\u30b6\u30fc\u3068\u3057\u3066\u6700\u521d\u306e\u4e00\u53f0\u3067\u904a\u3076\u306b\u306f\u5341\u5206<\/p>\n

\u30fb0.3.0-git-f3697d3 \u306f\u52d5\u4f5c\u3057\u305f<\/p>\n

\u30fb\u30c8\u30ea\u30ac\u30fc\u304c\u304b\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u306a\u3063\u305f<\/p>\n

\u30fb\u5c11\u3057\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30a4\u30b9\u304c\u3088\u304f\u306a\u3063\u305f<\/p>\n

\u30fb2Mhz \u30b5\u30f3\u30d7\u30ea\u30f3\u30b0\u307e\u3067\u306f\u51fa\u6765\u308b\u3053\u3068\u3092\u78ba\u8a8d<\/p>\n

\u30fb\uff11\u30c1\u30e3\u30f3\u30cd\u30eb\u63a1\u53d6\u3067500ns \u306f\u63a1\u53d6\u3067\u304d\u305f\u30021us \u304f\u3089\u3044\u304c\u7cbe\u5ea6\u304b\uff1f<\/p>\n

\u30fb8\u30c1\u30e3\u30f3\u30cd\u30eb\u540c\u6642\u63a1\u53d6\u306f\u307e\u3060\u3084\u3063\u3066\u3044\u306a\u3044<\/p>\n

\u30fb\u30d5\u30a1\u30fc\u30e0\u30a6\u30a7\u30a2\u683c\u7d0d\u5834\u6240\u306f\u3001\/usr\/local\/share\/sigrok-firmware<\/p>\n

\u30fbbrew \u7248\u3067 HEAD \u3067\u5165\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u6642\u671f\u306b\u3088\u3063\u3066\u306f\u52d5\u4f5c\u3057\u306a\u3044\u5834\u5408\u3082\u3042\u308b\u304b\u3082<\/p>\n

\u30fb\u914d\u5e03\u7528\u306b\u3001\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u66f8\u304d\u63db\u3048\u308b\u306e\u306f\u3069\u3046\u3059\u308c\u3070\u697d\u306b\u306a\u308b\u306e\u304b\uff1f\u8981\u7814\u7a76<\/p>\n","protected":false},"excerpt":{"rendered":"

\u3068\u308a\u3042\u3048\u305a\u3001\u306a\u3093\u3068\u304b\u52d5\u304b\u3057\u305f\u3044\u306e\u3067\u30bd\u30fc\u30b9\u3092\u30b3\u30fc\u30c9\u3082\u898b\u307e\u3057\u305f\u304c\u3001\u7279\u306b\u554f\u984c\u3068\u306a\u308a\u305d\u3046\u306a\u90e8\u5206\u3082\u306a\u304f\u3001\u3061\u3087\u3063\u3068\u5834\u3092\u96e2\u308c\u3066\u304b\u3089\u3001brew\u7248\u306e\u3092\u30b5\u30a4\u30c9\u5165\u308c\u3066\u307f\u308b\u3053\u3068\u306b\u3002\u3068\u308a\u3042\u3048\u305a\u3001\u52d5\u4f5c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002 \u306a\u3093\u3068\u304b\u3001\u4eca\u5e74\u4e2d\u306b\u51fa\u6765 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","footnotes":""},"categories":[6,17,62,68],"tags":[],"acf":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"post-thumbnail":false},"uagb_author_info":{"display_name":"JunkHack","author_link":"https:\/\/hack.gpl.jp\/author\/junkhack\/"},"uagb_comment_info":0,"uagb_excerpt":"\u3068\u308a\u3042\u3048\u305a\u3001\u306a\u3093\u3068\u304b\u52d5\u304b\u3057\u305f\u3044\u306e\u3067\u30bd\u30fc\u30b9\u3092\u30b3\u30fc\u30c9\u3082\u898b\u307e\u3057\u305f\u304c\u3001\u7279\u306b\u554f\u984c\u3068\u306a\u308a\u305d\u3046\u306a\u90e8\u5206\u3082\u306a\u304f\u3001\u3061\u3087\u3063\u3068\u5834\u3092\u96e2\u308c…","_links":{"self":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/1966"}],"collection":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/comments?post=1966"}],"version-history":[{"count":0,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/posts\/1966\/revisions"}],"wp:attachment":[{"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/media?parent=1966"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/categories?post=1966"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hack.gpl.jp\/wp-json\/wp\/v2\/tags?post=1966"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}