Open marmeladapk opened 7 months ago
Switching TDO with TDI did not help. Logs:
TDI and TDO not swapped, first try after power cycle:
probe-rs run --protocol jtag --chip STM32H743ZITx --speed 300 target/thumbv7em-none-eabihf/debug/dual-iir
WARN probe_rs::probe::jlink: More than one TAP detected, defaulting to tap0
ERROR probe_rs::probe::arm_debug_interface: Unexpected DAP response: 7
ERROR probe_rs::probe::arm_debug_interface: Unexpected DAP response: 7
ERROR probe_rs::probe::arm_debug_interface: Unexpected DAP response: 7
(...)
WARN probe_rs::session: Could not clear all hardware breakpoints: An ARM specific error occurred.
Caused by:
0: Error using access port
1: Failed to write register CSW at address 0x00000000
2: An error occurred in the communication with an access port or debug port.
3: Target device did not respond to request.
ERROR probe_rs::probe::arm_debug_interface: Unexpected DAP response: 7
ERROR probe_rs::probe::arm_debug_interface: Unexpected DAP response: 7
(...)
WARN probe_rs::session: Failed to deconfigure device during shutdown: An ARM specific error occurred.
Caused by:
0: Error using access port
1: Failed to write register CSW at address 0x00000000
2: An error occurred in the communication with an access port or debug port.
3: Target device did not respond to request. Error: The flashing procedure failed for 'target/thumbv7em-none-eabihf/debug/dual-iir'.
Caused by:
0: Something during the interaction with the core went wrong
1: An ARM specific error occurred.
2: Error using access port
3: Failed to write register DRW at address 0x0000000c
4: An error occurred in the communication with an access port or debug port.
5: Target device did not respond to request.
Subsequent tries:
probe-rs run --protocol jtag --chip STM32H743ZITx --speed 300 target/thumbv7em-none-eabihf/debug/dual-iir
Error: Connecting to the chip was unsuccessful.
Caused by:
0: An error with the usage of the probe occurred
1: Invalid data length
TDO swapped with TDI, all tries:
probe-rs run --protocol jtag --chip STM32H743ZITx --speed 300 target/thumbv7em-none-eabihf/debug/dual-iir
Error: Connecting to the chip was unsuccessful.
Caused by:
0: An error with the usage of the probe occurred
1: Invalid data length
--connect-under-reset
did not help either.
SWD works either way, so this is not a high priority.
I checked all JTAG signal with an oscilloscope and there's simply nothing on TDO.
JTAG mode does not work with stlink. Check if swapping TDI with TDO works.