Im trying to run the example blinky_example on BLENano (tried with gcc / nrf51822-sdk on linux and windows)
.hex from linux before merge : 8475 bytes .hex from windows before merge : 8491 bytes
On windows, using mergehex with any one of these .hex + ss110_nrf51822_7.1.0_softdevice.hex results in error "merge not possible due to conflicts in files"
On linux, I use the sreg_cat technique to merge hex. It errors as
srec_cat: ..../blinky_gcc_xxaa.hex: 1: multiple 0x00000000 values (previous = 0xC0, this one = 0x00)
I tried 5 things :
-
copy directly blinky_gcc_xxaa.hex to the BLENano. Leds don't blink.
-
sreg_cat with option −contradictory-bytes=warning. After copying to the BLENano leds didn't blink
-
modify another example (ble_app_hrs) and replace their main with the blink example's main. I didn't need the flag with sreg_cat but leds didn't blink
-
use mbed's website and download the hex for the blinky example. Leds successfully blinked
-
compiled on linux and windows
Note : when using the sreg_cat merging technique, I keep getting output hex files slightly > 256k (s110_nrf51822_7.1.0_softdevice.hex is already 230k) so this might be an error ?
Any idea to bypass this ?
Thanks
Thomas