2020-09-02 06:13 AM
Is there a way to connect them in parallel with some individual enable to reduce the outward interface of the board. ie maybe connect everything in parallel except for RST line or ??? any suggestions would be appreciated
2020-09-02 06:35 AM
JTAG can be daisy-chained.
I would suggest to consult the JTAG standard, I never used that feature myself.
Or start e.g. here: http://www.pemicro.com/blog/index.cfm?post_id=136
2020-09-02 08:02 AM
I see some info on web that suggests STlink cant handle this connection for programming parts, but perhaps other debugger/programmers can?
2020-09-02 08:39 AM
Really a software issue.
You'd need more industrial software rather than low-rent consumer stuff.
Segger used to have libraries for industrial/automation users, and specialized JTAG experience is out there in the test/measurement world, but expect to have to pay for it.
2020-09-02 10:18 AM
we currently also have a seggar unit. How would we connect up the JTAG/SWD interface? Our current connection uses JTD)/TRACE_SWO, JTCLK/SW_CLK, JTMS/SWD_IO and RST. Would we connect all of these in parallel? ie all trace lines together, all CLK lines together and all SWDIO lines together? i wish they had good documentation on this.
2020-09-02 10:27 AM
JTAG, daisy-chained, ie serial and *not* parallel
http://www.pemicro.com/blog/index.cfm?post_id=136
2020-09-02 10:43 AM
understand, the TDI and TDO are serialized, but the other two lines are paralleled, for JTAG, but currently it looks like we are only using the SWD interface which is SWDIO (sits on JTMS lines), SWCLK (sits on JTCLK), TRACESWO (sits on JTDO line). we currently dont use the JTDI line which I guess is not used for SWD
2020-09-02 03:40 PM
Which STM32?
Can't the factory bootloader be used in some way?
JW
2020-09-02 03:46 PM
Yes, going to need to use JTAG, not the simplified/subset of functionality from SWD
2020-09-02 03:49 PM
Yes, I expect one could mux the UART connection, or selectively hold devices in reset so that one could be programmed at a time.
Could mux TX outputs with diode tree and pull-up