XIAO ESP32S3 & Wio-SX1262 Meshtastic impossible to update firmware

When I program with Arduino, at the end of uploading to the board I get the error exit status 1 or 2 how can I fix this, I already had the board receiving the code without these problems.