Unable to flash target code on CW312-T A35 ibex

You’ll find the openocd config file that I’ve used with Tigard and the Ibex target in this thread:

That was for our CW305 target; it also works for the CW312-A35, just make sure to set EXPECTED_ID to the correct FPGA part.