cc_write_flash.py : Write a hex/bin file to the flash memory. You can optionally specify the --erase parameter to firt perform a full chip-erase. Usage example:
~$ ./cc_write_flash.py -p /dev/ttyS0 --in=output.hex --erase
python2.7 ./cc_write_flash.py -p /dev/cu.usbmodem1421 --in=CC2531ZNP-Pro-Secure_LinkKeyJoin_mod.hex --erase