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

BL600 NUS service and DFU support

Hello,

I am using BL600A module and Nordic softdevice and SDK9.0. The system is having NUS service and TX and RX characteristic. Now I have a requirement for firmware upgrade OTA.

My question is, Can I use DFU and bootloader without affecting the NUS service and its characteristics to upgrade the firmware?

How it can be done?

Regards,
Sowmya

Parents Reply
  • Hi Vidar, if I just flash the program using F8 in Keil, I am getting the error : Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programing device.. Then I tried to debug the code, breakpoint is hitting main and when I execute, hardfault is occuring for CRC16 in the following code snippet:

    uint32_t dfu_ble_peer_data_get(dfu_ble_peer_data_t * p_peer_data)
    {
    uint16_t crc;
    
    if (p_peer_data == NULL)
    {
        return NRF_ERROR_NULL;
    }
    
    crc = crc16_compute((uint8_t *)&m_peer_data, sizeof(m_peer_data), NULL);
    if (crc != m_peer_data_crc)
    {
        return NRF_ERROR_INVALID_DATA;
    }
    
Children
No Data
Related