Is it OK to share the JTAG connector with both an STM32 and an FPGA?
The circuit would be as follows: JTAG Connector TDI -> STM32 TDI -> STM32 TDO -> FPGA TDI -> FPGA TDO -> JTAG Connector TDO. Would the IAR tool be able to still work with the FPGA in the chain?
The STM32 TAPs are standard, and they support chaining.
Don't know whether IAR supports chaining (OK with the Raisonance RLink), but I guess they do... Note that if you need to describe the chain for your FPGA, you will have to declare 2 TAPs in the STM32.
I confirm that our STM32 is standard and could be chained to other JTAG compatible devices ( for more details refer to RM0008 reference Manual Section 2.4 and Section 2.5 ). Here (attached) I'm designing a board with both STM32 and a small CPLD from Altera and I'm using Altium designer Tool and it is working fine where I'am able to connect to both STM32 and CPLD. For IAR and Keil I beleive that they support this configuration in their tool in addition to Raisonance and you can ask them in their forums ( www.iar.com & www.keil.com )if they have a specific configuration file for that, if it is fixed manually and not detected upon connection.