NRF51822 peripheral UART example. SDK 12.1

Hi! I just want  to up uart example with BLE on softdev 130 using  sdk 12.1. On chip NRF51822.  I choose this example:  .../sdk_12_1\examples\peripheral\uart\pca10028\blank\arm5_no_packs.  (10028 use anothe chip 51422 but it close to 51822)

I change the target chip to nrf51822xxAA and adjust addreses ROM and RAM.  The project buit and uploaded without problems. 

In uart terminal i see  "UART Start!" many times. i suppouse that application can not initialize and reboot. Other examples 

built and work fine with this softdev and sdk (i try ble beacon and ble heart rate). Help please with advice - what did i do wrong?

More than week i try to run this example with no success-(.

  • i suppouse that application can not initialize and reboot

    So have you used the debugger to see what, exactly, is happening - and where?

  • i try to add this defines:  NRF_LOG_ENABLED  NRF_LOG_BACKEND_SERIAL_USES_RTT to use logger but build finished with errors:

    linking...
    .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_log_blocking_backend_set (referred from app_error_weak.o).
    .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_log_frontend_dequeue (referred from app_error_weak.o).
    .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_log_frontend_std_0 (referred from app_error_weak.o).
    .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_log_frontend_std_1 (referred from softdevice_handler.o).
    .\_build\nrf51422_xxac.axf: Error: L6218E: Undefined symbol nrf_log_frontend_std_2 (referred from softdevice_handler.o).
    Not enough information to list image symbols.
    Not enough information to list load addresses in the image map.

  • the program rebooted on 

       ble_stack_init();  function/ Soft device version show on picture.