Skip to main content
cjaya.1
Associate III
October 12, 2022
Question

I have a MicroPython pyboard v1.1. It contains the STM32F405RGT6 chip. When I try to debug with ST link V2 debugger it just light up all the LEDS and says "no device found" on the STM32CubeIDE 1.90v.

  • October 12, 2022
  • 6 replies
  • 3603 views

..

This topic has been closed for replies.

6 replies

cjaya.1
cjaya.1Author
Associate III
October 12, 2022

This is the MicroPython pyboard v1.1 that I try to debug with ST link V2 debugger

https://store.micropython.org/product/PYBv1.1.

it just light up all the LEDS and says "no device found" on the STM32CubeIDE 1.90v. Any idea about this?

Bob S
Super User
October 12, 2022

How do you have the STLink connected to the board? Do you have the programmer software configured to connect under reset?

cjaya.1
cjaya.1Author
Associate III
October 12, 2022

Thank you for the reply. I have connected the STLink to board as SWIO and SWCLK ,NRST to reset of the pyboard and Target Vcc to 3.3v of the pyboard. And the programmer reset behaviour Type set up as "Connect under reset" on the STM32CubeIDE.

Bob S
Super User
October 12, 2022

I meant my question towards a more detailed answer: which pins on the STLink to which pins on the python board?

You have access to the BOOT0 pin, try forcing the internal bootloader to run then connect via UART or USB (presuming those are connected to the correct pins for bootloader use, see AN2606).

It has been a while since I've looked at this, but could it be that the CPU has been programmed for RDP level 2, which prevents ANY debugger access? I don't recall how the STLink reports that.