Description
This Tcl command sets the programming interface.
set_programming_interface [-interface {JTAG | SPI_SLAVE}]
Arguments
| Parameter | Type | Description |
|---|
| interface | string | Specify the programming interface as JTAG or SPI_SLAVE. The default is JTAG. |
| Return Type | Description |
|---|
| None | None |
Error Codes
| Error Code | Description |
|---|
| None | interface: Invalid argument value: 'value' (expecting JTAG or SPI_SLAVE). |
| None | Parameter 'interface' has illegal value. |
| None | Parameter 'param_name' is not defined. Valid command formatting is 'set_programming_interface [-interface "JTAG | SPI_SLAVE"]'. |
Supported Families
| PolarFire® |
| SmartFusion® 2 |
| IGLOO® 2 |
| RTG4™ |
| PolarFire SoC |
Example
This example sets programming
set_programming_interface -interface {SPI_SLAVE}