Thanks for the reply, Stan!
The tutorial that you sent seems very promissing, however, when I followed the steps, I ended up with the same error as the picture I sent before. I am using the standard reset script and running code from flash. Do you have an ideia what could be causing this? I attatched the reset script below, just in case you need to analyze it.
Best regards,
Matheus