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

ble_app_uart example not working on my PCA10028

Hi,

Beginners here. So pls forgive me if noob questions.

I am using SDK12.2, S130, on a MAC (with gcc toolchain)

I try to run ble_app_uart example comes with SDK12.2. I used precompiled .hex under ble_app_uart/hex, which is named ble_app_uart_pca10028_s130.hex. I assume is should be workable out of the box. However, after i flashed my PCA10028 with JLink, it does not work as neither LED is blinking nor the nrf ToolBox can find uart service.

However when i try another example ble_app_cscs, it runs perfectly and nrf Toolbox can see all the expected data.

I searched the forum and some pointed out that the ble_app_uart demo requires external 32K crystal so i checked my board(V1.1.0, 2015/11). There seems a 32K crystal onboard and i can see the waveform on oscilliscope when ble_app_cscs is running so i guess this is not the cause of my case.

So my questions are:

  1. is the precompiled .hex of example comes with the SDK work out of the box? if it is, why ble_app_uart can not work in my PCA0028?

  2. Is the example precompiled .hex file a merge of bootloader + softdevice + application? as its over 300KB in size of bytes.

  3. when i run ble_app_cscs demo, i need to manually issue a 'g' command in JLink shell to start it. It will not start automatically when i power the board up. Is it because bootloader is missing? or i have to do something else?

thank you.

Edit 1 I should remove #3, as i found out that it is because the SWD cable still connected. after i disconnect the SWD cable the ble_app_cscs demo can run automatically on power up.

Parents Reply Children
Related