When I was developing the TinyFPGA Programmer and the
tinyfpgaa.py module I started out by having it playback JTAG SVF files. In fact, the code is still there in the
JtagSvfParser class. I haven’t used that class in a while, so it might not be 100% working currently. However, if you want to try and program something other than a MachXO2 FPGA, you may be able to generate an SVF file for it and play it back using the
tinyfpgaa.JtagSvfParser class. It won’t be plug-and-play though.
As for larger MachXO2 parts than the 1200 in the A2…it might just work. I haven’t tried it.