Skip to content

Instantly share code, notes, and snippets.

@flaviops
Last active October 5, 2018 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flaviops/8105e110ec3adcfbb24bee378250f7fd to your computer and use it in GitHub Desktop.
Save flaviops/8105e110ec3adcfbb24bee378250f7fd to your computer and use it in GitHub Desktop.
Command:
sudo mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name='Zephyr' -t 60 image upload zephyr/zephyr.bin -ldebug
Debug information:
DEBU[2018-10-05 14:50:05.261] Using connection profile: name=unnamed type=ble connstring=ctlr_name=hci0,peer_name=Zephyr
DEBU[2018-10-05 14:50:05.449] {add-oic-listener} [transceiver.go:64] token=[]
DEBU[2018-10-05 14:50:05.449] Connecting to peer
DEBU[2018-10-05 14:50:05.664] Exchanging MTU
DEBU[2018-10-05 14:50:05.674] Exchanged MTU; ATT MTU = 252
DEBU[2018-10-05 14:50:05.675] Discovering profile
DEBU[2018-10-05 14:50:05.832] Subscribing to NMP response characteristic
0 / 194648 [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0.00%DEBU[2018-10-05 14:50:05.847] {add-nmp-listener} [bll_sesn.go:415] seq=66
DEBU[2018-10-05 14:50:05.848] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:66 Id:5}}} to:
00000000 a0 |.|
DEBU[2018-10-05 14:50:05.848] Encoded:
00000000 02 00 00 01 00 01 42 05 a0 |......B..|
DEBU[2018-10-05 14:50:05.848] Tx NMP request: 00000000 02 00 00 01 00 01 42 05 a0 |......B..|
DEBU[2018-10-05 14:50:05.922] Received nmp rsp: &{NmpBase:{hdr:{Op:3 Flags:0 Len:6 Group:1 Seq:66 Id:5}} Rc:0}
DEBU[2018-10-05 14:50:05.922] {remove-nmp-listener} [bll_sesn.go:415] seq=66
DEBU[2018-10-05 14:50:05.926] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:67 Id:1}} Off:0 Len:194648 DataSha:[171 31 26 50 151 239 71 194 117 77 8 142 224 87 70 95 141 127 73 22 90 30 191 210 242 53 136 182 88 97 46 175] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} to:
00000000 a4 64 64 61 74 61 59 02 00 00 00 00 00 00 00 00 |.ddataY.........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200 00 00 00 00 00 00 00 00 00 63 6c 65 6e 1a 00 02 |.........clen...|
00000210 f8 58 63 6f 66 66 00 63 73 68 61 58 20 ab 1f 1a |.Xcoff.cshaX ...|
00000220 32 97 ef 47 c2 75 4d 08 8e e0 57 46 5f 8d 7f 49 |2..G.uM...WF_..I|
00000230 16 5a 1e bf d2 f2 35 88 b6 58 61 2e af |.Z....5..Xa..|
DEBU[2018-10-05 14:50:05.927] Encoded:
00000000 02 00 02 3d 00 01 43 01 a4 64 64 61 74 61 59 02 |...=..C..ddataY.|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000210 00 63 6c 65 6e 1a 00 02 f8 58 63 6f 66 66 00 63 |.clen....Xcoff.c|
00000220 73 68 61 58 20 ab 1f 1a 32 97 ef 47 c2 75 4d 08 |shaX ...2..G.uM.|
00000230 8e e0 57 46 5f 8d 7f 49 16 5a 1e bf d2 f2 35 88 |..WF_..I.Z....5.|
00000240 b6 58 61 2e af |.Xa..|
DEBU[2018-10-05 14:50:05.927] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:68 Id:1}} Off:0 Len:194648 DataSha:[171 31 26 50 151 239 71 194 117 77 8 142 224 87 70 95 141 127 73 22 90 30 191 210 242 53 136 182 88 97 46 175] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} to:
00000000 a4 64 64 61 74 61 58 b4 00 00 00 00 00 00 00 00 |.ddataX.........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 63 6c 65 6e |............clen|
000000c0 1a 00 02 f8 58 63 6f 66 66 00 63 73 68 61 58 20 |....Xcoff.cshaX |
000000d0 ab 1f 1a 32 97 ef 47 c2 75 4d 08 8e e0 57 46 5f |...2..G.uM...WF_|
000000e0 8d 7f 49 16 5a 1e bf d2 f2 35 88 b6 58 61 2e af |..I.Z....5..Xa..|
DEBU[2018-10-05 14:50:05.927] Encoded:
00000000 02 00 00 f0 00 01 44 01 a4 64 64 61 74 61 58 b4 |......D..ddataX.|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 63 6c 65 6e 1a 00 02 f8 58 63 6f 66 |....clen....Xcof|
000000d0 66 00 63 73 68 61 58 20 ab 1f 1a 32 97 ef 47 c2 |f.cshaX ...2..G.|
000000e0 75 4d 08 8e e0 57 46 5f 8d 7f 49 16 5a 1e bf d2 |uM...WF_..I.Z...|
000000f0 f2 35 88 b6 58 61 2e af |.5..Xa..|
DEBU[2018-10-05 14:50:05.927] {add-nmp-listener} [bll_sesn.go:415] seq=68
DEBU[2018-10-05 14:50:05.928] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:68 Id:1}} Off:0 Len:194648 DataSha:[171 31 26 50 151 239 71 194 117 77 8 142 224 87 70 95 141 127 73 22 90 30 191 210 242 53 136 182 88 97 46 175] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]} to:
00000000 a4 64 64 61 74 61 58 b4 00 00 00 00 00 00 00 00 |.ddataX.........|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 63 6c 65 6e |............clen|
000000c0 1a 00 02 f8 58 63 6f 66 66 00 63 73 68 61 58 20 |....Xcoff.cshaX |
000000d0 ab 1f 1a 32 97 ef 47 c2 75 4d 08 8e e0 57 46 5f |...2..G.uM...WF_|
000000e0 8d 7f 49 16 5a 1e bf d2 f2 35 88 b6 58 61 2e af |..I.Z....5..Xa..|
DEBU[2018-10-05 14:50:05.928] Encoded:
00000000 02 00 00 f0 00 01 44 01 a4 64 64 61 74 61 58 b4 |......D..ddataX.|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 63 6c 65 6e 1a 00 02 f8 58 63 6f 66 |....clen....Xcof|
000000d0 66 00 63 73 68 61 58 20 ab 1f 1a 32 97 ef 47 c2 |f.cshaX ...2..G.|
000000e0 75 4d 08 8e e0 57 46 5f 8d 7f 49 16 5a 1e bf d2 |uM...WF_..I.Z...|
000000f0 f2 35 88 b6 58 61 2e af |.5..Xa..|
DEBU[2018-10-05 14:50:05.928] Tx NMP request: 00000000 02 00 00 f0 00 01 44 01 a4 64 64 61 74 61 58 b4 |......D..ddataX.|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 63 6c 65 6e 1a 00 02 f8 58 63 6f 66 |....clen....Xcof|
000000d0 66 00 63 73 68 61 58 20 ab 1f 1a 32 97 ef 47 c2 |f.cshaX ...2..G.|
000000e0 75 4d 08 8e e0 57 46 5f 8d 7f 49 16 5a 1e bf d2 |uM...WF_..I.Z...|
000000f0 f2 35 88 b6 58 61 2e af |.5..Xa..|
0 B / 190.09 KiB [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0.00%
*hangs*
After waiting for a long time it crashes:
DEBU[2018-10-05 14:51:05.929] {remove-nmp-listener} [bll_sesn.go:415] seq=68
DEBU[2018-10-05 14:51:05.929] goroutine 1 [running]:
mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util.NewNewtError(0xae72bd, 0xb, 0xb)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util/util.go:75 +0xe8
mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util.ChildNewtError(0xb506c0, 0xc420176a30, 0xc420214180)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util/util.go:101 +0x82
mynewt.apache.org/newtmgr/newtmgr/cli.imageUploadCmd(0xc4201c5200, 0xc42018c500, 0x1, 0x8)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/newtmgr/cli/image.go:203 +0x400
mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).execute(0xc4201c5200, 0xc4200e0180, 0x8, 0xc, 0xc4201c5200, 0xc4200e0180)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:654 +0x2a2
mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc4200eb8c0, 0xc4200ebd40, 0xc4200ebb00, 0xc420097f40)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:729 +0x2d4
mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).Execute(0xc4200eb8c0, 0xb09ea0, 0xc4200b6360)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:688 +0x2b
main.main()
/home/flavio/go-workspace/src/mynewt.apache.org/mcumgr/mcumgr/mcumgr.go:94 +0x10f
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/lib/go-1.10/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
/usr/lib/go-1.10/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
/usr/lib/go-1.10/src/os/signal/signal_unix.go:28 +0x41
goroutine 21 [select, locked to thread]:
runtime.gopark(0xb0c170, 0x0, 0xae3a2e, 0x6, 0x18, 0x1)
/usr/lib/go-1.10/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc42003d750, 0xc42008c1e0)
/usr/lib/go-1.10/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
/usr/lib/go-1.10/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1
goroutine 22 [chan receive]:
main.main.func1(0xc4200b6360)
/home/flavio/go-workspace/src/mynewt.apache.org/mcumgr/mcumgr/mcumgr.go:82 +0x41
created by main.main
/home/flavio/go-workspace/src/mynewt.apache.org/mcumgr/mcumgr/mcumgr.go:80 +0x105
goroutine 23 [syscall]:
syscall.Syscall(0x0, 0x5, 0xc4201af000, 0x1000, 0xc420080d80, 0xc42016e400, 0x0)
/usr/lib/go-1.10/src/syscall/asm_linux_amd64.s:18 +0x5
mynewt.apache.org/newtmgr/vendor/golang.org/x/sys/unix.read(0x5, 0xc4201af000, 0x1000, 0x1000, 0xc42016e400, 0x0, 0xc42004eed0)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go:1045 +0x5f
mynewt.apache.org/newtmgr/vendor/golang.org/x/sys/unix.Read(0x5, 0xc4201af000, 0x1000, 0x1000, 0x441557, 0x8, 0x9bf360)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/golang.org/x/sys/unix/syscall_unix.go:114 +0x49
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/socket.(*Socket).Read(0xc420133320, 0xc4201af000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/socket/socket.go:129 +0xcd
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.(*HCI).sktLoop(0xc4200bfd40)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/hci.go:274 +0xe1
created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.(*HCI).Init
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/hci.go:149 +0x5c8
goroutine 34 [select]:
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.(*HCI).Accept(0xc4200bfd40, 0x0, 0x0, 0x0, 0x0)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/gap.go:185 +0x132
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux.loop(0xc4200bfd40, 0xc42016e2c0, 0x203)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/device.go:52 +0x40
created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux.NewDeviceWithNameAndHandler
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/device.go:45 +0xfb
goroutine 35 [select]:
mynewt.apache.org/newtmgr/nmxact/omp.(*Dispatcher).addOmpListener.func1(0xc42016e300, 0xc420174ac0)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/nmxact/omp/dispatch.go:77 +0x1bd
created by mynewt.apache.org/newtmgr/nmxact/omp.(*Dispatcher).addOmpListener
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/nmxact/omp/dispatch.go:72 +0xb6
goroutine 4 [chan receive]:
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.(*Conn).Read(0xc420234090, 0xc42024c000, 0x203, 0x203, 0x11, 0x11, 0x32)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/conn.go:118 +0x68
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/att.(*Client).Loop(0xc4201880f0)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/att/client.go:529 +0xf1
created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/gatt.NewClient
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/gatt/client.go:25 +0xe0
goroutine 5 [chan receive]:
mynewt.apache.org/newtmgr/newtmgr/bll.(*BllSesn).listenDisconnect.func1(0xc420214180)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/newtmgr/bll/bll_sesn.go:101 +0x6e
created by mynewt.apache.org/newtmgr/newtmgr/bll.(*BllSesn).listenDisconnect
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/newtmgr/bll/bll_sesn.go:95 +0x3f
goroutine 50 [chan receive]:
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/att.(*Client).Loop.func1(0xc420250000)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/att/client.go:522 +0x78
created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/att.(*Client).Loop
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/att/client.go:521 +0x97
goroutine 40 [chan receive]:
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.(*Conn).recombine(0xc420234090, 0x0, 0x0)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/conn.go:245 +0x6b
mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.newConn.func1(0xc420234090)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/conn.go:92 +0x2f
created by mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci.newConn
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/go-ble/ble/linux/hci/conn.go:90 +0x210
goroutine 7 [select]:
mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb.(*ProgressBar).refresher(0xc420266000)
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb/pb.go:462 +0xf5
created by mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb.(*ProgressBar).Start
/home/flavio/go-workspace/src/mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb/pb.go:123 +0xc0
Error: NMP timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment