Hi Kevin,
I think that there is not any problem with multiplexing pins using this method, but there are some points you should consider:
- Jlink supports both JTAG and SWD (SWD using 2 pins only). If you use SWD instead of JTAG, there is only one shared pin.
- Unless you use CPLD for something else already, it is not cost effective to use CPLD just for multiplex 1-3 pins.
- EzPort requires reset circle so do not forget to design it in a way that you can control reset pin of K10
- I am not sure if you had a look at Vybrid platform or not but Vybrid can help to reduce cost and size of the system where both realtime app and rich user interface are needed.
Regards