Skip to main content
JTrau.1
Associate
September 2, 2020
Question

We have multiple STM32 uC on board and would like to share as many connections for programming the parts.

  • September 2, 2020
  • 12 replies
  • 3035 views

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

    This topic has been closed for replies.

    12 replies

    Ozone
    Principal
    September 2, 2020

    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

    JTrau.1
    JTrau.1Author
    Associate
    September 2, 2020

    I see some info on web that suggests STlink cant handle this connection for programming parts, but perhaps other debugger/programmers can?

    Tesla DeLorean
    Guru
    September 2, 2020

    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.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    waclawek.jan
    Super User
    September 2, 2020

    Which STM32?

    Can't the factory bootloader be used in some way?

    JW

    Tesla DeLorean
    Guru
    September 2, 2020

    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

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    JTrau.1
    JTrau.1Author
    Associate
    September 3, 2020

    Ya, this is what i was thinking and why I shy'd away from it