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.

  • 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.

  • When I use buttonless_dfu and bootloader_secure including SD130, does bootloader_secure run(not buttonless_dfu)? If so, how can I modify to run buttonless_dfu(not bootloader)?

    Finally, I want

    1. my application run
    2. bootloader enter(using buttonless_dfu main function - Already I merged) after some key input (This key is in my board.)
    3. I upload my new F/W using bootloader_secure.
  • I can provide my code if possible. I wasted about 1 week. Sure I'ts my job.

  • Hi Air, I will try to find the cause of your issue in this post. I suggest that we close this post and move the activity to the linked post.

Related