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,

    The ble_app_hrs_pca10040_s132_uart is for serialized application using UART as the transport interface. Instead you should use the ble_app_hrs_pca10040_s132 project.


    Edit: There is a bug with IAR version 8 with the nrf_delay_us() function. See attached patch in this answer.

  • That works, thanks.

    Now i have another issue;

    ble_app_hrs_pca10040_s132 works >>> fine. ble_app_hrs_pca10040_s132_uart >>> hangs.

    Here (main): err_code = sd_ble_cfg_set(BLE_COMMON_CFG_VS_UUID, &ble_cfg, ram_start); Here (deeper): m_os_rsp_wait_handler();

    With NrfGo i try to load complied outputs (*.hex); I can load ble_app_hrs_pca10040_s132.hex with SoftDevice loaded.

    But I cant load ble_app_hrs_pca10040_s132_uart.hex with SoftDevice loaded.

    I cant debug if i do not load soft device with IAR. Is it a code size problem ?? NrfGo says "ble_app_hrs_pca10040_s132_uart.hex has sofdevice things in it"

Reply
  • That works, thanks.

    Now i have another issue;

    ble_app_hrs_pca10040_s132 works >>> fine. ble_app_hrs_pca10040_s132_uart >>> hangs.

    Here (main): err_code = sd_ble_cfg_set(BLE_COMMON_CFG_VS_UUID, &ble_cfg, ram_start); Here (deeper): m_os_rsp_wait_handler();

    With NrfGo i try to load complied outputs (*.hex); I can load ble_app_hrs_pca10040_s132.hex with SoftDevice loaded.

    But I cant load ble_app_hrs_pca10040_s132_uart.hex with SoftDevice loaded.

    I cant debug if i do not load soft device with IAR. Is it a code size problem ?? NrfGo says "ble_app_hrs_pca10040_s132_uart.hex has sofdevice things in it"

Children
No Data
Related