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

pca10040_uart_debug complier error

SDK:15.3.0

CHIP:52832

I downloaded sdk15 for nrf52832.all sample programs and soft devices are working fine but boot loader coding is showing some error. I am using this bootloader code  install folder\nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\pca10040_uart_debug, Then MDK note: "Internal fault: [0xc43ed8:5050106] in nrf_bootloader_app_start_final" and ".\_build\nrf52832_xxaa_mbr.axf: error: L6002U: Could not open file .\_build\nrf_bootloader_app_start_final.o: No such file or directory".

nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\pca10040_uart can complier success.

Parents
  • Hello,

    In the tags for this ticket, you marked nRF52833. Is that a typo? Because you write nRF52832 in the text, and you are using the pca10040 files.

    What changes did you do to the bootloader project? Did you set NRF_BOOTLOADER_READ_PROTECT = 1? If so, why?

    Will it compile without these changes? 

    I see from the comments in this file that if you use Keil and NRF_BOOTLOADER_READ_PROTECT, you need to implement some extra stuff. Have you considered compiling the bootloader in SES or GCC? (That seems easier than implementing the stuff for readback protection, as this is already implemented for these compilers).

    If you haven't changed anything, can you please try to compile it with an unmodified version of the SDK? It shouldn't require any changes, except generating your own private and public keyset.

    Best regards,

    Edvin

  • hello Edvin

    Sorry,this ticket is wrong.it should be nRF52832 chip.

    I do not change the bootloader project,and NRF_BOOTLOADER_READ_PROTECT  = 0.

    All dfu_debug project(for example,pca10040_ble_debug / pca10040_uart_debug / pca10040e_ble_debug,and so on) note this error, other project is normal (for example,pca10040_ble / pca10040_uar / pca10040e_ble,and so on) 

  • zcmm said:
    Sorry,this ticket is wrong.it should be nRF52832 chip.

     No worries. Just wanted to check.

    I have never seen this before.

    Can you please try to unzip an unmodified SDK and compile again? Alternatively, try to update your Keil compiler to a later version. What version are you currently using?

  • I try to unzip an unmodified SDK,but compile is still fail.

    MDK version is 5.14. I will try the later version.

Reply Children
No Data
Related