Hi,

Does any one have problem running the bleuart example?

When I run it, it crashes in the end with Unhandled interrupt error. (I am 
using bmd300eval)
I got the following debug output:


0:[ts=0ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x03 len=0
2:[ts=15624ssb, mod=4 level=0] 0x03 0x0c 0x00
3:[ts=23436ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x3 
status=0
5:[ts=39060ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x01 len=8
7:[ts=54684ssb, mod=4 level=0] 0x01 0x0c 0x08 0xff 0xff 0xff 0xff 0xff 0x9f 
0x00 0x20
9:[ts=70308ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x1 
status=0
11:[ts=85932ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x63 len=8
14:[ts=109368ssb, mod=4 level=0] 0x63 0x0c 0x08 0x00 0x00 0x80 0x00 0x00 0x00 
0x00 0x00
16:[ts=124992ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x63 
status=0
18:[ts=140616ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x01 len=8
20:[ts=156240ssb, mod=4 level=0] 0x01 0x20 0x08 0x7f 0x02 0x00 0x00 0x00 0x00 
0x00 0x00
23:[ts=179676ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x1 
status=0
25:[ts=195300ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x02 len=0
27:[ts=210924ssb, mod=4 level=0] 0x02 0x20 0x00
28:[ts=218736ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2 
status=0
31:[ts=242172ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x03 len=0
33:[ts=257796ssb, mod=4 level=0] 0x03 0x20 0x00
34:[ts=265608ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x3 
status=0
36:[ts=281232ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x04 ocf=0x09 len=0
38:[ts=296856ssb, mod=4 level=0] 0x09 0x10 0x00
39:[ts=304668ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x4 ocf=0x9 
status=0 bd_addr=ad:aa:ba:ad:aa:ba
43:[ts=335916ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x2d len=1
45:[ts=351540ssb, mod=4 level=0] 0x2d 0x20 0x01 0x00
46:[ts=359352ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2d 
status=0
48:[ts=374976ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x29 len=0
51:[ts=398412ssb, mod=4 level=0] 0x29 0x20 0x00
52:[ts=406224ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x29 
status=0
54:[ts=421848ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x2d len=1
56:[ts=437472ssb, mod=4 level=0] 0x2d 0x20 0x01 0x01
58:[ts=453096ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2d 
status=0
60:[ts=468720ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x27 len=39
62:[ts=484344ssb, mod=4 level=0] 0x27 0x20 0x27 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0xef 0x8d 0xe2 0x16 0x4f 0xec 0x43 0x0d 0xbf 0x5b 0xdd 0x34 0
69:[ts=539028ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x27 
status=0
71:[ts=554652ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x07 len=0
73:[ts=570276ssb, mod=4 level=0] 0x07 0x20 0x00
74:[ts=578088ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x7 
status=0
77:[ts=601524ssb0:[ts=0ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 
ocf=0x03 len=0
2:[ts=15624ssb, mod=4 level=0] 0x03 0x0c 0x00
3:[ts=23436ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x3 
status=0
5:[ts=39060ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x01 len=8
7:[ts=54684ssb, mod=4 level=0] 0x01 0x0c 0x08 0xff 0xff 0xff 0xff 0xff 0x9f 
0x00 0x20
9:[ts=70308ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x1 
status=0
11:[ts=85932ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x63 len=8
14:[ts=109368ssb, mod=4 level=0] 0x63 0x0c 0x08 0x00 0x00 0x80 0x00 0x00 0x00 
0x00 0x00
16:[ts=124992ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x63 
status=0
18:[ts=140616ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x01 len=8
20:[ts=156240ssb, mod=4 level=0] 0x01 0x20 0x08 0x7f 0x02 0x00 0x00 0x00 0x00 
0x00 0x00
22:[ts=171864ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x1 
status=0
25:[ts=195300ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x02 len=0
27:[ts=210924ssb, mod=4 level=0] 0x02 0x20 0x00
28:[ts=218736ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2 
status=0
0:[ts=0ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x03 len=0
2:[ts=15624ssb, mod=4 level=0] 0x03 0x0c 0x00
3:[ts=23436ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x3 
status=0
5:[ts=39060ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x01 len=8
7:[ts=54684ssb, mod=4 level=0] 0x01 0x0c 0x08 0xff 0xff 0xff 0xff 0xff 0x9f 
0x00 0x20
9:[ts=70308ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x1 
status=0
11:[ts=85932ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x03 ocf=0x63 len=8
14:[ts=109368ssb, mod=4 level=0] 0x63 0x0c 0x08 0x00 0x00 0x80 0x00 0x00 0x00 
0x00 0x00
16:[ts=124992ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x3 ocf=0x63 
status=0
18:[ts=140616ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x01 len=8
20:[ts=156240ssb, mod=4 level=0] 0x01 0x20 0x08 0x7f 0x02 0x00 0x00 0x00 0x00 
0x00 0x00
22:[ts=171864ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x1 
status=0
25:[ts=195300ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x02 len=0
27:[ts=210924ssb, mod=4 level=0] 0x02 0x20 0x00
28:[ts=218736ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2 
status=0
30:[ts=234360ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x03 len=0
32:[ts=249984ssb, mod=4 level=0] 0x03 0x20 0x00
34:[ts=265608ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x3 
status=0
36:[ts=281232ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x04 ocf=0x09 len=0
38:[ts=296856ssb, mod=4 level=0] 0x09 0x10 0x00
39:[ts=304668ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x4 ocf=0x9 
status=0 bd_addr=ad:aa:ba:ad:aa:ba
42:[ts=328104ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x2d len=1
44:[ts=343728ssb, mod=4 level=0] 0x2d 0x20 0x01 0x00
46:[ts=359352ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2d 
status=0
48:[ts=374976ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x29 len=0
50:[ts=390600ssb, mod=4 level=0] 0x29 0x20 0x00
51:[ts=398412ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x29 
status=0
54:[ts=421848ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x2d len=1
56:[ts=437472ssb, mod=4 level=0] 0x2d 0x20 0x01 0x01
57:[ts=445284ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x2d 
status=0
59:[ts=460908ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x27 len=39
62:[ts=484344ssb, mod=4 level=0] 0x27 0x20 0x27 0x00 0x00 0x00 0x00 0x00 0x00 
0x00 0xef 0x8d 0xe2 0x16 0x4f 0xec 0x43 0x0d 0xbf 0x5b 0xdd 0x34 0
68:[ts=531216ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x27 
status=0
70:[ts=546840ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x07 len=0
72:[ts=562464ssb, mod=4 level=0] 0x07 0x20 0x00
73:[ts=570276ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x7 
status=0
76:[ts=593712ssb, mod=4 level=1] GAP procedure initiated: advertise; 
disc_mode=0 peer_addr_type=0 peer_addr=none adv_channel_map=0 own_addr_type1
82:[ts=640584ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x06 len=15
84:[ts=656208ssb, mod=4 level=0] 0x06 0x20 0x0f 0x30 0x00 0x60 0x00 0x00 0x00 
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x07 0x00
87:[ts=679644ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x6 
status=0
89:[ts=695268ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x08 len=32
92:[ts=718704ssb, mod=4 level=0] 0x08 0x20 0x20 0x18 0x11 0x07 0x9e 0xca 0xdc 
0x24 0x0e 0xe5 0xa9 0xe0 0x93 0xf3 0xa3 0xb5 0x01 0x00 0x40 0x6e 0
97:[ts=757764ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x8 
status=0
99:[ts=773388ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x09 len=32
102:[ts=796824ssb, mod=4 level=0] 0x09 0x20 0x20 0x10 0x0f 0x09 0x4d 0x79 0x6e 
0x65 0x77 0x74 0x5f 0x42 0x4c 0x45 0x75 0x61 0x72 0x74 0x00 0x00
108:[ts=843696ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0x9 
status=0
110:[ts=859320ssb, mod=4 level=0] ble_hs_hci_cmd_send: ogf=0x08 ocf=0x0a len=1
112:[ts=874944ssb, mod=4 level=0] 0x0a 0x20 0x01 0x01
113:[ts=882756ssb, mod=4 level=0] Command complete: cmd_pkts=1 ogf=0x8 ocf=0xa 
status=0
116:Unhandled interrupt (3), exception sp 0x200008e8
116: r0:0x00000000  r1:0x200019a0  r2:0x20002d3c  r3:0x00000000
116: r4:0x20000908  r5:0x200008c8  r6:0x20002a00  r7:0x00023e30
116: r8:0x00000000  r9:0x0000825d r10:0x20000000 r11:0x00000000
116:r12:0x00000000  lr:0x00008a49  pc:0x00000000 psr:0x00000000
116:ICSR:0x00421803 HFSR:0x40000000 CFSR:0x00020000
116:BFAR:0xe000ed38 MMFAR:0xe000ed34

Best Regards,

Chew

Reply via email to