Si4684 boot fix: flash encryption off, 16MB flash, NVS enc off, main task stack 8KB, CTS timeout 10s (fixes BootCmd error 6), DMA-safe HOST_LOAD buffer

This commit is contained in:
2026-08-05 08:57:43 +02:00
parent a28120b44e
commit 34f247019a
19 changed files with 396 additions and 53 deletions
+51
View File
@@ -0,0 +1,51 @@
#include <Wire.h>
// I2C scanner for Arduino IDE
// - Apri il Monitor Seriale a 115200 baud
// - Collega SDA/SCL al bus I2C del dispositivo che vuoi testare
// - Carica lo sketch e osserva gli indirizzi trovati
void setup() {
Serial.begin(115200);
while (!Serial) {
delay(10);
}
Serial.println("I2C Scanner - Arduino IDE");
Wire.begin();
Serial.println("Scanning for I2C devices...");
}
void loop() {
byte error, address;
int count = 0;
Serial.println("\nScanning...");
for (address = 1; address < 127; address++) {
Wire.beginTransmission(address);
error = Wire.endTransmission();
if (error == 0) {
Serial.print("Found I2C device at 0x");
if (address < 16) Serial.print("0");
Serial.print(address, HEX);
Serial.println(" !");
count++;
} else if (error == 4) {
Serial.print("Unknown error at address 0x");
if (address < 16) Serial.print("0");
Serial.println(address, HEX);
}
}
if (count == 0) {
Serial.println("No I2C devices found.");
} else {
Serial.print("Done. ");
Serial.print(count);
Serial.println(" device(s) found.");
}
delay(5000);
}