I entegrated state machine of JTAG TAP in a mcu for control stm32f103c8t6. It is working well. (IDCODE registers are 0x3ba00477 = CORTEXM3 , 0x16410041 = STM32f103c8 medium lqfp48)But I haven't found any file for programming flash memory with JTAG...