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

ble_app_hrs not working

Hi

Im trying nrf52832 with 0 BMD-350 Evm. Working with IAR, nRF5_SDK_13.0.0_04a0bfd.

I need ble_app_hrs_pca10040_132_uart working properly. Seem like there is a main clock problem. Its hanging while init steps.

I loaded s132_nrf52_3.1.0_softdevice. I loaded heart_rate_demo.hex and its working. blinky_pca10040_s132_nrf52832 working fine.

Parents
  • Hi there,

    I impelement uart to ble_app_hrs_pca10040_s132. I Worked on pca10040 demoboard. But when i debug same source on my board. It stacking in ble_stack_init(); step below;

    ble_cfg.common_cfg.vs_uuid_cfg.vs_uuid_count = 0;   //HERE
    err_code = sd_ble_cfg_set(BLE_COMMON_CFG_VS_UUID, &ble_cfg, ram_start);
    APP_ERROR_CHECK(err_code);
    

    Exactly same problem was happening on Evm board with "ble_app_hrs_pca10040_s132_uart" application. Is it about code size. How can i solve. Im so close to achieve my demo.

  • It get stuck at sd_ble_cfg_set()?

    Check if there is a code assertion:

    • Build without optimization and make sure that debug info is included in output (enable checkbox in project options -> C/C++ Compiler -> Output tab.
    • Add "DEBUG" to the list of pre-processor symbols in project options -> C/C++ Compiler -> preprocessor tab, see "defined symbols" field
    • Start a debug session, place a breakpoint at line ~113 in app_error.c and see if it gets reached. You can read out the error code and line number if it does.
Reply
  • It get stuck at sd_ble_cfg_set()?

    Check if there is a code assertion:

    • Build without optimization and make sure that debug info is included in output (enable checkbox in project options -> C/C++ Compiler -> Output tab.
    • Add "DEBUG" to the list of pre-processor symbols in project options -> C/C++ Compiler -> preprocessor tab, see "defined symbols" field
    • Start a debug session, place a breakpoint at line ~113 in app_error.c and see if it gets reached. You can read out the error code and line number if it does.
Children
No Data
Related