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

DFU on nRF51422 rev.2

I try to make bootloader via USART for my application. I'm using: nRF51422rev.2, SDK6.1.0, S210 ver3.0.0. KEIL5.11. I did everything like describes in post here: devzone.nordicsemi.com/.../

I uploaded SD via nRFgo Studio and my bootloader via ULINK and KEIL. While programming, KEIL return: "No Algorithm found for: 10001014H - 10001017H". So, if this register is not available on nRF51422rev.2, is it possible to make bootloader for chip rev.2 using examples from SDK7.0.1 or higher?

PW

Parents
  • Hi PW,

    You have that issue because in DFU bootloader we don't use KEIL programmer to program, but we use nrfjprog.exe to program the chip. The default KEIL programmer doesn't program UICR.

    You can have a look at the stock DFU bootloader example , Project Option -> Utilities -> Use External Tool for Flash Programming.

    You can also have a look at this case.

  • @PW: I assume that you have updated the IROM1 start address of the bootloader project to 0x3B800 as well. The reason you received NRF_ERROR_SVC_HANDLER_MISSING was because there was no MBR on the S210 v3.0.0. So there is no sd_mbr_command() in the Softdevice. It is implemented from S210 v4.0.0 (see the release note).

    So you have 2 options:

    • Update API header to S210 v4.0.0
    • Use the bootloader from SDK v6.0 (application update only )
Reply
  • @PW: I assume that you have updated the IROM1 start address of the bootloader project to 0x3B800 as well. The reason you received NRF_ERROR_SVC_HANDLER_MISSING was because there was no MBR on the S210 v3.0.0. So there is no sd_mbr_command() in the Softdevice. It is implemented from S210 v4.0.0 (see the release note).

    So you have 2 options:

    • Update API header to S210 v4.0.0
    • Use the bootloader from SDK v6.0 (application update only )
Children
No Data
Related