I'm migrating from S310 v1.0 + SDK 5.2.0 to the latest S310 v2.0 + SDK 7.1.0 (to be able to update also BL and SD).
I have used OTA DFU based on example included in SDK 5.2.0 with chip nRF51422-QFAA.
Now I try to use bootloader example from SDK 7.1.0 wich is made for S110 and 32kB RAM chip, so I have modified:
-
chip device to QFAA (16kB RAM)
-
IROM1 (0x3C000; 0x4000) + IRAM1(0x20000000; 0x3F80) + IRAM2(0x20003F80; 0x80)
-
Preprocesor Symbols (Keil): __HEAP_SIZE=0 NRF51 BLE_STACK_SUPPORT_REQD SOFTDEVICE_PRESENT BOARD_CUSTOM PSTORAGE_RAW_MODE_ENABLE
-
LED and BUTTON defines (dfu_transport_ble.c is using another two leds, I had to redirect them into my only LED on my board)
I flashed new S310 v2 and modified bootloader but I can't see even any BLE channel. I'm probably something missing but I can't find any other modifications necessary for port example to S310.
Do you have a plans to make bootloader example even for S310 with 16kB RAM chips?