This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what version of nrf connect apk, can use for sdk 6.0.0

I use the sdk 6.0.0 dfu, and want to update firmware with smart phone. So,which nrfconnect and mcp version matches the sdk 6.0.0?

  • Hi Saber,

    nRFConnect on iOS and Android latest version should support all DFU versions.

    Have a look here to know which MCP on PC support SDK v6.0.

  • Thank you! I use nRFConnect on Android latest version,but it always stop at 91%,and then the nrf51822 restart with dfu time out !!! I modify the "nrf51_sdk_v6_0_0_43681\nrf51822\Board\nrf6310\device_firmware_updates\bootloader" project to match the pca10001 hardware.How to solve this problem!!!

  • I assume you selected no Init packet when you do DFU. Which application did you use for testing DFU. I suggest you to test with one of our example.

    When you mentioned "nrf51822 restart with dfu time out" how did you find that ? Could you send the log ?

    Could you read the laser marking on top of the chip of the PCA10001 ?

    Is there particular reason that you need to use SDK v6.0 ? We strongly suggest you to move to more up-to-date SDK and softdevice. The SDK v6.0 is really old, must be 3-4 years old, it's not recommended for new product development. The current SDK is v14.0.

  • When I use nRFConnect android v4.30,it works well.When I use nRFConnect14.14,it stop at 90%.There is the log:

    nRF Connect, 2017-10-10
    

    DfuTarg (E7:B5:5D:4E:DC:E2) V 09:21:35.382 Connecting to E7:B5:5D:4E:DC:E2... D 09:21:35.384 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 09:21:35.673 [Callback] Connection state changed with status: 0 and new state: CONNECTED (2) I 09:21:35.674 Connected to E7:B5:5D:4E:DC:E2 D 09:21:35.677 [Broadcast] Action received: android.bluetooth.device.action.ACL_CONNECTED V 09:21:35.692 Discovering services... D 09:21:35.692 gatt.discoverServices() D 09:21:36.178 [Callback] Services discovered with status: 0 I 09:21:36.180 Services discovered V 09:21:36.202 Generic Access (0x1800)

    • Device Name [R W] (0x2A00)
    • Appearance [R] (0x2A01)
    • Peripheral Preferred Connection Parameters [R] (0x2A04) Generic Attribute (0x1801) Device Firmware Update Service (00001530-1212-efde-1523-785feabcd123)
    • DFU Packet [WNR] (00001532-1212-efde-1523-785feabcd123)
    • DFU Control Point [N W] (00001531-1212-efde-1523-785feabcd123)    Client Characteristic Configuration (0x2902) V 09:21:52.967 [DFU] DFU service started V 09:21:52.967 [DFU] Opening file... I 09:21:52.967 [DFU] Image file opened (38804 bytes in total) D 09:21:52.967 [DFU] wait(1000) D 09:21:53.986 [DFU] wait(1000) V 09:21:54.982 [DFU] Connecting to DFU target... D 09:21:54.982 [DFU] gatt = device.connectGatt(autoConnect = false) I 09:21:55.000 [DFU] Connected to E7:B5:5D:4E:DC:E2 V 09:21:55.000 [DFU] Discovering services... D 09:21:55.000 [DFU] gatt.discoverServices() I 09:21:55.015 [DFU] Services discovered D 09:21:55.053 [DFU] wait(1000) A 09:21:56.081 [DFU] DFU Version characteristic not found D 09:21:56.081 [DFU] wait(1000) V 09:21:57.060 [DFU] Enabling notifications for 00001531-1212-efde-1523-785feabcd123 D 09:21:57.060 [DFU] gatt.setCharacteristicNotification(00001531-1212-efde-1523-785feabcd123, true) D 09:21:57.060 [DFU] gatt.writeDescriptor(00002902-0000-1000-8000-00805f9b34fb, value=0x01-00) I 09:21:57.109 [DFU] Data written to descr.00001531-1212-efde-1523-785feabcd123, value (0x): 01-00 V 09:21:57.109 [DFU] Notifications enabled for 00001531-1212-efde-1523-785feabcd123 A 09:21:57.109 [DFU] Notifications enabled D 09:21:57.109 [DFU] wait(1000) V 09:21:58.105 [DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123 D 09:21:58.105 [DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123) I 09:21:58.139 [DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 01-04 A 09:21:58.139 [DFU] DFU Start sent (Op Code = 1, Upload Mode = 4) V 09:21:58.139 [DFU] Writing to characteristic 00001532-1212-efde-1523-785feabcd123 D 09:21:58.139 [DFU] gatt.writeCharacteristic(00001532-1212-efde-1523-785feabcd123) I 09:21:58.139 [DFU] Data written to 00001532-1212-efde-1523-785feabcd123, value (0x): 00-00-00-00-00-00-00-00-94-97-00-00 A 09:21:58.139 [DFU] Firmware image size sent (0b, 0b, 38804b) I 09:21:58.186 [DFU] Notification received from 00001531-1212-efde-1523-785feabcd123, value (0x): 10-01-03 A 09:21:58.186 [DFU] Response received (Op Code = 1 Status = 3) W 09:21:58.186 [DFU] DFU target does not support DFU v.2 V 09:21:58.186 [DFU] Switching to DFU v.1 V 09:21:58.186 [DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123 D 09:21:58.186 [DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123) I 09:21:58.206 [DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 01-04 A 09:21:58.206 [DFU] DFU Start sent (Op Code = 1) V 09:21:58.206 [DFU] Writing to characteristic 00001532-1212-efde-1523-785feabcd123 D 09:21:58.206 [DFU] gatt.writeCharacteristic(00001532-1212-efde-1523-785feabcd123) I 09:21:58.206 [DFU] Data written to 00001532-1212-efde-1523-785feabcd123, value (0x): 94-97-00-00 A 09:21:58.206 [DFU] Firmware image size sent (38804 bytes) I 09:21:58.239 [DFU] Notification received from 00001531-1212-efde-1523-785feabcd123, value (0x): 10-01-01 A 09:21:58.239 [DFU] Response received (Op Code = 1, Status = 1) V 09:21:58.239 [DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123 D 09:21:58.239 [DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123) I 09:21:58.256 [DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 08-0A-00 A 09:21:58.256 [DFU] Packet Receipt Notif Req (Op Code = 8) sent (Value = 10) V 09:21:58.256 [DFU] Writing to characteristic 00001531-1212-efde-1523-785feabcd123 D 09:21:58.256 [DFU] gatt.writeCharacteristic(00001531-1212-efde-1523-785feabcd123) I 09:21:58.309 [DFU] Data written to 00001531-1212-efde-1523-785feabcd123, value (0x): 03 A 09:21:58.309 [DFU] Receive Firmware Image request sent A 09:21:58.310 [DFU] Uploading firmware... V 09:21:58.310 [DFU] Sending firmware to characteristic 00001532-1212-efde-1523-785feabcd123... D 09:23:25.622 [Callback] Connection state changed with status: 19 and new state: DISCONNECTED (0) W 09:23:25.622 Connection terminated by peer (status 19) I 09:23:25.622 Disconnected D 09:23:25.626 gatt.refresh() (hidden) E 09:23:25.669 [DFU] Device has disconnected D 09:23:25.669 [DFU] gatt.close() D 09:23:25.670 gatt.close() D 09:23:25.671 wait(200) V 09:23:25.874 Connecting to E7:B5:5D:4E:DC:E2... D 09:23:25.874 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 09:23:26.140 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED I 09:23:26.195 Disconnected
  • I use another smart phone with v4.14, and it works well.

Related