open_project -project {D:\Libero_11_7_publish\tu0548_spi_keil\designer\SPI_Flash\SPI_Flash_fp\SPI_Flash.pro}\
         -connect_programmers {FALSE}
load_programming_data \
    -name {M2S090TS} \
    -fpga {D:\Libero_11_7_publish\tu0548_spi_keil\designer\SPI_Flash\SPI_Flash.map} \
    -header {D:\Libero_11_7_publish\tu0548_spi_keil\designer\SPI_Flash\SPI_Flash.hdr} \
    -spm {D:\Libero_11_7_publish\tu0548_spi_keil\designer\SPI_Flash\SPI_Flash.spm} \
    -dca {D:\Libero_11_7_publish\tu0548_spi_keil\designer\SPI_Flash\SPI_Flash.dca}
export_single_stapl \
    -name {M2S090TS} \
    -file {D:\Libero_11_7_publish\tu0548_spi_keil\designer\SPI_Flash\export\SPI_Flash.stp} \
    -secured
set_programming_file -name {M2S090TS} -no_file
save_project
close_project
