i am already use sdk10 and Eclipse gcc tool chain set-up.. but when i am programming on nrf51822. so, it's not work. also, it's working on nrf51422 QFACAB0(0x0071)..
GIVE ME ANY HEX FILE... FOR BOOTLOADER, FOR NRF51822
i am already use sdk10 and Eclipse gcc tool chain set-up.. but when i am programming on nrf51822. so, it's not work. also, it's working on nrf51422 QFACAB0(0x0071)..
GIVE ME ANY HEX FILE... FOR BOOTLOADER, FOR NRF51822
As i already answwered in your different topic, you are using nrf51822 with only 128kb rom and 16kb ram, and it is revision 2 chip. you should switch to revision 3 chip to use SDK10 and newest softdevice. But for development purpose you could try compiling single bank bootloader or modify dual bank to fit in your memory layout.
but i have no choice for change my chip. so, please any another way...
You can try using single bank bootloader, as i mentioned before.
i can do it.. by change on linker file. and dfu_type.h file..
DFU_BOOTLOADER Settings for nRF51822 and nRF51422 chip with soft device s110 v8.0 (128 Kb & 256 Kb both)*******
goto directory "nRF51_SDK_10.0.0_dc26b5e\examples\dfu\bootloader" and then open file "dfu_gcc_nrf51.ld"
settings for 128Kb flash and 16kb ram
FLASH (rx) : ORIGIN = 0x1C000, LENGTH = 0x3C00
RAM (rwx) : ORIGIN = 0x20002000, LENGTH = 0x1380
NOINIT (rwx) : ORIGIN = 0x20003380, LENGTH = 0x80
BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0001FC00, LENGTH = 0x0400
UICR_BOOTLOADER (r) : ORIGIN = 0x10001014, LENGTH = 0x04
settings for 256Kb flash and 32kb ram
FLASH (rx) : ORIGIN = 0x3C000, LENGTH = 0x3C00
RAM (rwx) : ORIGIN = 0x20002C00, LENGTH = 0x5380
NOINIT (rwx) : ORIGIN = 0x20007F80, LENGTH = 0x80
BOOTLOADER_SETTINGS (rw) : ORIGIN = 0x0003FC00, LENGTH = 0x0400
UICR_BOOTLOADER (r) : ORIGIN = 0x10001014, LENGTH = 0x04
And then Save and Exit.
goto directory "nRF51_SDK_10.0.0_dc26b5e\components\libraries\bootloader_dfu" and then open file "dfu_types.h"
settings for 128Kb flash and 16kb ram
#define BOOTLOADER_REGION_START 0x0001C000 #define BOOTLOADER_SETTINGS_ADDRESS 0x0001FC00
settings for 256Kb flash and 32kb ram
#define BOOTLOADER_REGION_START 0x0003C000 #define BOOTLOADER_SETTINGS_ADDRESS 0x0003FC00
And then Save and Exit. After then compile and run on Eclipse gcc tool chain setup...
Also read..Bootloader_setup_readme.txt