2.2. System Console TCL Script
The TCL script is running in the System Console environment. The script reads the .rpd file and sends the file to the Programmer Image via JTAG port to program the quad serial peripheral interface (quad SPI) flash.
This script accesses the Avalon® -MM registers in the Programmer Image. This script has many sub-functions such as read flash device ID, read status register, and write status register.