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 by UART (not over by air)

Hi All,

I am working on the S120 bootloader. I start it with dfu sample on nrf6310 folder. It work with S110 softdevice with PCA10001 perfectly. I had made following change on the code for try to work with S120

  1. change the start address from 0x14000 to 0x18000 of "CODE_REGION_1_START" and "PSTORAGE_RAW_START_ADDR"
  2. remove include folder "../include/s110" and added "../include/s120"

It always go to a HardFault_Handler after run the softdevice.c line237 function:softdevice_handler_init "m_softdevice_enabled = true;"

is there something I missed?

Regards Peter

Parents
  • hi peter, i have been your Steps to build S120 bootload project(nrf6310\device_firmware_updates\bootloader) 1. CODE_REGION_1_START 2.PSTORAGE_RAW_START_ADDR 3. and change the softdevice include file(S120) 4. RAM start address . 5. remove the bootloader.c // err_code = sd_softdevice_forward_to_application(); // APP_ERROR_CHECK(err_code);

    but that will be HardFault_Handler after arm_startup_nrf51.s SystemInit

    is there something I missed?

  • Which version of softdevice you using?

Reply Children
No Data
Related