Ah, no microbit is logging an exception
Jacobs-MacBook-Air:chippd3 jacobrosenthal$ newtmgr image test
d030287bbf70c662fb6e1331fea8e91aab5e161fc82e42020f38d1fd3d700697 -c1412
-ldebug -t
2017/03/04 14:30:19 [DEBUG] Writing newtmgr request &{Op:2 Flags:0 Len:49
Group:1 Seq:0 Id:0 Data:[162 103 99 111 110 102 105 114 109 244 100 104 97
115 104 88 32 208 48 40 123 191 112 198 98 251 110 19 49 254 168 233 26 171
94 22 31 200 46 66 2 15 56 209 253 61 112 6 151]}
2017/03/04 14:30:19 [DEBUG] Serializing request &{Op:2 Flags:0 Len:49
Group:1 Seq:0 Id:0 Data:[162 103 99 111 110 102 105 114 109 244 100 104 97
115 104 88 32 208 48 40 123 191 112 198 98 251 110 19 49 254 168 233 26 171
94 22 31 200 46 66 2 15 56 209 253 61 112 6 151]} into buffer [2 0 0 49 0 1
0 0 162 103 99 111 110 102 105 114 109 244 100 104 97 115 104 88 32 208 48
40 123 191 112 198 98 251 110 19 49 254 168 233 26 171 94 22 31 200 46 66 2
15 56 209 253 61 112 6 151]
2017/03/04 14:30:19 [DEBUG] Tx packet dump:
00000000 02 00 00 31 00 01 00 00 a2 67 63 6f 6e 66 69 72
|...1.....gconfir|
00000010 6d f4 64 68 61 73 68 58 20 d0 30 28 7b bf 70 c6 |m.dhashX
.0({.p.|
00000020 62 fb 6e 13 31 fe a8 e9 1a ab 5e 16 1f c8 2e 42
|b.n.1.....^....B|
00000030 02 0f 38 d1 fd 3d 70 06 97 |..8..=p..|
2017/03/04 14:30:19 [INFO] Outgoing:
00000000 06 09 |..|
2017/03/04 14:30:19 [DEBUG] Writing [6 9] to data channel
2017/03/04 14:30:19 [INFO] Outgoing:
00000000 41 44 73 43 41 41 41 78 41 41 45 41 41 4b 4a 6e
|ADsCAAAxAAEAAKJn|
00000010 59 32 39 75 5a 6d 6c 79 62 66 52 6b 61 47 46 7a
|Y29uZmlybfRkaGFz|
00000020 61 46 67 67 30 44 41 6f 65 37 39 77 78 6d 4c 37
|aFgg0DAoe79wxmL7|
00000030 62 68 4d 78 2f 71 6a 70 47 71 74 65 46 68 2f 49
|bhMx/qjpGqteFh/I|
00000040 4c 6b 49 43 44 7a 6a 52 2f 54 31 77 42 70 63 4b
|LkICDzjR/T1wBpcK|
00000050 71 51 3d 3d |qQ==|
2017/03/04 14:30:19 [DEBUG] Writing [65 68 115 67 65 65 65 120 65 65 69 65
65 75 74 110 89 50 57 117 90 109 108 121 98 102 82 107 97 71 70 122 97 70
103 103 48 68 65 111 101 55 57 119 120 109 76 55 98 104 77 120 47 113 106
112 71 113 116 101 70 104 47 73 76 107 73 67 68 122 106 82 47 84 49 119 66
112 99 75 113 81 61 61] to data channel
2017/03/04 14:30:19 [INFO] Outgoing:
00000000 0a |.|
2017/03/04 14:30:19 [DEBUG] Writing [10] to data channel
2017/03/04 14:30:19 [INFO] Incoming:
00000000 06 09 41 44 73 43 41 41 41 78 41 41 45 41 41 4b
|..ADsCAAAxAAEAAK|
00000010 4a 6e 59 32 39 75 5a 6d 6c 79 62 66 52 6b 61 47
|JnY29uZmlybfRkaG|
00000020 46 7a 61 46 67 67 30 44 41 6f 65 37 39 77 78 6d
|FzaFgg0DAoe79wxm|
00000030 4c 37 62 68 4d 78 2f 71 6a 70 47 71 74 65 46 68
|L7bhMx/qjpGqteFh|
00000040 2f 49 4c 6b 49 43 44 7a 6a 52 2f 54 31 77 42 70
|/ILkICDzjR/T1wBp|
00000050 63 4b 71 51 3d 3d |cKqQ==|
2017/03/04 14:30:19 [DEBUG] Reading [6 9 65 68 115 67 65 65 65 120 65 65 69
65 65 75 74 110 89 50 57 117 90 109 108 121 98 102 82 107 97 71 70 122 97
70 103 103 48 68 65 111 101 55 57 119 120 109 76 55 98 104 77 120 47 113
106 112 71 113 116 101 70 104 47 73 76 107 73 67 68 122 106 82 47 84 49 119
66 112 99 75 113 81 61 61] from data channel
2017/03/04 14:30:19 [DEBUG] Rx packet dump:
00000000 02 00 00 31 00 01 00 00 a2 67 63 6f 6e 66 69 72
|...1.....gconfir|
00000010 6d f4 64 68 61 73 68 58 20 d0 30 28 7b bf 70 c6 |m.dhashX
.0({.p.|
00000020 62 fb 6e 13 31 fe a8 e9 1a ab 5e 16 1f c8 2e 42
|b.n.1.....^....B|
00000030 02 0f 38 d1 fd 3d 70 06 97 |..8..=p..|
2017/03/04 14:30:19 [DEBUG] Deserialized response &{Op:2 Flags:0 Len:49
Group:1 Seq:0 Id:0 Data:[162 103 99 111 110 102 105 114 109 244 100 104 97
115 104 88 32 208 48 40 123 191 112 198 98 251 110 19 49 254 168 233 26 171
94 22 31 200 46 66 2 15 56 209 253 61 112 6 151]}
2017/03/04 14:30:19 [INFO] Incoming:
00000000 0d 31 32 30 37 3a 55 6e 68 61 6e 64 6c 65 64 20
|.1207:Unhandled |
00000010 69 6e 74 65 72 72 75 70 74 20 28 33 29 2c 20 65 |interrupt (3),
e|
00000020 78 63 65 70 74 69 6f 6e 20 73 70 20 30 78 32 30 |xception sp
0x20|
00000030 30 30 33 66 33 38 |003f38|
2017/03/04 14:30:19 [DEBUG] Reading [49 50 48 55 58 85 110 104 97 110 100
108 101 100 32 105 110 116 101 114 114 117 112 116 32 40 51 41 44 32 101
120 99 101 112 116 105 111 110 32 115 112 32 48 120 50 48 48 48 51 102 51
56] from data channel
2017/03/04 14:30:19 [INFO] Incoming:
00000000 31 32 30 37 3a 20 72 30 3a 30 78 30 30 30 30 30 |1207:
r0:0x00000|
00000010 30 30 31 20 20 72 31 3a 30 78 30 30 30 30 30 30 |001
r1:0x000000|
00000020 37 66 20 20 72 32 3a 30 78 30 30 30 30 30 30 30 |7f
r2:0x0000000|
00000030 65 20 20 72 33 3a 30 78 32 30 30 30 30 34 34 30 |e
r3:0x20000440|
2017/03/04 14:30:19 [DEBUG] Reading [49 50 48 55 58 32 114 48 58 48 120 48
48 48 48 48 48 48 49 32 32 114 49 58 48 120 48 48 48 48 48 48 55 102 32 32
114 50 58 48 120 48 48 48 48 48 48 48 101 32 32 114 51 58 48 120 50 48 48
48 48 52 52 48] from data channel
2017/03/04 14:30:19 [INFO] Incoming:
00000000 31 32 30 37 3a 20 72 34 3a 30 78 32 30 30 30 32 |1207:
r4:0x20002|
00000010 34 35 63 20 20 72 35 3a 30 78 30 30 30 30 30 30 |45c
r5:0x000000|
00000020 30 30 20 20 72 36 3a 30 78 30 30 30 30 30 30 30 |00
r6:0x0000000|
00000030 31 20 20 72 37 3a 30 78 30 30 30 30 30 30 30 31 |1
r7:0x00000001|
2017/03/04 14:30:19 [DEBUG] Reading [49 50 48 55 58 32 114 52 58 48 120 50
48 48 48 50 52 53 99 32 32 114 53 58 48 120 48 48 48 48 48 48 48 48 32 32
114 54 58 48 120 48 48 48 48 48 48 48 49 32 32 114 55 58 48 120 48 48 48 48
48 48 48 49] from data channel
2017/03/04 14:30:19 [INFO] Incoming:
00000000 31 32 30 37 3a 20 72 38 3a 30 78 66 66 66 66 66 |1207:
r8:0xfffff|
00000010 66 66 66 20 20 72 39 3a 30 78 66 66 66 66 66 66 |fff
r9:0xffffff|
00000020 66 66 20 72 31 30 3a 30 78 66 66 66 66 66 66 66 |ff
r10:0xfffffff|
00000030 66 20 72 31 31 3a 30 78 66 66 66 66 66 66 66 66 |f
r11:0xffffffff|
2017/03/04 14:30:19 [DEBUG] Reading [49 50 48 55 58 32 114 56 58 48 120 102
102 102 102 102 102 102 102 32 32 114 57 58 48 120 102 102 102 102 102 102
102 102 32 114 49 48 58 48 120 102 102 102 102 102 102 102 102 32 114 49 49
58 48 120 102 102 102 102 102 102 102 102] from data channel
2017/03/04 14:30:19 [INFO] Incoming:
00000000 31 32 30 37 3a 72 31 32 3a 30 78 64 33 35 63 64
|1207:r12:0xd35cd|
00000010 64 61 66 20 20 6c 72 3a 30 78 30 30 30 30 38 64 |daf
lr:0x00008d|
00000020 62 64 20 20 70 63 3a 30 78 30 30 30 30 38 64 64 |bd
pc:0x00008dd|
00000030 38 20 70 73 72 3a 30 78 38 31 30 30 30 30 31 38 |8
psr:0x81000018|
2017/03/04 14:30:19 [DEBUG] Reading [49 50 48 55 58 114 49 50 58 48 120 100
51 53 99 100 100 97 102 32 32 108 114 58 48 120 48 48 48 48 56 100 98 100
32 32 112 99 58 48 120 48 48 48 48 56 100 100 56 32 112 115 114 58 48 120
56 49 48 48 48 48 49 56] from data channel
2017/03/04 14:30:19 [INFO] Incoming:
00000000 31 32 30 37 3a 49 43 53 52 3a 30 78 30 30 34 32
|1207:ICSR:0x0042|
00000010 31 30 30 33 |1003|
2017/03/04 14:30:19 [DEBUG] Reading [49 50 48 55 58 73 67 83 82 58 48 120
48 48 52 50 49 48 48 51] from data channel
On Sat, Mar 4, 2017 at 2:10 PM, Jacob Rosenthal <[email protected]>
wrote:
> I checked out the microbit target in upstream which is probably damn near
> identical to my tinyble target, and it similarly hangs.
>
> They share the same programmer, mbed firmware with cmsisdap hid endpoint,
> so I wonder if its a transport issue not a dep issue.
>
>
>
> On Wed, Feb 22, 2017 at 4:50 PM, Christopher Collins <[email protected]>
> wrote:
>
>> On Wed, Feb 22, 2017 at 04:08:00PM -0700, Jacob Rosenthal wrote:
>> > I can shell to both boards and send and receive characters, so I know
>> uart
>> > is ok.
>> [...]
>>
>> Hmm... I don't see any problems with your config. I am able to use
>> newtmgr over serial with a similar target:
>>
>> targets/blesplit-nrf52dk
>> app=apps/blesplit
>> bsp=hw/bsp/nrf52dk
>> build_profile=debug
>> loader=apps/bleprph
>> syscfg=SHELL_TASK=1
>>
>> To get it working, I needed to make the following changes:
>>
>> 1. Add dependency to target's pkg.yml file:
>> - mgmt/newtmgr/transport/nmgr_shell
>>
>> 2. Add SHELL_TEST=1 syscfg override to target's syscfg.yml file.
>>
>> Your target already has both of these changes, though.
>>
>> Was this working and then suddenly broke? Or has this newtmgr over
>> serial never worked for this target?
>>
>> I don't know that it helps any, but for completeness I'm attaching my
>> dep, revdep, and config.
>>
>> (Btw, I noticed a bug in the revdep output. All packages should be
>> included in the list, but packages with no dependers, e.g., bsp, are
>> missing).
>>
>> Chris
>>
>
>