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

Bootloader s120 V2.0 for PCA10001

Hello everyone, I am program for PCA10001 and I want to use Bootloader to upgrade firmware through OTA for my device. I have a old file bootloader use for s110, and I tried to modify it follow: change include path into s120, add ble_enable_params.gap_enable_params.role = BLE_GAP_ROLE_PERIPH for ble_stack_init();, and configure my RAM1 and RAM2 IRAM1 0x20002C00 0x1380 IRAM2 0x20003F80 0x80

Then I try to demo with a example ble_app_hrs_c project in V8.0.0 SDK, but It still doesn't work, then I try to debug step by step and it is stucked at 0x000006d0 at beginning, I took a screen photo,post at drive.google.com/.../view

About ROM and RAM1 in ble_app_hrs_c project, I set as default. Can anyone explain for me?

Parents
  • @Phu: After you flash the bootloader, please check and make sure it's advertising as DFU_Targ. It's not the default procedure that you flash your application via KEIL unless you modified the APP_VALID flag.

    I suggest you to modify the bootloader so that you can debug it and check what goes wrong by stepping into the bootloader code. To set the bootloader so that you can debug it, you can have a look at question F here.

    What kind of issue did you have with the stock S120 bootloader example ?

Reply
  • @Phu: After you flash the bootloader, please check and make sure it's advertising as DFU_Targ. It's not the default procedure that you flash your application via KEIL unless you modified the APP_VALID flag.

    I suggest you to modify the bootloader so that you can debug it and check what goes wrong by stepping into the bootloader code. To set the bootloader so that you can debug it, you can have a look at question F here.

    What kind of issue did you have with the stock S120 bootloader example ?

Children
No Data
Related