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

compile error of DFU with nRF52832

Hello,

I am using 14.0.1 sdk, and hope to use DFU (Secure bootloader), I am trying to use buttonless app in my app (uart example app), when copying some codes related with DFU function as follows, I have one error : Fatal Error[Pe1696]: cannot open source file "nrf_dfu_svci.h" C:\working_dir\yps-202n\nRF5_SDK_14.1.0_1dda907\components\ble\ble_services\ble_dfu\ble_dfu_bonded.c 45

I tried to add some codes in compiler as follows, but the error is happened. please help to let me know what I should do in order to solve this issue,

: add ble_dfu.c , ble_dfu_bonded.c and ble_dfu_unbonded.c in nRF_DFU folder, add nrf_dfu_svci.h in nRF_SVC folder,

thankful for your support in advance,

thanks.

Parents
  • Hi edmond.yun, I want to make sure I understand your question correctly. Are you trying to update the uart example application located in the folder examples\peripheral\uart with the buttonless dfu bootloader located in the folder examples\ble_peripheral\ble_app_buttonless_dfu in sdk 14.1? If so, have you taken a look at the buttonless dfu section in the secure dfu bootloader blog post. If this is the first time you have tried to do a dfu, I would recommend going through the blog post first with a simple example (like the blinky example located at examples\ble_peripheral\ble_app_blinky). Then, I would try the buttonless dfu application.

Reply
  • Hi edmond.yun, I want to make sure I understand your question correctly. Are you trying to update the uart example application located in the folder examples\peripheral\uart with the buttonless dfu bootloader located in the folder examples\ble_peripheral\ble_app_buttonless_dfu in sdk 14.1? If so, have you taken a look at the buttonless dfu section in the secure dfu bootloader blog post. If this is the first time you have tried to do a dfu, I would recommend going through the blog post first with a simple example (like the blinky example located at examples\ble_peripheral\ble_app_blinky). Then, I would try the buttonless dfu application.

Children
No Data
Related