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: Please explain me how you test the bootloader ! With step by step on what you do. It's hard to guess from your video. The default steps should be:

    1. Flash S120 softdevice
    2. Flash the bootloader
    3. Check if the bootloader advertising
    4. Use MCP or DFU app to do DFU with the image from an example in the SDK. 
    5. Check if the DFU process finishes successfully
    6. Check if the device enters the application 
    7. Check if you power reset the device and still can enter application. 
    

    You can test first with simple application like blinky (with modification on ROM so that it works with S120 flashed). Let me know at which step you have issue.

Reply
  • @Phu: Please explain me how you test the bootloader ! With step by step on what you do. It's hard to guess from your video. The default steps should be:

    1. Flash S120 softdevice
    2. Flash the bootloader
    3. Check if the bootloader advertising
    4. Use MCP or DFU app to do DFU with the image from an example in the SDK. 
    5. Check if the DFU process finishes successfully
    6. Check if the device enters the application 
    7. Check if you power reset the device and still can enter application. 
    

    You can test first with simple application like blinky (with modification on ROM so that it works with S120 flashed). Let me know at which step you have issue.

Children
No Data
Related