summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-01-15 16:09:33 +0100
committerGuido Günther <agx@sigxcpu.org>2017-01-15 18:15:47 +0100
commit5d888a85f63a8cd24c92c8bdd6c184c6777389b5 (patch)
treece572af2bce17d990ccc18c053610a2d53071dbd
parent38a334e4556798acbd898283dd78a3c5a1665a85 (diff)
Further progress
-rw-r--r--hw/merkur-board/macs.org85
-rw-r--r--hw/merkur-board/merkur-board-flash-1st-stage-1.jpgbin0 -> 79867 bytes
-rw-r--r--hw/merkur-board/merkur-board-flash-1st-stage-2.jpgbin0 -> 58463 bytes
3 files changed, 69 insertions, 16 deletions
diff --git a/hw/merkur-board/macs.org b/hw/merkur-board/macs.org
index 6477418..79d2a1d 100644
--- a/hw/merkur-board/macs.org
+++ b/hw/merkur-board/macs.org
@@ -1,31 +1,42 @@
* Current Merkur Board based 6lopan devices
-| Device | eui64 (should) | eui64 (actual) | LL Address | Firmware | Type | State |
-|-------------------------------+-------------------------+---------------------+--------------------------+------------------------------------------+------------------------+------------------------|
-| OSDomotics gelb/weiße Antenne | 00:21:2e:ff:ff:00:34:7c | - | fe80::221:2eff:ff00:347c | f87c6fd158a964b969341eadfa974377d349b51d | arduino-plantobserving | ok |
-| OSDomotics weiße Ante | 00:21:2e:ff:ff:00:33:04 | - | | f87c6fd158a964b969341eadfa974377d349b51d | rpl-border-router | ok |
-| OSDomotics Carsten | | | fe80::221:2eff:ff00:33df | ? | ? | ? |
-| Eigenbau 1 | 00:21:2e:ff:ff:00:66:59 | | | ? | ? | ? |
-| Eigenbau 2 | 00:21:2e:ff:ff:00:64:2f | 0-50-56-ff-ff-3-4-5 | | 7281120a685f12fb4b6c3c248e5f4c81c63397ab | arduino-plantobserving | ok |
-| Eigenbau 3 | 00:21:2e:ff:ff:00:67:1e | | | | | 2nd stage flash worked |
-| Eigenbau 4 | 00:21:2e:ff:ff:00:65:35 | | | | | 2nd stage flash worked |
-| Eigenbau 5 | 00:21:2e:ff:ff:00:66:48 | | | | | 2nd stage flash worked |
-| Eigenbau 6 | 00:21:2e:ff:ff:00:64:c4 | | | | | 2nd stage flash worked |
-| Eigenbau 7 | 00:21:2e:ff:ff:00:66:76 | | | | | 2nd stage flash worked |
-| Eigenbau 8 | 00:21:2e:ff:ff:00:67:01 | | | | | defekt |
+| Device | eui64 (should) | LL Address | Firmware | Type | State |
+|----------------------------+-------------------------+--------------------------+------------------------------------------+------------------------+------------------------|
+| OSDomotics gelb Antenne | 00:21:2e:ff:ff:00:34:7c | fe80::221:2eff:ff00:347c | f87c6fd158a964b969341eadfa974377d349b51d | arduino-plantobserving | ok |
+| OSDomotics gelb/weiße Ant. | 00:21:2e:ff:ff:00:33:04 | | f87c6fd158a964b969341eadfa974377d349b51d | rpl-border-router | ok |
+| OSDomotics Carsten | | fe80::221:2eff:ff00:33df | ? | ? | ? |
+| Eigenbau 1 | 00:21:2e:ff:ff:00:66:59 | | ? | ? | ? |
+| Eigenbau 2 | 00:21:2e:ff:ff:00:64:2f | | 7281120a685f12fb4b6c3c248e5f4c81c63397ab | arduino-plantobserving | ok |
+| Eigenbau 3 | 00:21:2e:ff:ff:00:67:1e | | | | 2nd stage flash worked |
+| Eigenbau 4 | 00:21:2e:ff:ff:00:65:35 | | 7281120a685f12fb4b6c3c248e5f4c81c63397ab | climate2 | 2nd stage flash worked |
+| Eigenbau 5 | 00:21:2e:ff:ff:00:66:48 | | | | 2nd stage flash worked |
+| Eigenbau 6 | 00:21:2e:ff:ff:00:64:c4 | | | | 2nd stage flash worked |
+| Eigenbau 7 | 00:21:2e:ff:ff:00:66:76 | | | | 2nd stage flash worked |
+| Eigenbau 8 | 00:21:2e:ff:ff:00:67:01 | | | | defekt |
* <2016-11-12 Sa> - Solder Merkur Boards
as of https://github.com/tijuca/lowpan-pcb-designs in Fr
* <2016-12-04 So> - Flashed [bonsai bootloader](https://github.com/osdomotics/osd-hardware/tree/master/bootloaders/atmega-bonsai)
Several boards won't accept a second stage bootloader afterwards, reason yet unknown
+ [[file:merkur-board-flash-1st-stage-1.jpg]]
+ [[file:merkur-board-flash-1st-stage-2.jpg]]
+
+ Steps:
+ - Connect AVR Dragon
+ - Supply 3.3V Power
+ - after turning on power flush the boot loader right away
+#+BEGIN_SRC shell
+ make NUM=2
+#+END_SRC
+
* <2016-12-11 Sun> - Eigenbau 2 pingable
- We're using the deRFmega128-22M10 with a Atmega128rfa1 so the default *TARGET=osd-merkur-128* is ok for us
- flash new Contiki (as of 0812b89) since f87c6f crashes early, likely due to us using the [bonsai bootloader](https://github.com/osdomotics/osd-hardware/tree/master/bootloaders/atmega-bonsai) now
- set the channel back to 26 as in f87c6f, defaults to 25 otherwise
- slip6 see https://honk.sigxcpu.org/piki/hw/merkur-board/
- ping
-
+#+BEGIN_EXAMPLE
$ ping6 -c 1 -I tun0 2001:db8:c001:f00d:250:56ff:ff03:0405
PING 2001:db8:c001:f00d:250:56ff:ff03:0405(2001:db8:c001:f00d:250:56ff:ff03:405) from 2001:db8:c001:f00d::1 tun0: 56 data bytes
64 bytes from 2001:db8:c001:f00d:250:56ff:ff03:405: icmp_seq=1 ttl=63 time=526 ms
@@ -33,7 +44,49 @@
--- 2001:db8:c001:f00d:250:56ff:ff03:0405 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 526.776/526.776/526.776/0.000 ms
+#+END_EXAMPLE
+* <2017-01-15 Sun> - Eigenbau 2 with correct mac
+ - Added clean before each flash so we get a fresh firmware built with the right mac
+ - Reflashed first stage bootloader
+#+BEGIN_EXAMPLE
+ # Eigenbau 2
+ $ ping6 -I tun0 2001:db8:c001:f00d:221:2eff:ff00:642f
+ PING 2001:db8:c001:f00d:221:2eff:ff00:642f(2001:db8:c001:f00d:221:2eff:ff00:642f) from 2001:db8:c001:f00d::1 tun0: 56 data bytes
+ 64 bytes from 2001:db8:c001:f00d:221:2eff:ff00:642f: icmp_seq=1 ttl=63 time=131 ms
+
+ --- 2001:db8:c001:f00d:221:2eff:ff00:642f ping statistics ---
+ 1 packets transmitted, 1 received, 0% packet loss, time 0ms
+ rtt min/avg/max/mdev = 131.181/131.181/131.181/0.000 ms
+#+END_EXAMPLE
+ - Flashed climate2 on 4 and attached DHT21
+#+BEGIN_EXAMPLE
+ $ ping6 -c1 -I tun0 2001:db8:c001:f00d:221:2eff:ff00:6535
+ PING 2001:db8:c001:f00d:221:2eff:ff00:6535(2001:db8:c001:f00d:221:2eff:ff00:6535) from 2001:db8:c001:f00d::1 tun0: 56 data bytes
+ 64 bytes from 2001:db8:c001:f00d:221:2eff:ff00:6535: icmp_seq=1 ttl=63 time=146 ms
+
+ --- 2001:db8:c001:f00d:221:2eff:ff00:6535 ping statistics ---
+ 1 packets transmitted, 1 received, 0% packet loss, time 0ms
+ rtt min/avg/max/mdev = 146.315/146.315/146.315/0.000 ms
+
+ $ ./coap-client -m get coap://[2001:db8:c001:f00d:221:2eff:ff00:6535]/.well-known/core
+ v:1 t:CON c:GET i:fad7 {} [ ]
+ </.well-known/core>;ct=40,</s/hum>;title="Humidity DHTxx";rt="huv:1 t:CON c:GET i:fad8 {} [ ]
+ midity %",</s/temp>;title="Temperature DHTxx";rt="temperature c"v:1 t:CON c:GET i:fad9 {} [ ]
+ ,</info>;title="Info";rt="text",</a/leds>;title="LEDs: ?color=r|v:1 t:CON c:GET i:fada {} [ ]
+ g|b, POST/PUT mode=on|off";rt="Control",</s/battery>;title="Battv:1 t:CON c:GET i:fadb {} [ ]
+ ery status";rt="Battery"
+
+ $./coap-client -m get coap://[2001:db8:c001:f00d:221:2eff:ff00:6535]/s/hum
+ v:1 t:CON c:GET i:5744 {} [ ]
+ 24.60
+ ./coap-client -m get coap://[2001:db8:c001:f00d:221:2eff:ff00:6535]/s/temp
+ v:1 t:CON c:GET i:bbd5 {} [ ]
+ 22.90
+#+END_EXAMPLE
-* TODOs
- - [ ] flash bootloader again with correct MAC, so far we flashed the default in the bonsai code
+* Further TODOs
+ - [X] flash bootloader again with correct MAC, so far we flashed the default in the bonsai code
+ - [X] add antenna
+ - [X] add temp sensor
+ - [X] flash temp firmware
diff --git a/hw/merkur-board/merkur-board-flash-1st-stage-1.jpg b/hw/merkur-board/merkur-board-flash-1st-stage-1.jpg
new file mode 100644
index 0000000..f868e9b
--- /dev/null
+++ b/hw/merkur-board/merkur-board-flash-1st-stage-1.jpg
Binary files differ
diff --git a/hw/merkur-board/merkur-board-flash-1st-stage-2.jpg b/hw/merkur-board/merkur-board-flash-1st-stage-2.jpg
new file mode 100644
index 0000000..53a8ccd
--- /dev/null
+++ b/hw/merkur-board/merkur-board-flash-1st-stage-2.jpg
Binary files differ