cancel
Showing results for 
Search instead for 
Did you mean: 

Resetting target via reset pin

JPFF
Visitor

Hi!

 

I'm trying to program a Creality 3D printer 4.2.5 board with an STLINK. This board has a STM32F103RE MCU.

 

I've already successfully flashed this board more than once before with STM32CubeProgrammer. I recall at first it wasn't allowing me to connect either, but then I used the reset jumper on the board to reset the MCU and removed the jumper wire right after hitting Connect and it allowed me to connect.

 

But after programming an open source bootloader and then the main 3D printer firmware right afterwards I'm now unable to connect again.

 

The issue is that I did this (with the Reset jumper wire) whilst the board was on my desk, and not mounted inside the fully enclosed printer. It's not possible for me to be fast enough to hit Connect and turn myself to the printer behind me to remove the jumper wire.

 

So I was wondering if it was possible to connect the Reset pin from the STLINK to the correct jumper pin attached to the Reset pin on the MCU to automatically pull a reset on the MCU.

 

Is this possible? What should the settings on STM32CubeProgrammer be? Should I use hwRstPulse in Mode, and HardwareReset in Reset Mode?

 

Thanks in advance for any help!

0 REPLIES 0