I'm using the the following:
- SDK 7.2
- S130 0.9 Alpha Soft Application
- Modified "experimental_ble_app_s130_example_c_pca10028"
- Untouched "dfu_dual_bank_ble_s110_pca10028"
- nRF51-DK (pca 10028)
My application works when I don't have the boot loader installed.
Application: IROM1 Start= 0x1D000 IROM Size = 0x8000 IRAM1 Start = 0x200002800 IRAM1 Size = 0x1800
I compile and flash the dfu/bootloader on the dev kit (without problems), and then nothing works.
Dfu: IROM1 Start: 0x3C000 IROM1 Size: 0x3C00
IRAM1 Start: 0x20002C00 IRAM1 Size: 0x5380
IRAM2 Start: 0x20007F80 IRAM2 Size: 0x80
I'm obviously missing something, any help would be great. I don't want a custom bootloader, I just want one that works with S130, is that out there somewhere or are there special config steps for the S110 dfu? From my understanding I have to use the S110 Bootloader.
My end goal is to port this over to the nRF51822-BEACON using the J-Link programmer and that 6 prong cable.
Edit: I tried to debug the bootloader...I can't put the optimization down to a level where I can see the variable values / error codes. I can tell that the bootloader is stuck in a loop...doing what I don't know. Just FYI.