Custom services not showing when code is uploaded on custom board.

I disabled the DIS.

With nRF52DK the custom services characteristics are shown but if I upload the code to the ebyte e73-tbb, the custom service and characteristics are not shown. The same shows with nrf connect app in PC via the nrf52840_dongle. The build and code are the same. The ebyte e73-tbb has already predefined template for build in Zephyr. Im using the nrfconnect plugin in vscode. Do I need to adjust something? I have used this module multiple times and code should have same result. This is the first time I encountered it. TIA

Parents
  • Hi!

    Click on the 3 dots in the upper right corner, and click "Refresh services", are you able to discover the services?

  • Hello! and thanks for reply. I have tried that. It still says empty list.

  • That's strange. Do you have any log output(e.g. from the UART) from the device? Any warnings or errors in the log?

  • Yeah very strange. Now there is none currently.  Based on my searches it shows it might be lack of RAM, or need to adjust address because of the additional characteristic? but those searches all shows from old SDK, not zephyr.

    Before I turned off DIS and other parameters like CCC, CUD cause I suspect the characteristic might be too many for slow phones, this one shows.

    failed to allocate new mpu region 255


    EDIT:

    I don't know if this will help, here is the diff output of two build config.

    $diff build/zephyr/.config build_1/zephyr/.config
    
    < CONFIG_BOARD="nrf52dk_nrf52832"
    ---
    > CONFIG_BOARD="ebyte_e73_tbb_nrf52832"
    57,58d56
    < CONFIG_DT_HAS_ARDUINO_UNO_ADC_ENABLED=y
    < CONFIG_DT_HAS_ARDUINO_HEADER_R3_ENABLED=y
    84d81
    < CONFIG_DT_HAS_NORDIC_NRF_SPI_ENABLED=y
    87d83
    < CONFIG_DT_HAS_NORDIC_NRF_TWI_ENABLED=y
    536d531
    < # CONFIG_MPSL_PIN_DEBUG is not set
    1087,1088c1082,1083
    < # CONFIG_NRFX_TWI0 is not set
    < # CONFIG_NRFX_TWI1 is not set
    ---
    > # CONFIG_NRFX_TWIM0 is not set
    > # CONFIG_NRFX_TWIM1 is not set
    1298c1293
    < CONFIG_BOARD_NRF52DK_NRF52832=y
    ---
    > CONFIG_BOARD_EBYTE_E73_TBB_NRF52832=y
    1303d1297
    < CONFIG_BOARD_ENABLE_DCDC=y
    1465,1466d1458
    < CONFIG_HAS_HW_NRF_SPI1=y
    < CONFIG_HAS_HW_NRF_SPI2=y
    1474d1465
    < CONFIG_HAS_HW_NRF_TWI0=y
    1489d1479
    < CONFIG_SOC_DCDC_NRF52X=y

Reply
  • Yeah very strange. Now there is none currently.  Based on my searches it shows it might be lack of RAM, or need to adjust address because of the additional characteristic? but those searches all shows from old SDK, not zephyr.

    Before I turned off DIS and other parameters like CCC, CUD cause I suspect the characteristic might be too many for slow phones, this one shows.

    failed to allocate new mpu region 255


    EDIT:

    I don't know if this will help, here is the diff output of two build config.

    $diff build/zephyr/.config build_1/zephyr/.config
    
    < CONFIG_BOARD="nrf52dk_nrf52832"
    ---
    > CONFIG_BOARD="ebyte_e73_tbb_nrf52832"
    57,58d56
    < CONFIG_DT_HAS_ARDUINO_UNO_ADC_ENABLED=y
    < CONFIG_DT_HAS_ARDUINO_HEADER_R3_ENABLED=y
    84d81
    < CONFIG_DT_HAS_NORDIC_NRF_SPI_ENABLED=y
    87d83
    < CONFIG_DT_HAS_NORDIC_NRF_TWI_ENABLED=y
    536d531
    < # CONFIG_MPSL_PIN_DEBUG is not set
    1087,1088c1082,1083
    < # CONFIG_NRFX_TWI0 is not set
    < # CONFIG_NRFX_TWI1 is not set
    ---
    > # CONFIG_NRFX_TWIM0 is not set
    > # CONFIG_NRFX_TWIM1 is not set
    1298c1293
    < CONFIG_BOARD_NRF52DK_NRF52832=y
    ---
    > CONFIG_BOARD_EBYTE_E73_TBB_NRF52832=y
    1303d1297
    < CONFIG_BOARD_ENABLE_DCDC=y
    1465,1466d1458
    < CONFIG_HAS_HW_NRF_SPI1=y
    < CONFIG_HAS_HW_NRF_SPI2=y
    1474d1465
    < CONFIG_HAS_HW_NRF_TWI0=y
    1489d1479
    < CONFIG_SOC_DCDC_NRF52X=y

Children
Related