Other Parts Discussed in Thread: CC2650STK
I am developing on top of ble_sdk_2_02_01_18 .
If I JTAG-flash ble_sdk_2_02_01_18\examples\hex\cc2650stk_sensortag_rel.hex to a SensorTag board, and then connect to it using BLE Device Monitor, it reports a Firmware Revision String of "1.40 (Oct 26 2016)". If I click on File > Program (OAD), it presents me with an "OAD Programming" tab as I would expect, with these events in the verbose log:
13:53:19.576 > WriteChar.[2902]: v=0001 13:53:19.626 > Command Status: 00 FD92 [len=0] 13:53:19.628 > WriteRsp[2902]: st=0 n=0 13:53:19.628 > WriteChar.[CCC2,8]: 06 00 06 00 00 00 32 00 13:53:19.632 > Command Status: 00 FD92 [len=0] 13:53:19.650 > WriteRsp[CCC2]: st=0 n=0 13:53:19.651 > WriteChar.[2902]: v=0001 13:53:19.654 > Command Status: 00 FD92 [len=0] 13:53:19.669 > WriteRsp[2902]: st=0 n=0 13:53:19.669 > WriteChar.[2902]: v=0001 13:53:19.674 > Command Status: 00 FD92 [len=0] 13:53:19.684 > WriteRsp[2902]: st=0 n=0 13:53:19.685 > WriteChar.[2902]: v=0001 13:53:19.691 > Command Status: 00 FD92 [len=0] 13:53:19.700 > GAP Link Param Update: 0 0 6 0 50 13:53:19.700 > Connection parameters updated 13:53:19.706 > WriteRsp[2902]: st=0 n=0 13:53:19.706 > WriteChar.[2902]: v=0001 13:53:19.709 > Notif.[CCC1]: st=0 n=6 06 00 00 00 32 00 13:53:19.710 > Connection parameters updated 13:53:19.714 > Command Status: 00 FD92 [len=0] 13:53:19.721 > WriteRsp[2902]: st=0 n=0 13:53:19.721 > WriteChar.[FFC1]: v=00 13:53:19.725 > Command Status: 00 FD92 [len=0] 13:53:19.736 > WriteRsp[FFC1]: st=0 n=0 13:53:19.984 > Notif.[FFC2]: st=0 n=2 00 00
But if I build the sensortag project from the source (in that same ble_sdk release), JTAG-flash it to the same board, and then connect to it using BLE Device Monitor, it reports a Firmware Revision String of "1.40 (Feb 6 2018)". If I click on File > Program (OAD), I don't even get to the "OAD Programming" tab. Instead, I get a "WriteRsp failure" message and the SensorTag disconnects. Here's what I see in the verbose log:
14:03:08.656 > WriteChar.[2902]: v=0001 14:03:08.711 > Command Status: 00 FD92 [len=0] 14:03:08.713 > WriteRsp[2902]: st=0 n=0 14:03:08.713 > WriteChar.[CCC2,8]: 06 00 06 00 00 00 32 00 14:03:08.718 > Command Status: 00 FD92 [len=0] 14:03:08.745 > WriteRsp[CCC2]: st=0 n=0 14:03:08.746 > WriteChar.[2902]: v=0001 14:03:08.749 > Command Status: 00 FD92 [len=0] 14:03:08.771 > WriteRsp[2902]: st=0 n=0 14:03:08.771 > WriteChar.[2902]: v=0001 14:03:08.774 > Command Status: 00 FD92 [len=0] 14:03:08.794 > GAP Link Param Update: 0 0 6 0 50 14:03:08.795 > Connection parameters updated 14:03:08.799 > WriteRsp[2902]: st=0 n=0 14:03:08.799 > WriteChar.[2902]: v=0001 14:03:08.802 > Command Status: 00 FD92 [len=0] 14:03:09.304 > WriteRsp[2902]: st=20 n=0 14:03:09.305 > WriteRsp failed 14:03:09.391 > GAP Link Terminated: status=0 h=0 reason=0x08 14:03:09.391 > Supervision timeout 14:03:09.393 > CC2650 SensorTag disconnected
I am running BLE Device Monitor 2.7.0. (I believe 2.8.0 is out now, but if my past experience is any guide, updating that may cause more problems than solutions.)
Anybody know what causes this?