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

DFU for different Chips - Guidelines request

Hello,

the past week I am trying to make the bootloader_secure example work for a custom hardware with no luck. This whole procedure give birth however to several questions.

(Should not matter, but I am using a nrf51 chip with 16KB RAM and 256KB flash. SDK 12.1.)

  1. Linker scripts secure_dfu_gcc_nrf51.ld and secure_dfu_gcc_nrf51_debug.ld define RAM/FLASH regions which are a bit of a mystery to me. So my question is, how are these regions computed given different chip variants (RAM/FLASH) and given different Softdevice versions? The only thing I could find in documentation is this. And this only mentions Softdevice 130 v2.0.x for nrf51 and 132 v3.0.x for nrf52 and only for the flash. And it is also not mentioning the differences when debug is on.

  2. How about external crystals of different frequencies? Anything else to configure other than this?

  3. How about boards that have zero or one button? How do you suggest people should deal with this? (Hint: BSP_BUTTON 4 would not exist)

I hoping that once Nordic clarifies those things, it would make the life of people with custom boards much easier :)

I hope you would agree. Thank you!

Parents
  • Just to add a "me to" to this

    I need to create a secure bootloader for a new product, using the nRF51822QFAA (256k flash 16k RAM)

    I do not have a button on the board either (well not one that is user accessible).

    I was hoping that the bootloader could be called from the application code, but I am not at the point in our development where I have time to investigate how that could be done.

    I have looked at the example code, and as far as I can tell, the bootloader would run straight after power on, which is not much use to us, as the device will be powered permanently by a battery which is not user accessible.

    So I'd be interested to learn how to do this.

Reply
  • Just to add a "me to" to this

    I need to create a secure bootloader for a new product, using the nRF51822QFAA (256k flash 16k RAM)

    I do not have a button on the board either (well not one that is user accessible).

    I was hoping that the bootloader could be called from the application code, but I am not at the point in our development where I have time to investigate how that could be done.

    I have looked at the example code, and as far as I can tell, the bootloader would run straight after power on, which is not much use to us, as the device will be powered permanently by a battery which is not user accessible.

    So I'd be interested to learn how to do this.

Children
No Data
Related