Page 1 of 1

[solution] Error sketch upload: "Sketch was compiled for another board revision"

Posted: 30 May 2024 18:25
by element
For testing, I used the default sketch:

Code: Select all

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}
and firmware board Z-Uno2 version 3.0.12 beta.

If the compilation was successful. However, an error appears during sketch upload:

Code: Select all

Error  0	 Sketch was compiled for another board revision:656e (Expected:0704). Try to recompile the sketch.
Failed uploading: uploading error: exit status 7
Decrease the file name (or file path) and try sketch upload again.
Regards

Re: [solution] Error sketch upload: "Sketch was compiled for another board revision"

Posted: 01 Jun 2024 12:13
by PoltoS
There are no revisions 656e. This looks like a board issue. Try to upgrade the bootloader then firmware and then check if it works

Re: [solution] Error sketch upload: "Sketch was compiled for another board revision"

Posted: 09 Jun 2024 16:32
by element
PoltoS wrote:
01 Jun 2024 12:13
There are no revisions 656e. This looks like a board issue. Try to upgrade the bootloader then firmware and then check if it works
But I have already solved the problem and here is the solution.