It’s a pain to have to load both the BLE soft-machine, and the application.   The SM has to be loaded with jFlashLite, and the rest can then be loaded using the IDE.

Here’s a little trick for making releases where David doesn’t have to load both of them.

Add this line to the end of the CROSS ARM GNU Create Flash Image specification:

${COMMAND} ${FLAGS} ${OUTPUT_FLAG} ${OUTPUT_PREFIX}${OUTPUT} ; “C:Program Files (x86)Nordic Semiconductornrf51binmergehex” -m ${OUTPUT_PREFIX}${OUTPUT} “..srcs110_softdevice.hex” -o <your_merged_filename>.hex

This is easiest if the soft-machine is first copied into the src directory of the project.

Leave a Reply