NRF52DK keeps rebooting when settings_load

I have a nRF52DK board that I loaded the peripheral_uart program in a while ago. I tried to get the board running again but when it calls err = settings_load() it just keeps rebooting. I cannot print the err return so I have no idea why it is rebooting. If I comment out the settings_load() I get the following message from the code. This used to work and the project was put aside for some months and now needs to go into production again. any help you can give to get the Bluetooth working again would be greatly appreciated.

    /* create unique BLE advertizer name */
    strcpy(device_name, DEVICE_NAME);
    strcat(device_name, devIDStr);
    device_name_len = strlen(device_name);
    sprintf(str, "BLE Advertizing name: %s\r\n", device_name);
    myPrintkS(str);
    ad[1].type = BT_DATA_NAME_COMPLETE;
    ad[1].data_len = device_name_len;
    ad[1].data = device_name;
    err = bt_le_adv_start(BT_LE_ADV_CONN, ad, ARRAY_SIZE(ad), sd, ARRAY_SIZE(sd)); /* start BLE advertising */
    if (err)
    {
        sprintf(str, "Advertising failed to start (err %d)", err);
        myPrintkE(str);
        error();
    }
************** ON CONSOLE ********************
BLE Advertizing name: Data_Logger_BLE_7C196D3C_B76562B3
Advertising failed to start (err -11)Fatal Error!!
Related