Experimental Buttonless DFU worked correctly when compiled with keil, but the same example compiled in eclipse by gcc is not switching to bootloader mode. value 0x01 is updated at control point.
Experimental Buttonless DFU worked correctly when compiled with keil, but the same example compiled in eclipse by gcc is not switching to bootloader mode. value 0x01 is updated at control point.
Hi Roger, Thanks a tonne. That might be it, but I'm unable to check the memory size in the linker file. How does one do that? Below is my linker file:
/* Linker script to configure memory regions. */
SEARCH_DIR(.) GROUP(-lgcc -lc -lnosys)
MEMORY { FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x6018 }
SECTIONS { .fs_data : { PROVIDE(__start_fs_data = .); KEEP(*(.fs_data)) PROVIDE(__stop_fs_data = .); } > RAM } INSERT AFTER .data;
INCLUDE "nrf5x_common.ld"
Thanks a tonne!
Hi Roger, Thanks a tonne. That might be it, but I'm unable to check the memory size in the linker file. How does one do that? Below is my linker file:
/* Linker script to configure memory regions. */
SEARCH_DIR(.) GROUP(-lgcc -lc -lnosys)
MEMORY { FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x20001fe8, LENGTH = 0x6018 }
SECTIONS { .fs_data : { PROVIDE(__start_fs_data = .); KEEP(*(.fs_data)) PROVIDE(__stop_fs_data = .); } > RAM } INSERT AFTER .data;
INCLUDE "nrf5x_common.ld"
Thanks a tonne!