pavelrevak / pystlink

Python tool for flashing and debugging STM32 devices using ST-LINK/V2
MIT License
218 stars 59 forks source link

Reset does not work with ST-LINK/V3 #22

Closed thomas-rkk closed 3 years ago

thomas-rkk commented 3 years ago

DEVICE: ST-Link/V3 V3J7M2B4S1 SUPPLY: 3.29V COREID: 6ba02477 CPUID: 411fc271 CORE: CortexM7 MCU: STM32H743xI/STM32H753xI/STM32H745xI/STM32H755xI FLASH: 2048KB SRAM: 1024KB

Nothing happens when I reset. I have it working with a ST-LINK/V2 I have.

With the ST-LINK/V3:

Stm32.core_reset()
  USB > f2 35 fc ed 00 e0 00 00 00 00 00 00 00 00 00 00
  USB < 80 00
  USB > f2 35 0c ed 00 e0 04 00 fa 05 00 00 00 00 00 00
  USB < 80 00
  USB > f2 36 0c ed 00 e0 00 00 00 00 00 00 00 00 00 00
  USB < 80 00 00 00 00 00 05 fa