Skip to main content
Ayoub Cheggari
Senior
April 23, 2026
Solved

[STM32C011J6][SO8] Can't connect via Debugger anymore

  • April 23, 2026
  • 1 reply
  • 99 views

Hello All,

I am working on a custom project using STM32C011J6/SO8.

I was trying to use PIN4 as ADC with 3 differents states but once I connect to GND, mcu resets.

AyoubCheggari_0-1776963438766.png

 

So now, I have no access to the mcu via Debugger because I set NRST_MODE in Option bytes to : 0x10 only internal RESET is possible.

My questions:

- Is there a way to recover it knowing that I tested and I can't access system memory.

- I am using all the 6 pins (4 ADCs and 2 Outputs). Can I use the PIN4/PA0 as ouput without having reset issues?

I know I can still block the reset by Option bytes but I am not sure if I would need a FW change in the future.

Thanks,

Ayoub

Best answer by KDJEM.1

Hello @Ayoub Cheggari ,

 

I recommend you to look at Why NRST pin as GPIO mode is holding the MCU under reset - STMicroelectronics Community article. This article explains the constraints and potential workaround of using NRST pin in GPIO mode.

I hope this help you.

 

Thank you.

Kaouthar

 

1 reply

KDJEM.1
KDJEM.1Best answer
Technical Moderator
April 24, 2026

Hello @Ayoub Cheggari ,

 

I recommend you to look at Why NRST pin as GPIO mode is holding the MCU under reset - STMicroelectronics Community article. This article explains the constraints and potential workaround of using NRST pin in GPIO mode.

I hope this help you.

 

Thank you.

Kaouthar

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.