This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

S130/SDK12.1 BLE bootloader related

Hello,

I'm making BLE bootloader except other BLE functions. I'm using s130 / sdk 12.1 / nrf51822xxAA environment. Sure I have some problem.

What I have done :

Application

  • I merged DFU function with my application using nRF5_SDK_12.1.0_0d23e2a\examples
    ble_peripheral\experimental_ble_app_buttonless_dfu
  • Set IROM1 : 0x1B000 / 0x1FC00, IRAM1 : 0x20001FE8. I checked this(nordic template) works in nrf toolbox.

Bootloader

  • I used nRF5_SDK_12.1.0_0d23e2a\examples\dfu\bootloader_secure.
  • Set IROM1 : 0x3AC00 / 0x5000, IRAM1 : 0x20002C00 / ??

My questions are :

  1. How should I allocate IRAM1 in application/bootloader? If I download softdevice/applicaion/bootloader, device name-DfuTarg is checked. It seems that the bootloader does Dfu function.
  2. How can I DFU new image using my application(already dfu merged)?
  3. Would you let me know If there is the information related with this? I didn't find out the exact information.

Thanks.

Parents
  • Hi Air,

    1. Set the bootloader IRAM1 section to be identical to that of the application.
    2. If you're using the buttonless example then you have to write 0x01 to the DFU Control Point characteristic in order to put the device in bootloader mode, see this page for more information.
    3. If you're looking for information on the Secure bootloader then I suggest that you take a look at this page on our Infocenter.

    Best regards

    Bjørn

  • Hello,

    Nordic is the 1st time. So, there are many things I don’t know. I experienced bootloader in different MCU without difficulty. Sure, there were the exact information including example source code and process explanation. But, I can’t find out the exact Nordic bootloader process. There are few explanation about buttonless_dfu and bootloader_secure process. I think bootloader is the basic util. So, I think it’s wrong to lose time in development. I’m sorry if you feel bad. I want to get more exact information.

    Thanks.

Reply
  • Hello,

    Nordic is the 1st time. So, there are many things I don’t know. I experienced bootloader in different MCU without difficulty. Sure, there were the exact information including example source code and process explanation. But, I can’t find out the exact Nordic bootloader process. There are few explanation about buttonless_dfu and bootloader_secure process. I think bootloader is the basic util. So, I think it’s wrong to lose time in development. I’m sorry if you feel bad. I want to get more exact information.

    Thanks.

Children
No Data
Related