{"id":900,"date":"2022-07-27T02:35:14","date_gmt":"2022-07-27T02:35:14","guid":{"rendered":"http:\/\/www.recologypower.com:9080\/?p=900"},"modified":"2022-07-27T02:35:15","modified_gmt":"2022-07-27T02:35:15","slug":"%e3%80%90nxp%e3%80%91nxpfreescale-qoriq-codewarrior-tap%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"http:\/\/www.recologypower.com:9080\/?p=900","title":{"rendered":"\u3010NXP\u3011NXP(Freescale) QorIQ CodeWarrior TAP\u4f7f\u7528"},"content":{"rendered":"\n<p>\u901a\u8baf\u65b9\u5f0f\u6709\u4e24\u79cd\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"593\" height=\"331\" src=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459.png\" alt=\"\" class=\"wp-image-901\" srcset=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459.png 593w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-300x167.png 300w\" sizes=\"(max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<p>\u4e00\u3001USB\u901a\u8baf<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u76f8\u5bf9\u7b80\u5355\uff0c\u4f46\u901f\u7387\u4f4e\u3002\u914d\u7f6e\u6d41\u7a0b\u5982\u4e0b\uff0c\u914d\u7f6e\u5b8c\u4fdd\u5b58\u5373\u53ef\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"602\" height=\"389\" src=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-1.png\" alt=\"\" class=\"wp-image-902\" srcset=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-1.png 602w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-1-300x194.png 300w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-1-600x388.png 600w\" sizes=\"(max-width: 602px) 100vw, 602px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"871\" height=\"512\" src=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-2.png\" alt=\"\" class=\"wp-image-903\" srcset=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-2.png 871w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-2-300x176.png 300w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-2-768x451.png 768w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/\u5fae\u4fe1\u622a\u56fe_20220727101459-2-600x353.png 600w\" sizes=\"(max-width: 871px) 100vw, 871px\" \/><\/figure>\n\n\n\n<p>\u4e8c\u3001\u7f51\u53e3\u901a\u8baf<\/p>\n\n\n\n<p>\u914d\u7f6e\u590d\u6742\uff0c\u901f\u7387\u9ad8\u3002\u5148\u8fde\u4e0aUSB\uff0c\u914d\u7f6e\u6d41\u7a0b\u5982\u4e0b\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"627\" height=\"646\" src=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/Dingtalk_20220727102140.jpg\" alt=\"\" class=\"wp-image-904\" srcset=\"http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/Dingtalk_20220727102140.jpg 627w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/Dingtalk_20220727102140-291x300.jpg 291w, http:\/\/www.recologypower.com:9080\/wp-content\/uploads\/2022\/07\/Dingtalk_20220727102140-600x618.jpg 600w\" sizes=\"(max-width: 627px) 100vw, 627px\" \/><\/figure>\n\n\n\n<p>\u8fde\u63a5\u540e\uff0c\u914d\u7f6eIP<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Push enter to start console.\n\n                  ####\n               ##########\n            ##########  ....          Freescale Semiconductor Inc.\n               ####  ..........       Copyright (c) 2015\n                  ..........  ####    All Rights Reserved\n                     ....  ##########\n                        ##########    Codewarrior TAP Firmware\n                    ....   ####       Boot Loader Version 1.0.1\n                 ..........             built Mon Aug 26 18:55:20 UTC 2013\n              ..........  ####        OS Version 1.0.4\n          ####   ....  ##########       built Thu Apr 23 22:28:59 UTC 2015\n       ##########   ##########\n    ##########  ....   ####           Main Board: CodeWarrior TAP (3.3V)\n       ####  ..........               Probe Tip:  Power Architecture JTAG\/COP\n          ..........\n      ####   ....\n   ##########                         Note: This product uses open-source\n##########                            components.  See \"help license\"\n   ####                               for details.\n\nNetwork not configured - defaulting to DHCP\ncore> help\nHelp is available for these commands:\n  arp           ARP table commands.\n  ccs           Display\/manage CCS firmware\n  gdbproxy      Display\/manage gdbproxy firmware\n  help          Get help on commands\n  host          Host table commands\n  license       Displays open-source license details\n  netparam      Show\/set nonvolatile networking parameters.\n  netstat       Display network protocol statistics.\n  ping          Test if host is alive.\n  reset         Reboot this device.\n  route         Route table commands.\n  tgreset       Reset target\n  tgtty         Get\/set tty settings for target serial\n  who           List any open connections.\ncore> help netparam\nUsage: netparam &#91;subcommand &lt;subcommand options>]\n\nThis command displays or sets nonvolatile networking\nparameters. If called with no subcommand, it displays all\nparameters.  When called with one of the subcommands listed\nbelow, it changes the parameters associated with that command.\nNote that when changed, some parameters will not be activated\nuntil the unit is rebooted.\nUse \"netparam &lt;subcommand> --help\" for help on a specific \nsubcommand.\n\nNetparam recognizes the following subcommands:\n         add_host               Add static host\n         add_route              Add static route\n         bootconfig             Boot method selection\n         delete_host            Delete static host\n         delete_route           Delete static route\n         static_ip_address      Specify static IP address\n         static_dns_server      Specify DNS server address<\/code><\/pre>\n\n\n\n<p>\u8bbe\u7f6e\u9759\u6001IP\uff0c\u547d\u4ee4\u4f1a\u963b\u585e10s\uff0c\u8fd9\u4e2a\u65f6\u5019CodeWarrior TAP\u7684RX\/TX\u706f\u53d8\u4e3a\u7eff\u8272\uff0c<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> netparam static_ip_address 192.168.6.223 # wait for 10s\ncore> netparam add_route 192.168.6.254 gateway_ip 1 # hop_cnt=1\ncore> netparam bootconfig static:cw-tap0\nNetmask defaults to 255.255.255.0\nUsing dynamic IP address 192.168.6.223                                          \ncore> ping 192.168.6.6\nPING 192.168.6.6 (192.168.6.6): 56 data bytes\n64 bytes from 192.168.6.6: seq=0 ttl=128 time=0.917 ms\n64 bytes from 192.168.6.6: seq=1 ttl=128 time=0.640 ms\n\n--- 192.168.6.6 ping statistics ---\n2 packets transmitted, 2 packets received, 0% packet loss\nround-trip min\/avg\/max = 0.640\/0.778\/0.917 ms\n<\/code><\/pre>\n\n\n\n<p>\u8de8\u7f51\u6bb5\u8bbe\u7f6e\u8def\u7531\uff0c\u6709\u8b66\u544a\u4f46\u662f\u8bbe\u7f6e\u6210\u529f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> netparam add_route 192.168.12.0 192.168.6.254 1\nNetmask defaults to 255.255.255.0\ngateway_ip: Unknown host\nroute: netmask doesn't match route address\nUsage: route &#91;-nNvee] &#91;-FC] &#91;&lt;AF>]           List kernel routing tables\n       route &#91;-v] &#91;-FC] {add|del|flush} ...  Modify routing table for AF.\n\n       route {-h|--help} &#91;&lt;AF>]              Detailed usage syntax for specified AF.\n       route {-V|--version}                  Display version\/author and exit.\n\n        -v, --verbose            be verbose\n        -n, --numeric            don't resolve names\n        -e, --extend             display other\/more information\n        -F, --fib                display Forwarding Information Base (default)\n        -C, --cache              display routing cache instead of FIB\n\n  &lt;AF>=Use '-A &lt;af>' or '--&lt;af>'; default: inet\n  List of possible address families (which support routing):\n    inet (DARPA Internet) ax25 (AMPR AX.25) netrom (AMPR NET\/ROM) \n    ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) \nSIOCADDRT: File exists\ncore> ping 192.168.12.16\nPING 192.168.12.16 (192.168.12.16): 56 data bytes\n64 bytes from 192.168.12.16: seq=0 ttl=127 time=2.608 ms\n64 bytes from 192.168.12.16: seq=1 ttl=127 time=0.526 ms\n64 bytes from 192.168.12.16: seq=2 ttl=127 time=0.585 ms\n\n--- 192.168.12.16 ping statistics ---\n3 packets transmitted, 3 packets received, 0% packet loss\nround-trip min\/avg\/max = 0.526\/1.239\/2.608 ms\n<\/code><\/pre>\n\n\n\n<p>\u67e5\u770b\u8def\u7531\u8868<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> netparam add_route 192.168.16.0 192.168.6.254 1\nNetmask defaults to 255.255.255.0\ngateway_ip: Unknown host\nroute: netmask doesn't match route address\nUsage: route &#91;-nNvee] &#91;-FC] &#91;&lt;AF>]           List kernel routing tables\n       route &#91;-v] &#91;-FC] {add|del|flush} ...  Modify routing table for AF.\n\n       route {-h|--help} &#91;&lt;AF>]              Detailed usage syntax for specified AF.\n       route {-V|--version}                  Display version\/author and exit.\n\n        -v, --verbose            be verbose\n        -n, --numeric            don't resolve names\n        -e, --extend             display other\/more information\n        -F, --fib                display Forwarding Information Base (default)\n        -C, --cache              display routing cache instead of FIB\n\n  &lt;AF>=Use '-A &lt;af>' or '--&lt;af>'; default: inet\n  List of possible address families (which support routing):\n    inet (DARPA Internet) ax25 (AMPR AX.25) netrom (AMPR NET\/ROM) \n    ipx (Novell IPX) ddp (Appletalk DDP) x25 (CCITT X.25) \nSIOCADDRT: File exists\nSIOCADDRT: File exists\ncore> netstat -r\nKernel IP routing table\nDestination     Gateway         Genmask         Flags   MSS Window  irtt Iface\n127.0.0.0       *               255.0.0.0       U         0 0          0 lo\n169.254.0.0     *               255.255.0.0     U         0 0          0 usb0\n192.168.6.0     *               255.255.255.0   U         0 0          0 eth0\n192.168.6.0     192.168.6.254   255.255.255.0   UG        0 0          0 eth0\n192.168.12.0    192.168.6.254   255.255.255.0   UG        0 0          0 eth0\n192.168.16.0    192.168.6.254   255.255.255.0   UG        0 0          0 eth0\n<\/code><\/pre>\n\n\n\n<p>\u91cd\u542f\uff0c\u9700\u8981\u628asecureCRT\u7684\u4e32\u53e3disconnect<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> reset\nClose this configuration console to reboot...\n(hit Ctrl+c to abort)<\/code><\/pre>\n\n\n\n<p>\u518d\u91cd\u65b0\u6253\u5f00\uff0c\u8f93\u5165\u56de\u8f66\uff0c\u548c\u4e4b\u524d\u663e\u793a\u4e0d\u4e00\u6837\u4e86<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Push enter to start console.\n\n                  ####\n               ##########\n            ##########  ....          Freescale Semiconductor Inc.\n               ####  ..........       Copyright (c) 2015\n                  ..........  ####    All Rights Reserved\n                     ....  ##########\n                        ##########    Codewarrior TAP Firmware\n                    ....   ####       Boot Loader Version 1.0.1\n                 ..........             built Mon Aug 26 18:55:20 UTC 2013\n              ..........  ####        OS Version 1.0.4\n          ####   ....  ##########       built Thu Apr 23 22:28:59 UTC 2015\n       ##########   ##########\n    ##########  ....   ####           Main Board: CodeWarrior TAP (3.3V)\n       ####  ..........               Probe Tip:  Power Architecture JTAG\/COP\n          ..........\n      ####   ....\n   ##########                         Note: This product uses open-source\n##########                            components.  See \"help license\"\n   ####                               for details.\n\nNetwork configuration is static:cw-tap0\nUsing static IP address 192.168.6.223\n<\/code><\/pre>\n\n\n\n<p>\u8fd9\u4e2a\u65f6\u5019\uff0c\u65ad\u5f00USB\uff0c\u91c7\u7528USB\u4f9b\u7535\uff0c\u65b9\u53ef\u4f7f\u7528\u7f51\u7edc\u6765\u8fde\u63a5\uff0c\u4e0b\u8f7d\u5668\u81ea\u5e26\u4e86\u4e00\u4e2a\u4e32\u53e3\uff0c\u8bbe\u7f6e\u4e32\u53e3\u53c2\u6570\uff0c\u67e5\u770b\u4e32\u53e3\u8bbe\u7f6e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> help tgtty\nUsage: tgtty &#91;&lt;options>]\n\nUse this command to get and set target serial settings.  Without\noptions, this command displays current settings.  The following\noptions are accepted:\n&#91;reset]                                       -- terminates any open connections\n&#91;default]                                     -- set default settings\n&#91;&lt;9600 | 19200 | 38400 | 57600 | 115200>]     -- baud rate\n&#91;&lt;data5 | data6 | data7 | data8>]             -- data bits\n&#91;&lt;stop1 | stop2>]                             -- stop bits\n&#91;&lt;noparity | oddparity | evenparity>]         -- parity\n&#91;&lt;rtscts | nortscts | rxtx>]                  -- hardware flow control\n&#91;&lt;noxon | xon>]                               -- XON\/XOFF flow control\n&#91;&lt;echo | noecho>]                             -- whether the target echos\n\nThe default settings are:\n9600 data8 stop1 noparity nortscts noxon echo\ncore> tgtty\n115200 data8 stop1 noparity nortscts noxon echo\n<\/code><\/pre>\n\n\n\n<p>\u8bbe\u7f6e\u53c2\u6570\uff0c\u4f1a\u81ea\u52a8\u4fdd\u5b58<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> tgtty 115200 data8 stop1 noparity nortscts noxon echo\n<\/code><\/pre>\n\n\n\n<p>\u6062\u590d\u9ed8\u8ba4<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>core> tgtty default\n<\/code><\/pre>\n\n\n\n<p>\u4f7f\u7528\u8fd9\u4e2a\u4e32\u53e3\uff0ctelnet\u767b\u5f55\u4e0b\u8f7d\u5668\u76841082\u7aef\u53e3\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"slide-text-bg2\">\n<h3>\u901a\u8baf\u65b9\u5f0f\u6709\u4e24\u79cd\uff1a \u4e00\u3001USB\u901a\u8baf \u8fd9\u4e2a\u76f8<\/h3>\n<\/div>\n<div class=\"flex-btn-div\"><a href=\"http:\/\/www.recologypower.com:9080\/?p=900\" class=\"btn1 flex-btn\">\u9605\u8bfb\u66f4\u591a<\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[102],"tags":[],"_links":{"self":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts\/900"}],"collection":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=900"}],"version-history":[{"count":1,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts\/900\/revisions"}],"predecessor-version":[{"id":905,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts\/900\/revisions\/905"}],"wp:attachment":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=900"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}