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

Problems with compiling Thingy bootloader

Hello all.

I'm having some problems with compiling the bootloader_secure project:

I downloaded SDK zip from http://www.nordicsemi.com/eng/Products/Nordic-Thingy-52 and followed the instructions within. The pca20020_s132 compiles allright (although when flashed on the device, it just goes into DFU mode, but thats another story).

The problem seems to be the include folder "$(PROJ_DIR)/../../bsp " that doesn't exists: Its not included in the ZIP file and it's not downloaded by the Python scripts.

The error I get is: "nrf_ble_dfu.c:24:22: fatal error: pca20020.h: No such file or directory" wich I've tried to fix, but it lead me to include things that would exceed the flash area allocated to the boot loader. I have come to the conclusion that I am missing the files in the bsp folder - is there some way to acquire those, or am I doing something else wrong?

Kind regards, Mads

Parents
  • Hi. I downloaded the updated makefiles that Jørgen posted further down this thread.

    The going into bootloader problem was not a problem, but me not understanding how the bootloader works: When present, the bootloader needs to have a,package delivered via dfu or it will assume that no valid app is present. Once you flash the bootloader on, you can no longer just flash the app area and have thingy boot it (unless you do fancy stuff like write to the bootloader settings in flash directly).

Reply
  • Hi. I downloaded the updated makefiles that Jørgen posted further down this thread.

    The going into bootloader problem was not a problem, but me not understanding how the bootloader works: When present, the bootloader needs to have a,package delivered via dfu or it will assume that no valid app is present. Once you flash the bootloader on, you can no longer just flash the app area and have thingy boot it (unless you do fancy stuff like write to the bootloader settings in flash directly).

Children
No Data
Related