Force reset M5 stack

  • After inadvertently uploading a sketch that outputs to wrong pin numbers one of our M5 stacks has become un-uploadable. That is whenever it's given power the speaker emits loud continuous buzzing and the hardware won't show up as a serial port.

    Is there anyway to force hardware into an uploadable state and reset.
    Hardware is original M5 stack without 4mb psram

  • @keptan
    We managed to fix it
    simply holding down button A and reset button until Arduino ide attempted to connect
    then releasing it and allowing it to upload without a chance for the old code to run