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

buttonless_dfu can't work with GNU in nrf51822

Hi,

I use SDK 12.3 to run experimental_ble_app_buttonless_dfu on nrf51822 after reference this blog, but still can not work.

It works fine with PCA10028 board.

I want to open log to see what happened, but log function can't work in PCA10028 or nrf51822.

I opened log in PCA10040 with SDK 12.3 before, so is same way to open log in PCA10028 or nrf51822 ?

Anyway, I have two question below:

1.How to open log function in  PCA10028 or nrf51822 by SDK 12.3 ?

2.How to fix experimental_ble_app_buttonless_dfu that can work fine on nrf51822 ?

Thanks a lot. 

Parents
  • Hi,

    1. Do you want logging in the bootloader or application? If you want logging in the bootloader, use the project you can find under <SDK 12.3>\examples\dfu\bootloader_secure\pca10028_debug\. This has a sdk_config.h file that enables RTT logging. Note that it is also a bit larger than the project without logging, so the flash start address is lower than the normal project (without the _debug suffix). If you want logging in the experimental_ble_app_buttonless_dfu  application, you need to enable it in sdk_config.h.

    2. SDK 12.3 comes with support for nRF52822. You can find the example project under <SDK 12.3>\examples\ble_peripheral\experimental_ble_app_buttonless_dfu\pca10028\. It should work out of the box. Can you elaborate how it does not work in your case?

Reply
  • Hi,

    1. Do you want logging in the bootloader or application? If you want logging in the bootloader, use the project you can find under <SDK 12.3>\examples\dfu\bootloader_secure\pca10028_debug\. This has a sdk_config.h file that enables RTT logging. Note that it is also a bit larger than the project without logging, so the flash start address is lower than the normal project (without the _debug suffix). If you want logging in the experimental_ble_app_buttonless_dfu  application, you need to enable it in sdk_config.h.

    2. SDK 12.3 comes with support for nRF52822. You can find the example project under <SDK 12.3>\examples\ble_peripheral\experimental_ble_app_buttonless_dfu\pca10028\. It should work out of the box. Can you elaborate how it does not work in your case?

Children
No Data
Related