[ABANDONED] JTAG connect to multiple STM32 (Reset issue ?)

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [ABANDONED] JTAG connect to multiple STM32 (Reset issue ?)

    Hi,

    I have a board were 3 STM32 are connected to a JTAG port. The 3 STM32 are daisy chained. I am using a JLINK EDU Mini.

    One STM32F746 is a master for the two slaves STM32L451. The NRST pin of each slave is connected to a different GPIO of the master as well as a different push button. The NRST pin of the master is connected to the NRST pin the JLINK EDU Mini as well as a push button.

    The GPIO of the master (NRST of the two slaves) are configured as open drain output with a pull-up resistor and they are set as HIGH by default.

    First, I tried to flash only the initialization code for each STM32, with only the GPIO of the master initialized. It went well and I can connect, flash and debug each of the three MCU without any problem.

    Then, the main program has been flashed to the master STM32 without any problem. The main program of the first slave has been flashed to the first slave without problem but then, it became impossible to connect to any of the STM32 (master or slave). I noticed that if I keep the slave under reset, I can connect to the master.

    I tried to flash the first initialization program to the master, without any success.

    Does anybody have any idea of what can be the issue here ? It seems like some of the peripherals (SPI, I2C, UART, etc) of the slave STM32 is entering in conflict with the JTAG.