Skip to content

Instantly share code, notes, and snippets.

@teburd
Created November 8, 2018 22:41
Show Gist options
  • Save teburd/8b82eebc3105e3e3086ea4612c045c91 to your computer and use it in GitHub Desktop.
Save teburd/8b82eebc3105e3e3086ea4612c045c91 to your computer and use it in GitHub Desktop.
bad_upload
sudo mcumgr -ldebug -t 60 --conntype serial --connstring "dev=/dev/ttyACM0" image upload signed-motioncap2.bin
DEBU[2018-11-08 16:39:41.149] Using connection profile: name=unnamed type=serial connstring=dev=/dev/ttyACM0
DEBU[2018-11-08 16:39:41.149] {add-oic-listener} [transceiver.go:64] token=[]
DEBU[2018-11-08 16:39:41.149] {add-oic-listener} [transceiver.go:64] token=[]
0 / 393216 [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0.00%DEBU[2018-11-08 16:39:41.149] {add-nmp-listener} [serial_sesn.go:217] seq=66
DEBU[2018-11-08 16:39:41.149] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:66 Id:5}}} to:
00000000 a0 |.|
DEBU[2018-11-08 16:39:41.149] Encoded:
00000000 02 00 00 01 00 01 42 05 a0 |......B..|
DEBU[2018-11-08 16:39:41.149] Tx NMP request: 00000000 02 00 00 01 00 01 42 05 a0 |......B..|
DEBU[2018-11-08 16:39:41.149] Base64 encoding request:
00000000 02 00 00 01 00 01 42 05 a0 |......B..|
DEBU[2018-11-08 16:39:41.149] Tx serial
00000000 06 09 |..|
DEBU[2018-11-08 16:39:41.149] Tx serial
00000000 41 41 73 43 41 41 41 42 41 41 46 43 42 61 44 4d |AAsCAAABAAFCBaDM|
00000010 6f 51 3d 3d |oQ==|
DEBU[2018-11-08 16:39:41.149] Tx serial
00000000 0a |.|
DEBU[2018-11-08 16:39:41.154] Rx serial:
00000000 06 09 41 42 41 44 41 41 41 47 41 41 46 43 42 62 |..ABADAAAGAAFCBb|
00000010 39 69 63 6d 4d 41 2f 34 65 44 |9icmMA/4eD|
DEBU[2018-11-08 16:39:41.154] Decoded input:
00000000 03 00 00 06 00 01 42 05 bf 62 72 63 00 ff |......B..brc..|
DEBU[2018-11-08 16:39:41.155] Received nmp rsp: &{NmpBase:{hdr:{Op:3 Flags:0 Len:6 Group:1 Seq:66 Id:5}} Rc:0}
DEBU[2018-11-08 16:39:41.155] {remove-nmp-listener} [serial_sesn.go:217] seq=66
DEBU[2018-11-08 16:39:41.156] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:67 Id:1}} Off:0 Len:393216 DataSha:[92 220 151 172 12 170 158 6 59 56 221 128 233 196 87 39 108 35 177 28 11 135 74 133 206 34 225 232 37 26 40 237] Data:[61 184 243 150 0 0 0 0 0 2 0 0 80 178 1 0 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 3d b8 f3 96 00 00 00 |.ddataY..=......|
00000010 00 00 02 00 00 50 b2 01 00 00 00 00 00 01 02 00 |.....P..........|
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 06 |.........clen...|
00000210 00 00 63 6f 66 66 00 63 73 68 61 58 20 5c dc 97 |..coff.cshaX \..|
00000220 ac 0c aa 9e 06 3b 38 dd 80 e9 c4 57 27 6c 23 b1 |.....;8....W'l#.|
00000230 1c 0b 87 4a 85 ce 22 e1 e8 25 1a 28 ed |...J.."..%.(.|
DEBU[2018-11-08 16:39:41.156] Encoded:
00000000 02 00 02 3d 00 01 43 01 a4 64 64 61 74 61 59 02 |...=..C..ddataY.|
00000010 00 3d b8 f3 96 00 00 00 00 00 02 00 00 50 b2 01 |.=...........P..|
00000020 00 00 00 00 00 01 02 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 06 00 00 63 6f 66 66 00 63 |.clen.....coff.c|
00000220 73 68 61 58 20 5c dc 97 ac 0c aa 9e 06 3b 38 dd |shaX \.......;8.|
00000230 80 e9 c4 57 27 6c 23 b1 1c 0b 87 4a 85 ce 22 e1 |...W'l#....J..".|
00000240 e8 25 1a 28 ed |.%.(.|
DEBU[2018-11-08 16:39:41.156] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:68 Id:1}} Off:0 Len:393216 DataSha:[92 220 151 172 12 170 158 6 59 56 221 128 233 196 87 39 108 35 177 28 11 135 74 133 206 34 225 232 37 26 40 237] Data:[61 184 243 150 0 0 0 0 0 2 0 0 80 178 1 0 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 01 2e 3d b8 f3 96 00 00 00 |.ddataY..=......|
00000010 00 00 02 00 00 50 b2 01 00 00 00 00 00 01 02 00 |.....P..........|
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 63 6c 65 6e 1a 00 06 00 00 |.......clen.....|
00000140 63 6f 66 66 00 63 73 68 61 58 20 5c dc 97 ac 0c |coff.cshaX \....|
00000150 aa 9e 06 3b 38 dd 80 e9 c4 57 27 6c 23 b1 1c 0b |...;8....W'l#...|
00000160 87 4a 85 ce 22 e1 e8 25 1a 28 ed |.J.."..%.(.|
DEBU[2018-11-08 16:39:41.156] Encoded:
00000000 02 00 01 6b 00 01 44 01 a4 64 64 61 74 61 59 01 |...k..D..ddataY.|
00000010 2e 3d b8 f3 96 00 00 00 00 00 02 00 00 50 b2 01 |.=...........P..|
00000020 00 00 00 00 00 01 02 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 63 |...............c|
00000140 6c 65 6e 1a 00 06 00 00 63 6f 66 66 00 63 73 68 |len.....coff.csh|
00000150 61 58 20 5c dc 97 ac 0c aa 9e 06 3b 38 dd 80 e9 |aX \.......;8...|
00000160 c4 57 27 6c 23 b1 1c 0b 87 4a 85 ce 22 e1 e8 25 |.W'l#....J.."..%|
00000170 1a 28 ed |.(.|
DEBU[2018-11-08 16:39:41.156] {add-nmp-listener} [serial_sesn.go:217] seq=68
DEBU[2018-11-08 16:39:41.156] Encoded &{NmpBase:{hdr:{Op:2 Flags:0 Len:0 Group:1 Seq:68 Id:1}} Off:0 Len:393216 DataSha:[92 220 151 172 12 170 158 6 59 56 221 128 233 196 87 39 108 35 177 28 11 135 74 133 206 34 225 232 37 26 40 237] Data:[61 184 243 150 0 0 0 0 0 2 0 0 80 178 1 0 0 0 0 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 01 2e 3d b8 f3 96 00 00 00 |.ddataY..=......|
00000010 00 00 02 00 00 50 b2 01 00 00 00 00 00 01 02 00 |.....P..........|
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 63 6c 65 6e 1a 00 06 00 00 |.......clen.....|
00000140 63 6f 66 66 00 63 73 68 61 58 20 5c dc 97 ac 0c |coff.cshaX \....|
00000150 aa 9e 06 3b 38 dd 80 e9 c4 57 27 6c 23 b1 1c 0b |...;8....W'l#...|
00000160 87 4a 85 ce 22 e1 e8 25 1a 28 ed |.J.."..%.(.|
DEBU[2018-11-08 16:39:41.156] Encoded:
00000000 02 00 01 6b 00 01 44 01 a4 64 64 61 74 61 59 01 |...k..D..ddataY.|
00000010 2e 3d b8 f3 96 00 00 00 00 00 02 00 00 50 b2 01 |.=...........P..|
00000020 00 00 00 00 00 01 02 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 63 |...............c|
00000140 6c 65 6e 1a 00 06 00 00 63 6f 66 66 00 63 73 68 |len.....coff.csh|
00000150 61 58 20 5c dc 97 ac 0c aa 9e 06 3b 38 dd 80 e9 |aX \.......;8...|
00000160 c4 57 27 6c 23 b1 1c 0b 87 4a 85 ce 22 e1 e8 25 |.W'l#....J.."..%|
00000170 1a 28 ed |.(.|
DEBU[2018-11-08 16:39:41.156] Tx NMP request: 00000000 02 00 01 6b 00 01 44 01 a4 64 64 61 74 61 59 01 |...k..D..ddataY.|
00000010 2e 3d b8 f3 96 00 00 00 00 00 02 00 00 50 b2 01 |.=...........P..|
00000020 00 00 00 00 00 01 02 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 63 |...............c|
00000140 6c 65 6e 1a 00 06 00 00 63 6f 66 66 00 63 73 68 |len.....coff.csh|
00000150 61 58 20 5c dc 97 ac 0c aa 9e 06 3b 38 dd 80 e9 |aX \.......;8...|
00000160 c4 57 27 6c 23 b1 1c 0b 87 4a 85 ce 22 e1 e8 25 |.W'l#....J.."..%|
00000170 1a 28 ed |.(.|
DEBU[2018-11-08 16:39:41.156] Base64 encoding request:
00000000 02 00 01 6b 00 01 44 01 a4 64 64 61 74 61 59 01 |...k..D..ddataY.|
00000010 2e 3d b8 f3 96 00 00 00 00 00 02 00 00 50 b2 01 |.=...........P..|
00000020 00 00 00 00 00 01 02 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 63 |...............c|
00000140 6c 65 6e 1a 00 06 00 00 63 6f 66 66 00 63 73 68 |len.....coff.csh|
00000150 61 58 20 5c dc 97 ac 0c aa 9e 06 3b 38 dd 80 e9 |aX \.......;8...|
00000160 c4 57 27 6c 23 b1 1c 0b 87 4a 85 ce 22 e1 e8 25 |.W'l#....J.."..%|
00000170 1a 28 ed |.(.|
DEBU[2018-11-08 16:39:41.156] Tx serial
00000000 06 09 |..|
DEBU[2018-11-08 16:39:41.156] Tx serial
00000000 41 58 55 43 41 41 46 72 41 41 46 45 41 61 52 6b |AXUCAAFrAAFEAaRk|
00000010 5a 47 46 30 59 56 6b 42 4c 6a 32 34 38 35 59 41 |ZGF0YVkBLj2485YA|
00000020 41 41 41 41 41 41 49 41 41 46 43 79 41 51 41 41 |AAAAAAIAAFCyAQAA|
00000030 41 41 41 41 41 51 49 41 41 41 41 41 41 41 41 41 |AAAAAQIAAAAAAAAA|
00000040 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000050 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000060 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000070 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAA|
DEBU[2018-11-08 16:39:41.156] Tx serial
00000000 0a |.|
DEBU[2018-11-08 16:39:41.176] Tx serial
00000000 04 14 |..|
DEBU[2018-11-08 16:39:41.176] Tx serial
00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000010 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000020 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000030 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000040 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000050 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000060 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000070 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAA|
DEBU[2018-11-08 16:39:41.176] Tx serial
00000000 0a |.|
DEBU[2018-11-08 16:39:41.197] Tx serial
00000000 04 14 |..|
DEBU[2018-11-08 16:39:41.197] Tx serial
00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000010 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000020 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000030 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000040 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000050 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000060 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000070 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAA|
DEBU[2018-11-08 16:39:41.197] Tx serial
00000000 0a |.|
DEBU[2018-11-08 16:39:41.217] Tx serial
00000000 04 14 |..|
DEBU[2018-11-08 16:39:41.217] Tx serial
00000000 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000010 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000020 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 41 |AAAAAAAAAAAAAAAA|
00000030 41 41 41 41 41 41 41 41 59 32 78 6c 62 68 6f 41 |AAAAAAAAY2xlbhoA|
00000040 42 67 41 41 59 32 39 6d 5a 67 42 6a 63 32 68 68 |BgAAY29mZgBjc2hh|
00000050 57 43 42 63 33 4a 65 73 44 4b 71 65 42 6a 73 34 |WCBc3JesDKqeBjs4|
00000060 33 59 44 70 78 46 63 6e 62 43 4f 78 48 41 75 48 |3YDpxFcnbCOxHAuH|
00000070 53 6f 58 4f 49 75 48 6f 4a 52 6f 6f |SoXOIuHoJRoo|
DEBU[2018-11-08 16:39:41.217] Tx serial
00000000 0a |.|
DEBU[2018-11-08 16:39:41.237] Tx serial
00000000 04 14 |..|
DEBU[2018-11-08 16:39:41.237] Tx serial
00000000 37 57 42 37 |7WB7|
DEBU[2018-11-08 16:39:41.237] Tx serial
00000000 0a |.|
0 B / 384.00 KiB [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0.00%DEBU[2018-11-08 16:40:07.268] Rx serial:
0 B / 384.00 KiB [--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 0.00%DEBU[2018-11-08 16:40:41.237] {remove-nmp-listener} [serial_sesn.go:217] seq=68
DEBU[2018-11-08 16:40:41.238] goroutine 1 [running]:
mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util.NewNewtError(0xb08c08, 0xb, 0xb)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util/util.go:75 +0xd6
mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util.ChildNewtError(0xb9d800, 0xc0001510f0, 0xc000242000)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/mynewt.apache.org/newt/util/util.go:101 +0x85
mynewt.apache.org/newtmgr/newtmgr/cli.imageUploadCmd(0xc0001a58c0, 0xc000166500, 0x1, 0x8)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/newtmgr/cli/image.go:203 +0x3a4
mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).execute(0xc0001a58c0, 0xc0001d80e0, 0x8, 0xe, 0xc0001a58c0, 0xc0001d80e0)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:654 +0x2af
mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc0001a4000, 0xc0001a4480, 0xc0001a4240, 0xc000150010)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:729 +0x2cc
mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra.(*Command).Execute(0xc0001a4000, 0xb2be00, 0xc0000ae6c0)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/github.com/spf13/cobra/command.go:688 +0x2b
main.main()
/home/tburdick/go/src/github.com/apache/mynewt-mcumgr-cli/mcumgr/mcumgr.go:94 +0x10d
goroutine 19 [syscall]:
os/signal.signal_recv(0x0)
/usr/lib/go/src/runtime/sigqueue.go:139 +0x9c
os/signal.loop()
/usr/lib/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.init.0
/usr/lib/go/src/os/signal/signal_unix.go:29 +0x41
goroutine 34 [chan receive]:
main.main.func1(0xc0000ae6c0)
/home/tburdick/go/src/github.com/apache/mynewt-mcumgr-cli/mcumgr/mcumgr.go:82 +0x41
created by main.main
/home/tburdick/go/src/github.com/apache/mynewt-mcumgr-cli/mcumgr/mcumgr.go:80 +0x103
goroutine 35 [syscall]:
syscall.Syscall(0x0, 0x5, 0xc000249000, 0x1000, 0xc0000b1600, 0xc000034a00, 0x492311)
/usr/lib/go/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x5, 0xc000249000, 0x1000, 0x1000, 0xc0000b1601, 0x0, 0x0)
/usr/lib/go/src/syscall/zsyscall_linux_amd64.go:732 +0x5a
syscall.Read(0x5, 0xc000249000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go/src/syscall/syscall_unix.go:172 +0x49
internal/poll.(*FD).Read(0xc00014a480, 0xc000249000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/usr/lib/go/src/internal/poll/fd_unix.go:165 +0x119
os.(*File).read(0xc0001ae0b0, 0xc000249000, 0x1000, 0x1000, 0x1000, 0xc000249000, 0x0)
/usr/lib/go/src/os/file_unix.go:249 +0x4e
os.(*File).Read(0xc0001ae0b0, 0xc000249000, 0x1000, 0x1000, 0x9e58a0, 0xb9d501, 0xc000249000)
/usr/lib/go/src/os/file.go:108 +0x69
mynewt.apache.org/newtmgr/vendor/github.com/tarm/serial.(*Port).Read(0xc0001ae0b8, 0xc000249000, 0x1000, 0x1000, 0x1000, 0x1000, 0xc000166680)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/github.com/tarm/serial/serial_posix.go:180 +0x4c
bufio.(*Scanner).Scan(0xc000166680, 0xc000166680)
/usr/lib/go/src/bufio/scan.go:213 +0xa6
mynewt.apache.org/newtmgr/nmxact/nmserial.(*SerialXport).Rx(0xc0001b41e0, 0xc00005ef70, 0x0, 0x0, 0xb9d5e0, 0xc000184040)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_xport.go:291 +0x139
mynewt.apache.org/newtmgr/nmxact/nmserial.(*SerialXport).Start.func1(0xc0001b41e0)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_xport.go:130 +0xe7
created by mynewt.apache.org/newtmgr/nmxact/nmserial.(*SerialXport).Start
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_xport.go:122 +0x11c
goroutine 36 [select]:
mynewt.apache.org/newtmgr/nmxact/omp.(*Dispatcher).addOmpListener.func1(0xc00015c3c0, 0xc000164400)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/omp/dispatch.go:77 +0x17c
created by mynewt.apache.org/newtmgr/nmxact/omp.(*Dispatcher).addOmpListener
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/omp/dispatch.go:72 +0xb6
goroutine 37 [select]:
mynewt.apache.org/newtmgr/nmxact/omp.(*Dispatcher).addOmpListener.func1(0xc00015c440, 0xc000164500)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/omp/dispatch.go:77 +0x17c
created by mynewt.apache.org/newtmgr/nmxact/omp.(*Dispatcher).addOmpListener
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/omp/dispatch.go:72 +0xb6
goroutine 38 [select]:
mynewt.apache.org/newtmgr/nmxact/nmserial.(*SerialSesn).Open.func1(0xc000242000)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_sesn.go:105 +0x122
created by mynewt.apache.org/newtmgr/nmxact/nmserial.(*SerialSesn).Open
/home/tburdick/go/src/mynewt.apache.org/newtmgr/nmxact/nmserial/serial_sesn.go:101 +0x261
goroutine 39 [select]:
mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb.(*ProgressBar).refresher(0xc000244000)
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb/pb.go:462 +0xce
created by mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb.(*ProgressBar).Start
/home/tburdick/go/src/mynewt.apache.org/newtmgr/vendor/github.com/cheggaaa/pb/pb.go:123 +0xb7
Error: NMP timeout
DEBU[2018-11-08 16:40:41.239] OIC error: closed
DEBU[2018-11-08 16:40:41.239] {remove-oic-listener} [.:0] token=[]
make: *** [Makefile:160: mgmt_uart_image_upload] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment