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

S120 Bootloader target options

Here Hung Bui (@hungbui) gave the good answer how to use bootloader with new S120 v.2.0.

I'm sorry, but can anybody check is I have a right settings on the Keil uVision options->target? Please note that I use a nRF51822__aa version and PCA10001 board (don't know if this matter or not).

Thanks.

TaskOptions ScreenClip.png

Parents
  • @Alev: Since you are using nRF51822 QFAA version, the main difference is that you have 16kB RAM instead of 32 kB as on QFAC variant. What you need to modify is the RAM setting:

    IRAM1 0x20002C00 0x1380

    IRAM2 0x20003F80 0x80

    Also because you are using PCA10001 you may need to mount the GPIO pin for button and LEDs to match with your board.

    Tool to generate .zip file from .bin or .axf (only for application, not for bootloader or softdevice)

    zipgen.bat

  • Thank you. We've made a step up. But still have a problem. With your memory values, bootloader started and I can see it with MasterControlPanel on my PC. I can discover services. I can even start DFU, select package (I prepared DFU package with "nrf.exe dfu genpkg --application application.hex --application-version 0x01 dfu1.zip" command). But then I received an error. Please see a screenshot here. Please point me where I can start to find the problem? (Maybe create a separate question for this?)

Reply
  • Thank you. We've made a step up. But still have a problem. With your memory values, bootloader started and I can see it with MasterControlPanel on my PC. I can discover services. I can even start DFU, select package (I prepared DFU package with "nrf.exe dfu genpkg --application application.hex --application-version 0x01 dfu1.zip" command). But then I received an error. Please see a screenshot here. Please point me where I can start to find the problem? (Maybe create a separate question for this?)

Children
No Data
Related