Skip to main content
Visitor II
April 22, 2020
Question

How to avoid JLink debugger affect stm32g030f6 behavior

  • April 22, 2020
  • 0 replies
  • 490 views

We use STM32 microcontrollers pretty often, and I took stm32g030f6 for some specific project. I used STLink-2 + openocd before, but I think I cannot use it on that particular one. So I take JLink but I don't have much experience JLink.

I spent whole day troubleshooting SPI interface, and suddenly I found that I have no MOSI output while debugger attached and working, but I have it fine, when I disconnect JLink. I measured, there no connection between JLINK pins and SPI pins. I never seen something like that with STM32 microcontrollers.

I run JLINK with following command: JLinkGDBServer -device STM32G030F6 -if SWD -port 3333 -nosinglerun

    This topic has been closed for replies.