Help with portenta h7 tutorial

Hi, has anyone ever tried this tutorial for restoring the bootloader of a portenta h7?

And, if it works, does anyone know any linkof amazon for the right stlink to use?

Hi @jackcode07. Before trying the bootloader restoration, have you checked whether the board can be restored by the simple double reset procedure instead?

If you haven't already, try this:

  1. Press and release the reset button on the Portenta H7.
  2. Wait for the green LED on the board to turn on.
    It does this almost immediately, but you do need to wait for it.
  3. While the green LED is still on (it only stays on for one second so you need to be somewhat quick), press and release the reset button again.
  4. You should now see the green LED pulsing, which indicates the bootloader is running.
    If not, repeat the process in case you didn't get the timing quite right.
    The double reset causes the bootloader to run until the board is reset normally, powered off, or an upload is done.
  5. Select the port of the Portenta H7 from the Tools > Port menu in Arduino IDE.
    The port may be different when the bootloader is running so don't assume you already have the correct port selected.
  6. Start an upload in Arduino IDE.

The upload should now finish successfully.

After this, you should be able to go back to doing normal uploads without needing to use the reset button technique. If you still need to do the reset trick to do uploads after this, the problem may be caused by your code. You can verify this by uploading a simple sketch like File > Examples > 01.Basics > BareMinimum.

1 Like

Thanks, but I'm having problems with compiling since i'm forced to use the deprecated version due to this error

I have replied at Install portenta h7 with arduino ide on rpi4