{"id":361,"date":"2020-04-06T11:20:47","date_gmt":"2020-04-06T09:20:47","guid":{"rendered":"https:\/\/silviamarin.ro\/?p=361"},"modified":"2020-04-06T11:20:47","modified_gmt":"2020-04-06T09:20:47","slug":"instalare-firmware-cc2531-sniffer","status":"publish","type":"post","link":"https:\/\/marinelvis.xyz\/index.php\/2020\/04\/06\/instalare-firmware-cc2531-sniffer\/","title":{"rendered":"INSTALARE FIRMWARE CC2531 SNIFFER"},"content":{"rendered":"<p>Pe RaspberryPi se instaleaza <em>dh-autoreconf, libusb-1.0, libboost-all-dev<\/em>:<\/p>\n<pre>apt install dh-autoreconf libusb-1.0 libboost-all-dev -y<\/pre>\n<p>Se instaleaza <em>cc-tool<\/em>:<\/p>\n<pre>git clone https:\/\/github.com\/dashesy\/cc-tool.git\ncd cc-tool\n.\/bootstrap\n.\/configure\nmake<\/pre>\n<p>Se monteaza CC Debugger -&gt; cablu mare -&gt; Downloader -&gt; cablu mic -&gt; CC2531<br \/>\nSniffer-ul CC2531 \u015fi CC Debugger-ul se conecteaza la USB. Led-ul CC Debugger-ului trebuie sa fie verde.<br \/>\nSe descarca firmware-ul \u00a0<a href=\"https:\/\/github.com\/Koenkk\/Z-Stack-firmware\/raw\/master\/coordinator\/Z-Stack_Home_1.2\/bin\/default\/CC2531_DEFAULT_20190608.zip\">CC2531_DEFAULT_20190608.zip<\/a> \u015fi se dezarhiveaza. Din folderul unde s-a dezarhivat se instaleaza firmware-ul:<\/p>\n<pre>sudo .\/cc-tool -e -w CC2531ZNP-Prod.hex<\/pre>\n<p>Sniffer-ul CC2531 se localizeaza \u00een general la <em>\/dev\/ttyACM0<\/em>. Se verifica locatia:<\/p>\n<pre>ls -l \/dev\/ttyACM0<\/pre>\n<p>Rezultatul este de forma:<\/p>\n<blockquote><p><em>crw-rw&#8211;- 1 root dialout 166, 0 May 16 19:15 \/dev\/ttyACM0\u00a0 # &lt;&#8211; CC2531 on \/dev\/ttyACM0<\/em><\/p><\/blockquote>\n<p>Ca alternativa, se poate lista dup\u0103 ID:<\/p>\n<pre>ls -l \/dev\/serial\/by-id<\/pre>\n<p>Rezultatul este de forma:<\/p>\n<blockquote><p><em>lrwxrwxrwx. 1 root root 13 Oct 19 19:26 usb-Texas_Instruments_TI_CC2531_USB_CDC___0X00124B0018ED3DDF-if00 -&gt; ..\/..\/ttyACM0<\/em><\/p><\/blockquote>\n<p>Se adauga userul logat la grupul <em>dialout<\/em>:<\/p>\n<pre>sudo adduser $USER dialout<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Pe RaspberryPi se instaleaza dh-autoreconf, libusb-1.0, libboost-all-dev: apt install dh-autoreconf libusb-1.0 libboost-all-dev -y Se instaleaza cc-tool: git clone https:\/\/github.com\/dashesy\/cc-tool.git cd cc-tool .\/bootstrap .\/configure make Se monteaza CC Debugger -&gt; cablu mare -&gt; Downloader -&gt; cablu mic -&gt; CC2531 Sniffer-ul CC2531 \u015fi CC Debugger-ul se conecteaza la USB. Led-ul CC Debugger-ului trebuie sa fie verde. Se [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-361","post","type-post","status-publish","format-standard","hentry","category-fara-categorie"],"_links":{"self":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/361","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/comments?post=361"}],"version-history":[{"count":0,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/posts\/361\/revisions"}],"wp:attachment":[{"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/media?parent=361"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/categories?post=361"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/marinelvis.xyz\/index.php\/wp-json\/wp\/v2\/tags?post=361"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}