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

Flashing ble_app_uart_Mesh to a nRF52832 custom board, it does not advertise.

1. Development Enviroment

o SEGGER Embedded Studio : Relase 3.34

o SDK :  nRF_SDK_15.0.0  / Mesh_v2.0.1_src / s132_nrf52_6.0.0_softdevice

o Windows 10 Pro

o Chip : N52832 QFAAE0, Crystal 32MHz, 32.768KHz

o Development Board : PCA10040 (1.2.4)

2. Test Application

o Test Application : ble_app_uart_Mesh_SDK2_0_1.zip

o Related URL :https://devzone.nordicsemi.com/f/nordic-q-a/29108/how-to-add-mesh-into-nrf5-sdk-v14-1-v15-ble-application

3. Symptoms

o Build and Run on  DK board with Segger Studio : Advertising is normal and functions are all fine.

o BUT

   When Flashing  ble_app_uart_Mesh  to a custom board with nRFgo Studio or nrfjprog program, the custom board do not advertise,  it is not shown in nrfConnect scanner.

   However, example ble_app_uart in the ble_peripheral folder program works well  advertising on custom board. 

   What is difference ? 

 

  I tried many ways to solve this for several days, I could not resolve this. I produced custom boards and have to flash applications. 

  I need help and any tips or guides.

 

Parents
  • Hi,

    Have you tried any other BLE examples?

    Does that too has got issue with advertising?

    You haven't mentioned anything about the antenna design.

  • Hi hari911,

    I solved this issue by removing prinf(). Bur I am not sure why this causes problem.

    In the main.c, I added   printf("\r\nUART started.\r\n");  instead of using NRF_LOG_INFO().

    During debuging the source, it works fine. But when flash to custom board, it makes advertising problem.

    After removing the printf("\r\nUART started.\r\n");, everything is working normal.

    ------------------------

    mesh_main_init();

    ~~

    // Start execution.
    // printf("\r\nUART started.\r\n");
    NRF_LOG_INFO("Debug logging for UART over RTT started.");
    advertising_start();

    mesh_main_start();

      // Enter main loop.
    for (;;)
    {
    idle_state_handle();
    }

    ---------------------

    Thanks.

Reply
  • Hi hari911,

    I solved this issue by removing prinf(). Bur I am not sure why this causes problem.

    In the main.c, I added   printf("\r\nUART started.\r\n");  instead of using NRF_LOG_INFO().

    During debuging the source, it works fine. But when flash to custom board, it makes advertising problem.

    After removing the printf("\r\nUART started.\r\n");, everything is working normal.

    ------------------------

    mesh_main_init();

    ~~

    // Start execution.
    // printf("\r\nUART started.\r\n");
    NRF_LOG_INFO("Debug logging for UART over RTT started.");
    advertising_start();

    mesh_main_start();

      // Enter main loop.
    for (;;)
    {
    idle_state_handle();
    }

    ---------------------

    Thanks.

Children
No Data
Related