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"

  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


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

  // Defined in thingProperties.h

  // Connect to Arduino IoT Cloud

     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

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


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?

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.