Help repurposing an SKR mini e3 v3.0

Hello everyone,

I’m trying to repurpose a SKR Mini E3 V3.0 board to run my own firmware instead of using it as a 3D printer controller. However, I ran into some serious issues while flashing it.

What I Did:

  1. Attempted to flash via ST-Link V2:
    I tried flashing my custom firmware using ST-Link V2 but encountered an error due to Read-Out Protection (RDP).
  2. Attempted to flash via SD card:
    Since I couldn’t use ST-Link, I tried flashing the firmware via SD card.
    Unfortunately, after this attempt, the board is now completely unresponsive, and I can no longer connect via ST-Link.
  3. Current Situation:
    The board does not boot or respond to any input. I suspect that I may have overwritten or corrupted the bootloader.
  4. My PlatformIO Configuration (platform.ini):

[env:nucleo_g0b1re]
platform = ststm32
board = nucleo_g0b1re
framework = arduino
upload_protocol = stlink
board_build.mcu = stm32g0b1ret6

What I Need Help With:
How can I recover my board and restore its firmware?
Is there a way to manually flash the bootloader and regain control?
What is the best method to safely flash custom firmware onto this board without bricking it again?

I would really appreciate any guidance! I know this might be a bit beyond my skill level, but I’m eager to learn and make this board work for a different project.

Thank you in advance for any help! :blush: