Radiant Programmer: Does Radiant Programmer supports XCF file creation and automate programming via Linux OS?

Radiant Programmer: Does Radiant Programmer supports XCF file creation and automate programming via Linux OS?

We currently do not have TCL commands that support creating *.xcf file from scratch that will then be used by Radiant programmer.
XCF creation can only be done through Programmer GUI.

You could use the PGRCMD command to run the programmer which also takes in the *.xcf file. (you can find out more by searching "Running Programmer from the Command Line" on Radiant Help)

The *.xcf file is the configuration file in which you set up the operation and the location of your programming file (bit file).

Here is a detailed instruction on how to program your device using Programmer Command:
1. Open Radiant Programmer and create a new blank project.
2. Set the Device, Operation, and Programming File that you will be using.
3. Save the programmer settings as xcf file by clicking File > Save Project/Save Project as.
4. Once the *.xcf file is saved, you can now use it to program your device.
5. Here is an example bash script to run programmer via terminal:

#!/bin/bash

#Setup the environment for running programmer
#Change the bindir directory to programmer folder inside radiant installation folder.

export bindir=/home/jomar/lscc/radiant/2022.1/programmer/bin/lin64
source $bindir/radiant_env

#Programmer
#Change the directory for your xcf and log file

pgrcmd -infile /home/jomar/programmer/test.xcf -logfile /home/jomar/programmer/test.log