Command Line Execution - QuadSPI Tool
This section describes the Command Line Interface (CLI) commands supported in the QuadSPI Tool.
| Command name | Definition and parameters | Description | Restriction | Example |
| Import QuadSPI binary image | -ImportBin |
Import the binary QuadSPI image in the current configuration. The path of the imported binary image is expected as argument. |
Requires -HeadlessTool QuadSPI | -HeadlessToolQuadSPI -ImportBin C:/boot_images/qspiImg.bin |
| Export QuadSPI image in binary format | -ExportBin |
Export the QuadSPI image in binary format. Folder name is expected as argument. |
Requires -HeadlessTool QuadSPI | -HeadlessTool QuadSPI -ExportBin C:/exports/generated |
| Export QuadSPI image in C format | -ExportC |
Export the QuadSPI image in C format. Folder name is expected as argument. |
Requires -HeadlessTool QuadSPI | -HeadlessTool QuadSPI -ExportC C:/exports/generated |
|
Export all generated files (to simplify all export commands to one command) |
-ExportAll |
Export generated files (with source code etc.). Code will be regenerated before export. Includes -ExportBin,-ExportC and in framework -ExportMEX. Folder name is expected as argument. |
Requires -HeadlessTool QuadSPI | -HeadlessTool QuadSPI -ExportAll C:/exports/generated |
Examples:
- Import QuadSPI binary image and save it to C format:
eclipsec.exe -noSplash\-application com.nxp.swtools.framework.application \--launcher.ini /path/to/S32DS/installation/eclipse/s32ds.ini \-HeadlessTool QuadSPI \-MCU /processor/name \-SDKVersion /sdk/version/name \-ImportBin /path/to/quadspi/binary \-ExportC /path/where/to/save/fileOR
eclipsec.exe -noSplash \-application com.nxp.swtools.framework.application \--launcher.ini /path/to/S32DS/installation/eclipse/s32ds.ini \-HeadlessTool QuadSPI \-MCU S32S247TV \-SDKVersion s32sdk_s32s_rtm_100 \-ImportBin C:\Input\quadspi_image.bin \-ExportC C:\Output - Export all QuadSPI binaries based on a .mex
file:
eclipsec.exe -noSplash \-application com.nxp.swtools.framework.application \--launcher.ini /path/to/S32DS/installation/eclipse/s32ds.ini \-HeadlessTool QuadSPI \-Load /path/to/mex/file\-ExportAll /path/where/to/save/files