Good day to all
I am trying to change the Application on a device with an nRF52832 chip with an existing firmware. To do this, I use nRF Connect for Mobile 4.25.3. From the nRF5 SDK 17.1.0 examples/ble_peripheral/ble_app_beacon, I used ble_app_beacon_pca10040_s 132.hex and created it through nrfutil 5.2.0.a zip file of the firmware with the key I generated.
When I try to update the firmware via DFU, I get the following errors:
E 23:02:42.318 [DFU] Remote DFU error: INVALID OBJECT
V 23:02:42.318 [DFU] Disconnecting...
D 23:02:42.329 [DFU] gatt.disconnect()
I 23:02:42.342 [DFU] Disconnected
D 23:02:42.342 [DFU] gatt.refresh() (hidden)
D 23:02:42.345 [DFU] gatt.disconnect()
D 23:02:42.346 [DFU] gatt.close()
D 23:02:42.347 [DFU] wait(600)
D 23:02:42.822 [Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I 23:02:42.824 [Server] Device disconnected
D 23:02:42.836 [Callback] Connection state changed with status: 8 and new state: DISCONNECTED (0)
E 23:02:42.838 Error 8 (0x8): GATT CONN TIMEOUT
I 23:02:42.838 Disconnected
D 23:02:42.862 [Broadcast] Action received: android.bluetooth.device.action.ACL_DISCONNECTED
D 23:02:42.949 gatt.close()
D 23:02:42.950 wait(200)
V 23:02:43.151 Connecting to F3:C3:23:D3:0C:24...
D 23:02:43.151 gatt = device.connectGatt(autoConnect = false, TRANSPORT_LE, preferred PHY = LE 1M)
D 23:03:13.167 [Server callback] Connection state changed with status: 0 and new state: DISCONNECTED (0)
I 23:03:13.167 [Server] Device disconnected
D 23:03:13.170 [Callback] Connection state changed with status: 133 and new state: DISCONNECTED (0)
E 23:03:13.170 Error 133 (0x85): GATT ERROR
I 23:03:13.170 Disconnected
What am I doing wrong? Can you tell me how to update the firmware?