1 fw_file=$1 2 DIR=$(dirname $(readlink -f $0)) 3 CFG_FILE=$DIR/max3263x_hdk.cfg 4 openocd -f $CFG_FILE -c "program $fw_file verify reset exit" 5