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

Transfer project nrf52810 on nrf52832

Hi, faced a problem while transferring a project nrf52810 on nrf52832. I changed project settings and file paths comparing projects. The connection with the phone became very bad on nrf52832. I changed BLE_GATT_ATT_MTU_DEFAULT on size NRF_SDH_BLE_GATT_MAX_MTU_SIZE, 43 on nrf52832. I changed NRF_SDH_BLE_GATT_MAX_MTU_SIZE on 43, but no changed BLE_GATT_ATT_MTU_DEFAULT on nrf52810. Only after that it became stable to connect to the phone. What is the cause of this problem?

Parents Reply
  • Yes, he behaves the same way. I found that the program spins endlessly in a function uint32_t log_skip(void) in

    do {
    if (invalid_packets_omit(p_header, &rd_idx))
    {
    p_header = (nrf_log_header_t *)&m_log_data.buffer[rd_idx & mask];
    }
    else
    {
    break;
    }
    } while (true);

    I am using sdk 15.3.0 and am not initializing log_init (). this caused the mask to be out of size and an error occurred. probably.

Children
No Data
Related