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

Signing update rejected

When i try to do an update with Nrfutils Under android i get a REMOTE_DFU_OPERATION_FAILED since i added signing.

I created my pem file key with nrfutil.exe keys i copied Qx and Qy in my dfu_init_template_signing.c i modified Makefile to use dfu_init_template_signing.c instead of dfu_init_template.c i signed my update with my pem file key

Parents
  • Hi Bjørn,

    I have a problem with this example. When I try send a DFU package (ble_app_hrs_s132_with_dfu_signed.zip) from MCP 3.10.0.14 every time I catch BLE_ERROR_INVALID_CONN_HANDLE on dfu_transport_ble.c

           case BLE_DFU_BYTES_RECEIVED_SEND:
            err_code = ble_dfu_bytes_rcvd_report(p_dfu, m_num_of_firmware_bytes_rcvd);
            APP_ERROR_CHECK(err_code);
    

    It's looks like SD can't Notify application but i have no idea why. Conn_handle isn't empty.

    Name : conn_handle
    Hex:0x70d0
    

    The same problem with update from android nrf MCP.

    Chip: nrf52832-QFAAB0

    SD: s132_nrf52_2.0.0_softdevice.exe

    GCC: 4.9 2015q3

Reply
  • Hi Bjørn,

    I have a problem with this example. When I try send a DFU package (ble_app_hrs_s132_with_dfu_signed.zip) from MCP 3.10.0.14 every time I catch BLE_ERROR_INVALID_CONN_HANDLE on dfu_transport_ble.c

           case BLE_DFU_BYTES_RECEIVED_SEND:
            err_code = ble_dfu_bytes_rcvd_report(p_dfu, m_num_of_firmware_bytes_rcvd);
            APP_ERROR_CHECK(err_code);
    

    It's looks like SD can't Notify application but i have no idea why. Conn_handle isn't empty.

    Name : conn_handle
    Hex:0x70d0
    

    The same problem with update from android nrf MCP.

    Chip: nrf52832-QFAAB0

    SD: s132_nrf52_2.0.0_softdevice.exe

    GCC: 4.9 2015q3

Children
Related