Hi all!
I've been unsuccessfully trying to DFU the Smart Beacon Kit with the latest firmware.
Using the nRF51 DK and the TC2030 tag connect cable I was able to program the 7.1.0 Softdevice and the 1.1.0 bootloader (nrf51822_beacon_bootloader.hex, from Precompiled hex directory). After this, the led from the smart beacon blinks blue.
I generated the ZIP package using: "c:\Program Files\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf\nrf.exe" dfu genpkg zipfile.zip --application nrf51822_beacon_app.hex --application-version 0xffff --dev-revision 0xffff --sd-req 0x0064
Using the Master Control Panel I am able to discover the beacon. I pressed DFU and selected the ZIP file. After a while, it says: "Error during firmware update. Operation failed."
Looking at the log file, I can see the following messages, just after the 'Start DFU' received - success:
====================================================================
2659;11:25:56.0497 [681797885][MainThread] Sending 'INIT DFU' command
2660;11:25:56.0507 [681797885][MainThread] GATT: Sending Write Request on Characteristic Value uuid 0x15311212EFDE1523785FEABCD123 on handle=0010 2661;11:25:56.0507 [681797885][MainThread] WRITE DATA PACKET:05-00-04-00-12-10-00-02-00 2662;11:25:56.0507 [681797885][MainThread] Sending packet: AttWriteRequest, 12-10-00-02-00, Handle: 0x0010, Value: 02-00 2663;11:25:56.0513 [681797885][MainThread] Serial port write: 02-00-00-09-00-05-00-04-00-12-10-00-02-00 2664;11:25:56.0513 [681797885][MainThread] Data buffer queue length (+1): 1 2665;11:25:56.0513 [681797885][MainThread] Number of data packets sent: 12 2666;11:25:56.0603 [681797885][ReadPacketQueueThread] Serial port read: 04-13-05-01-00-00-01-00 2667;11:25:56.0603 [681797885][ReadPacketQueueThread] HCI event: BTLE_EVENT_NUMBER_OF_COMPLETED_PACKETS, NumberOfHandles: 1, ConnectionHandle: 0x0000, NumberOfPackets: 1 2668;11:25:56.0603 [681797885][ReadPacketQueueThread] Data buffer queue length: 0 2669;11:25:56.0803 [681797885][ReadPacketQueueThread] Serial port read: 02-00-20-05-00-01-00-04-00-13 2670;11:25:56.0803 [681797885][ReadPacketQueueThread] Received packet: AttWriteResponse, 13 2671;11:25:56.0964 [681797885][MainThread] GATT: Received <class 'protocol.Att.AttWriteResponse'> - [0x13] 2672;11:25:56.0964 [681797885][MainThread] GATT: Received Write Response 2673;11:25:56.0964 [681797885][MainThread] [11:25:56.096] [Emulator] Data sent on pipe number 2: 0x02 0x00
2674;11:25:56.0964 [681797885][MainThread] Data sent on pipe number 2: 0x02 0x00 2675;11:25:56.0975 [681797885][MainThread] Sending init data
2676;11:25:56.1027 [681797885][MainThread] GATT: Sending Write Command on Characteristic Value uuid 0x15321212EFDE1523785FEABCD123 on handle=000E 2677;11:25:56.1027 [681797885][MainThread] WRITE DATA PACKET:0F-00-04-00-52-0E-00-FF-FF-FF-FF-00-00-01-00-64-00-39-64 2678;11:25:56.1027 [681797885][MainThread] Sending packet: AttWriteCommand, 52-0E-00-FF-FF-FF-FF-00-00-01-00-64-00-39-64, Handle: 0x000E, Value: FF-FF-FF-FF-00-00-01-00-64-00-39-64 2679;11:25:56.1036 [681797885][MainThread] Serial port write: 02-00-00-13-00-0F-00-04-00-52-0E-00-FF-FF-FF-FF-00-00-01-00-64-00-39-64 2680;11:25:56.1036 [681797885][MainThread] Data buffer queue length (+1): 1 2681;11:25:56.1036 [681797885][MainThread] Number of data packets sent: 13 2682;11:25:56.1036 [681797885][MainThread] [11:25:56.103] [Emulator] Data sent on pipe number 1: 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x01 0x00 0x64 0x00 0x39 0x64
2683;11:25:56.1036 [681797885][MainThread] Data sent on pipe number 1: 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x01 0x00 0x64 0x00 0x39 0x64 2684;11:25:56.1036 [681797885][MainThread] Sending 'Init Packet Complete' command
2685;11:25:56.1047 [681797885][MainThread] GATT: Sending Write Request on Characteristic Value uuid 0x15311212EFDE1523785FEABCD123 on handle=0010 2686;11:25:56.1047 [681797885][MainThread] WRITE DATA PACKET:05-00-04-00-12-10-00-02-01 2687;11:25:56.1047 [681797885][MainThread] Sending packet: AttWriteRequest, 12-10-00-02-01, Handle: 0x0010, Value: 02-01 2688;11:25:56.1053 [681797885][MainThread] Serial port write: 02-00-00-09-00-05-00-04-00-12-10-00-02-01 2689;11:25:56.1053 [681797885][MainThread] Data buffer queue length (+1): 2 2690;11:25:56.1053 [681797885][MainThread] Number of data packets sent: 14 2691;11:25:56.1203 [681797885][ReadPacketQueueThread] Serial port read: 04-13-05-01-00-00-01-00 2692;11:25:56.1203 [681797885][ReadPacketQueueThread] HCI event: BTLE_EVENT_NUMBER_OF_COMPLETED_PACKETS, NumberOfHandles: 1, ConnectionHandle: 0x0000, NumberOfPackets: 1 2693;11:25:56.1203 [681797885][ReadPacketQueueThread] Data buffer queue length: 1 2694;11:25:56.1203 [681797885][ReadPacketQueueThread] Serial port read: 04-13-05-01-00-00-01-00 2695;11:25:56.1203 [681797885][ReadPacketQueueThread] HCI event: BTLE_EVENT_NUMBER_OF_COMPLETED_PACKETS, NumberOfHandles: 1, ConnectionHandle: 0x0000, NumberOfPackets: 1 2696;11:25:56.1203 [681797885][ReadPacketQueueThread] Data buffer queue length: 0 2697;11:25:56.1403 [681797885][ReadPacketQueueThread] Serial port read: 02-00-20-05-00-01-00-04-00-13 2698;11:25:56.1403 [681797885][ReadPacketQueueThread] Received packet: AttWriteResponse, 13 2699;11:25:56.1417 [681797885][ReadPacketQueueThread] Serial port read: 02-00-20-0A-00-06-00-04-00-1B-10-00-10-02-06 2700;11:25:56.1417 [681797885][ReadPacketQueueThread] Received packet: AttHandleValueNotification, 1B-10-00-10-02-06, Handle: 0x0010, Value: 10-02-06 2701;11:25:56.1427 [681797885][MainThread] GATT: Received <class 'protocol.Att.AttWriteResponse'> - [0x13] 2702;11:25:56.1427 [681797885][MainThread] GATT: Received Write Response 2703;11:25:56.1427 [681797885][MainThread] [11:25:56.142] [Emulator] Data sent on pipe number 2: 0x02 0x01
2704;11:25:56.1427 [681797885][MainThread] Data sent on pipe number 2: 0x02 0x01 2705;11:25:56.1437 [681797885] Response received for Request Op Code = 2
2706;11:25:56.1447 [681797885] Response for 'Initialize DFU Params' received - Status: Operation Failed
2707;11:25:56.1457 [681797885] Sending event 3.
2708;11:25:57.1486 [681797885] [11:25:57.148] Will disconnect now
====================================================================
It seems that the init DFU is failing... anybody knows why?
Cheers,
/rp