I use this.
Parameters : picflash2.exe -w -f$hex-filename$ -q