2023/07/21 08:46

1/2

SA-200 シリーズ

目次
SA-200 シリーズ ................................................................................................................................. 1
Features (予定) ............................................................................................................................... 1shell ................................................................................................................................................. 1
MA-E320 + SA-200 (MA-E360) 対向 ............................................................................................. 2
radvd でアドレスを振ってみる ..................................................................................................... 4
Files ............................................................................................................................................... 5
Firmware ........................................................................................................................................ 5

MA-X/MA-S/MA-E/IP-K Developers' WiKi - https://ma-tech.centurysys.jp/

Last update: 2015/05/13 12:01

sa-2xx:start https://ma-tech.centurysys.jp/doku.php?id=sa-2xx:start

https://ma-tech.centurysys.jp/

Printed on 2023/07/21 08:46

2023/07/21 08:46

1/6

SA-200 シリーズ

SA-200 シリーズ
920MHz 無線 + 電池駆動 + 各種センサー ???

Features (予定)
IEEE802.15.4g
6LowPAN support
RealTime OS1)

shell> pspid | name| stateQ | pri | stack ( used) || pending

Q |

15 |

2048 (| running

Q |

7 |

3072 ( 1164) || bl rx_ |6 |4096 (268) || bl rx_ |5 |2048 (236) || bl rx_ |4 |2048 (244) || bl rx_ |5 |3072 (292) || bl rx_ |6 |3072 (304) || bl mutex _ |8 |2048 (348) || sleeping _ |6 |2048 (192) |location
1 | idle160) |0x200011bc
2 | main
0x200005bc
3 | uart00x20001c80
4 | l2_pkt_handler
0x20002c80
5 | Transceiver
0x20007470
6 | radio
0x20006130
7 | ip_process
0x200040d4
8 | lowpan_context_rem
0x20004cd4
9 | lowpan_transfer
0x200054d4| SUM> ifconfig
Iface
0|

|

| 23552 ( 3208)

HWaddr: 0x461c Channel: 33 PAN ID: 0xabcd
EUI-64: 76-b0-e7-85-7e-ad-ab-84
Source address mode: short
Transceivers:* ml7396> helpCommandDescription--------------------------------------reboot
Reboot the node
psPrints information about running threads.
MA-X/MA-S/MA-E/IP-K Developers' WiKi - https://ma-tech.centurysys.jp/

Last update: 2015/05/13 12:01

sa-2xx:start https://ma-tech.centurysys.jp/doku.php?id=sa-2xx:start

addr
Gets or sets the address for the transceiver
eui64
Gets or sets the EUI-64 for the transceiverchan
Gets or sets the channel for the transceiver
txtsndSends a text message to a given node via thetransceiverpanGets or sets the pan id for the transceivermonitorEnables or disables address checking for thetransceiverl2_ping
Sends link layer ping requests
l2_probe
Sends link layer probes
l2_probe_stats
Get statistics about received probes
ifconfig
Configures a network interface
mersenne_init
initializes the PRNG
mersenne_get
returns 32 bit of pseudo randomness> ifconfig 0 set
Usage: ifconfig <if_id> set <key> <value>
Sets an transceiver specific value<key> may be one of the following* "srcaddrmode" - sets the source address mode for IEEE
802.15.4 transeivers (valid values: "short" or"long"),* "sam" - alias for "srcaddrmode"* "eui64" - sets the EUI-64 if supported by transceivers,* "hwaddr" - sets the 16-bit address (or just the addressfor e.g cc1100) of the transceivers* "pan_id" - sets the PAN ID of the transceiver* "pan" - alias for "pan_id"* "channel" - sets the frequency channel of the transceiver* "chan" - alias for "channel"> ifconfig 0 set srcaddrmode long> ifconfig 0Iface0HWaddr: 0x461c Channel: 33 PAN ID: 0xabcdEUI-64: 76-b0-e7-85-7e-ad-ab-84
Source address mode: longTransceivers:* ml7396>

MA-E320 + SA-200 (MA-E360) 対向
root@plum:/home/user1# ping6 fe80::68ef:8759:2798:df2e%lowpan0 -c 10
PING fe80::68ef:8759:2798:df2e%lowpan0(fe80::68ef:8759:2798:df2e) 56 databytes
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=1 ttl=64 time=107 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=2 ttl=64 time=107 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=3 ttl=64 time=134 ms
https://ma-tech.centurysys.jp/Printed on 2023/07/21 08:46

2023/07/21 08:46

3/6

SA-200 シリーズ

64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=4 ttl=64 time=107 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=5 ttl=64 time=113 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=6 ttl=64 time=144 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=7 ttl=64 time=107 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=8 ttl=64 time=109 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=9 ttl=64 time=107 ms
64 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=10 ttl=64 time=110 ms--- fe80::68ef:8759:2798:df2e%lowpan0 ping statistics --10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 107.628/115.090/144.069/12.436 ms
root@plum:/home/user1# ping6 fe80::68ef:8759:2798:df2e%lowpan0 -c 10 -s 200PING fe80::68ef:8759:2798:df2e%lowpan0(fe80::68ef:8759:2798:df2e) 200 databytes
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=1 ttl=64 time=280 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=2 ttl=64 time=279 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=3 ttl=64 time=280 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=4 ttl=64 time=280 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=5 ttl=64 time=279 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=6 ttl=64 time=277 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=7 ttl=64 time=280 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=8 ttl=64 time=280 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=9 ttl=64 time=279 ms
208 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=10 ttl=64 time=346 ms--- fe80::68ef:8759:2798:df2e%lowpan0 ping statistics --10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 277.506/286.408/346.144/19.941 ms
root@plum:/home/user1# ping6 fe80::68ef:8759:2798:df2e%lowpan0 -c 5 -s 1500
-i 3
PING fe80::68ef:8759:2798:df2e%lowpan0(fe80::68ef:8759:2798:df2e) 1500 data
bytes
1508 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=1 ttl=64 time=1661 ms
1508 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=2 ttl=64 time=1667 ms
1508 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=3 ttl=64 time=1741 ms
1508 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=4 ttl=64 time=1669 ms
1508 bytes from fe80::68ef:8759:2798:df2e: icmp_seq=5 ttl=64 time=1668 ms--- fe80::68ef:8759:2798:df2e%lowpan0 ping statistics --5 packets transmitted, 5 received, 0% packet loss, time 12007ms
rtt min/avg/max/mdev = 1661.685/1681.572/1741.324/29.989 ms
root@plum:/home/user1# ifconfig lowpan0
lowpan0
Link encap:UNSPEC HWaddr 96-A7-65-6C-BCF8-37-37-00-00-00-00-00-00-00-00
inet6 addr: fe80::94a7:656c:bcf8:3737/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
MA-X/MA-S/MA-E/IP-K Developers' WiKi - https://ma-tech.centurysys.jp/

Last update: 2015/05/13 12:01

RX bytes:0 (0.0 B)

sa-2xx:start https://ma-tech.centurysys.jp/doku.php?id=sa-2xx:start

TX bytes:0 (0.0 B)

root@plum:/home/user1# ifconfig wpan0
wpan0
Link encap:UNSPEC HWaddr 96-A7-65-6C-BCF8-37-37-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING NOARP MTU:127 Metric:1
RX packets:212 errors:0 dropped:0 overruns:0 frame:0
TX packets:254 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:300
RX bytes:13470 (13.4 KB) TX bytes:21181 (21.1 KB)

radvd でアドレスを振ってみる
lowpan0
Link encap:UNSPEC HWaddr 21-97-AE-3D-E2-18-92AF-00-00-00-00-00-00-00-00
inet6 addr: 2001:dead:beef:0:41b8:46e:c4d5:c714/64 Scope:Global
inet6 addr: fe80::2397:ae3d:e218:92af/64 Scope:Link
inet6 addr: 2001:dead:beef:0:2397:ae3d:e218:92af/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wpan0
Link encap:UNSPEC HWaddr 21-97-AE-3D-E2-18-92AF-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING NOARP MTU:127 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:300
RX bytes:52 (52.0 B) TX bytes:557 (557.0 B)
root@plum:/home/user1# ping6 2001:dead:beef:0:2397:ae3d:e218:92af -s 600 -c
10PING
2001:dead:beef:0:2397:ae3d:e218:92af(2001:dead:beef:0:2397:ae3d:e218:92af)
600 data bytes
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=1 ttl=64
time=349 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=2 ttl=64
time=348 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=3 ttl=64
time=349 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=4 ttl=64
time=348 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=5 ttl=64
time=348 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=6 ttl=64
https://ma-tech.centurysys.jp/

Printed on 2023/07/21 08:46

2023/07/21 08:46

5/6

SA-200 シリーズ

time=348 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=7 ttl=64
time=347 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=8 ttl=64
time=348 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=9 ttl=64
time=348 ms
608 bytes from 2001:dead:beef:0:2397:ae3d:e218:92af: icmp_seq=10 ttl=64
time=347 ms--- 2001:dead:beef:0:2397:ae3d:e218:92af ping statistics --10 packets transmitted, 10 received, 0% packet loss, time 9010ms
rtt min/avg/max/mdev = 347.886/348.624/349.920/0.933 ms
root@plum:/home/user1# ifconfig lowpan0
lowpan0
Link encap:UNSPEC HWaddr A9-EDD9-5C-6F-75-1B-83-00-00-00-00-00-00-00-00
inet6 addr: 2001:dead:beef::1/64 Scope:Global
inet6 addr: fe80::abed:d95c:6f75:1b83/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1280 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
root@plum:/home/user1#

Files
File
Stat
SHA1SUMInfo
ml7396_lowpan.pcap 2015/05/13 12:00 6.5 KB
ping over 6LowPAN packet capture

Firmware
File

Stat
SHA1SUMInfo
2015/05/12
mae3xx_trusty_v3_0_0alpha3.img 11:20 66.1 5c60044166d866862f7a82a5bfac263a345087ae Linux-4.0.0MB1)

RIOT OSFrom:
https://ma-tech.centurysys.jp/ - MA-X/MA-S/MA-E/IP-K Developers' WiKi
Permanent link:
https://ma-tech.centurysys.jp/doku.php?id=sa-2xx:start
Last update: 2015/05/13 12:01
MA-X/MA-S/MA-E/IP-K Developers' WiKi - https://ma-tech.centurysys.jp/

Last update: 2015/05/13 12:01

sa-2xx:start https://ma-tech.centurysys.jp/doku.php?id=sa-2xx:start

https://ma-tech.centurysys.jp/

Printed on 2023/07/21 08:46