open_project -project {C:\SF_UART_HW_flow_LiberoIAR_tut_DF\DEV_KIT\SmartFusion_UART\designer\impl1\SmartFusion_UART_fp\SmartFusion_UART.pro}
set_programming_file -no_file
set_device_type -type {A2F500M3G}
set_device_package -package {484 FBGA}
update_programming_file \
    -feature {prog_fpga:on} \
    -fdb_source {fdb} \
    -fdb_file {C:\SF_UART_HW_flow_LiberoIAR_tut_DF\DEV_KIT\SmartFusion_UART\designer\impl1\SmartFusion_UART.fdb} \
    -feature {prog_from:off} \
    -feature {prog_nvm:on} \
    -efm_content {location:0;source:efc} \
    -efm_block {location:0;config_file:{C:\SF_UART_HW_flow_LiberoIAR_tut_DF\DEV_KIT\SmartFusion_UART\component\work\SmartFusion_UART_MSS\MSS_ENVM_0\MSS_ENVM_0.efc}} \
    -pdb_file {C:\SF_UART_HW_flow_LiberoIAR_tut_DF\DEV_KIT\SmartFusion_UART\designer\impl1\SmartFusion_UART_fp\SmartFusion_UART.pdb}
set_programming_action -action {PROGRAM}
catch {run_selected_actions} return_val
save_project
close_project
if { $return_val != 0 } {
  exit 1 }
