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

Running the BLE bootloader example

Hello,

I have been trying to make the BLE bootloader example works without succes. I am getting stuck after uploading the Softdevices and the Bootloader.

Step by step (Version - nRF5_SDK_11.0.0_89a8197):

  • First I upload the proper Softdevice - s130
  • Then I upload the Bootloader: nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10028\dual_bank_ble_s130\arm5_no_packs
  • Now the MasterControl panel doesn´t detect any "DfuTarg". As far as I understood, if there is no code, the bootloader will start automatically, if not at the start push the button 4, true?

Any help will be wellcome. Thank you for your time,

Javier

Parents
  • Hi again!

    I have been checking the whole code again. I always had an error while including "nrf_delay.h", more a "cosmetic" error since it works fine. Now I also have one error in: #include "bootloader.h"

    The error states: error in include chain (cmsis_armcc.h): expected identifier or ´(´ So I open the header file, which it took me to another and another untill the "error" in cmsis_armcc.h.

    The error is in the line 48:

    __STATIC_INLINE uint32_t __get_CONTROL(void)

    error: unknown type name ´__STATIC_INLINE´ error: expected ´;´after top level declarator

    In the Pack Installer, the ARM::CMSIS is up-to-date.

    Any idea? or it is not a real error?

    Javier

Reply
  • Hi again!

    I have been checking the whole code again. I always had an error while including "nrf_delay.h", more a "cosmetic" error since it works fine. Now I also have one error in: #include "bootloader.h"

    The error states: error in include chain (cmsis_armcc.h): expected identifier or ´(´ So I open the header file, which it took me to another and another untill the "error" in cmsis_armcc.h.

    The error is in the line 48:

    __STATIC_INLINE uint32_t __get_CONTROL(void)

    error: unknown type name ´__STATIC_INLINE´ error: expected ´;´after top level declarator

    In the Pack Installer, the ARM::CMSIS is up-to-date.

    Any idea? or it is not a real error?

    Javier

Children
No Data
Related