Arduino Nano OTA not working

Hi i'm trying to send sketches over-the-air to my Nano rp2040 and the error menssage that I receive is this one

"binary received uncorrectly by board: SHA256 mismatch"

Is this a problem with the firmware or something else?

thanks in advance

/*
  Sketch generated by the Arduino IoT Cloud Thing "Garden"
  https://create.arduino.cc/cloud/things/eb6aca1f-fdef-47c0-8cb0-a260241d5a2d

  Arduino IoT Cloud Variables description

  The following variables are automatically generated and updated when changes are made to the Thing

  float temperature;
  float humidity;
  bool relay;

  Variables which are marked as READ/WRITE in the Cloud Thing will also have functions
  which are called when their values are changed from the Dashboard.
  These functions are generated with the Thing and added at the end of this sketch.
*/

#include "thingProperties.h"
#include "DHT.h"
#include "Wire.h"

#define DHTPIN 4
#define DHTTYPE DHT11

DHT dht(DHTPIN, DHTTYPE);

void setup() {
  // Initialize serial and wait for port to open:
  Serial.begin(9600);
  Wire.begin();
  dht.begin();
  pinMode(2, OUTPUT);
  // This delay gives the chance to wait for a Serial Monitor without blocking if none is found
  delay(1500);

  // Defined in thingProperties.h
  initProperties();

  // Connect to Arduino IoT Cloud
  ArduinoCloud.begin(ArduinoIoTPreferredConnection);

  /*
     The following function allows you to obtain more information
     related to the state of network and IoT Cloud connection and errors
     the higher number the more granular information you’ll get.
     The default is 0 (only errors).
     Maximum is 4
  */
  setDebugMessageLevel(2);
  ArduinoCloud.printDebugInfo();
}

void loop() {
  ArduinoCloud.update();
  // Your code here
  float temp_hum_val[2] = {0};
  temperature = dht.readTemperature();
  humidity = dht.readHumidity();
  delay(1000);
  
  




}

void onRelayChange() {
  // Do something
  if (relay) {

    digitalWrite(2, HIGH);

  } else {

    digitalWrite(2, LOW);

  }
}

Hey, are you still having issues using OTA with your Nano RP2040?

Yeah - no ota sketchupdate over iot cloud possible - any hints?

EDIT:
It seems to be solved for me. Our UTM-Firewall blocked parts of outbound traffic . . . Switching to outbound free lane on all ports for this device helps. If anyone is in the mood to google the tcp-ports it will be nice to see them here! :wink:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.