Visible to Intel only — GUID: wsx1540534030889
Ixiasoft
3.4.1. Executing Commands in the System Console
To execute the commands in the System Console to program the .rpd file, follow these steps:
- Launch the Nios® II Command Shell.
- Change the directory to your working folder where you save the TCL script and .rpd file. For example: cd C:\My_Projects.
- Launch the System Console by executing this command: system-console.
- At the TCL Console window, load the TCL script by executing this command: source customizable_programmer.tcl.
- Program the .rpd file by executing this command: programming_flow <your_rpd_file>.
In System Console environment, you can execute many other commands besides programming the .rpd file. You may execute other functions in the TCL script directly from the TCL Console window. For example, you can execute read_memory_id to read the flash device ID, or read_status_reg to read the Status Register of the flash. Any function written in the TCL script, including the custom functions in extended script, can be executed from the TCL Console window.
An example to run a custom function in the custom script is as follows:
micron_mt25q::read_flag_status_register