Programma Arduino su Shelly 1 Plus (ESP32)

BadTouch86

Nuovo Utente
2
0
Ciao a tutti, ho un problema che mi sta tormentando.
Ho realizzato un programmino per arduino che fa delle operazioni basate su bluetooth ed ho testato questo programma su una scheda ESP32 funzionando perfettamente.

Ora sto provando a caricare lo stesso programma su uno Shelly 1 Plus (che monta ESP32) utilizzando il convertitore seriale CP2102 con gli opportuni collegamenti e mandano a massa GP0 con il neutro per farlo andare in modalità flashing.

Quando compilo il programma mi viene fuori:
Codice:
Lo sketch usa 959906 byte (73%) dello spazio disponibile per i programmi. Il massimo è 1310720 byte.
Le variabili globali usano 30396 byte (9%) di memoria dinamica, lasciando altri 297284 byte liberi per le variabili locali. Il massimo è 327680 byte.
esptool.py v3.0-dev
Serial port /dev/cu.usbserial-0001
Connecting....
Chip is ESP32-U4WDH (revision 3)
Features: WiFi, BT, Single Core, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: a8:03:2a:bc:a5:94
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 6184.4 kbit/s)...
Hash of data verified.
Compressed 17120 bytes to 11164...
Writing at 0x00001000... (100 %)
Wrote 17120 bytes (11164 compressed) at 0x00001000 in 0.2 seconds (effective 776.5 kbit/s)...
Hash of data verified.
Compressed 960016 bytes to 557546...
Writing at 0x00010000... (2 %)
Writing at 0x00014000... (5 %)
Writing at 0x00018000... (8 %)
Writing at 0x0001c000... (11 %)
Writing at 0x00020000... (14 %)
Writing at 0x00024000... (17 %)
Writing at 0x00028000... (20 %)
Writing at 0x0002c000... (22 %)
Writing at 0x00030000... (25 %)
Writing at 0x00034000... (28 %)
Writing at 0x00038000... (31 %)
Writing at 0x0003c000... (34 %)
Writing at 0x00040000... (37 %)
Writing at 0x00044000... (40 %)
Writing at 0x00048000... (42 %)
Writing at 0x0004c000... (45 %)
Writing at 0x00050000... (48 %)
Writing at 0x00054000... (51 %)
Writing at 0x00058000... (54 %)
Writing at 0x0005c000... (57 %)
Writing at 0x00060000... (60 %)
Writing at 0x00064000... (62 %)
Writing at 0x00068000... (65 %)
Writing at 0x0006c000... (68 %)
Writing at 0x00070000... (71 %)
Writing at 0x00074000... (74 %)
Writing at 0x00078000... (77 %)
Writing at 0x0007c000... (80 %)
Writing at 0x00080000... (82 %)
Writing at 0x00084000... (85 %)
Writing at 0x00088000... (88 %)
Writing at 0x0008c000... (91 %)
Writing at 0x00090000... (94 %)
Writing at 0x00094000... (97 %)
Writing at 0x00098000... (100 %)
Wrote 960016 bytes (557546 compressed) at 0x00010000 in 10.8 seconds (effective 712.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 2276.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...

Il chè mi induce a pensare che sia andato tutto correttamente quindi tolgo il corto di GP0 e massa e ricollego al seriale ed apro il monitor dove, all'accensione mi compaiono i messaggi:
Codice:
22:04:48.167 -> rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
22:04:48.167 -> configsip: 188777542, SPIWP:0xee
22:04:48.167 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
22:04:48.167 -> mode:DIO, clock div:1
22:04:48.167 -> load:0x3fff0018,len:4
22:04:48.167 -> load:0x3fff001c,len:1044
22:04:48.167 -> load:0x40078000,len:10124
22:04:48.167 -> load:0x40080400,len:5856
22:04:48.167 -> entry 0x400806a8
22:04:48.476 -> E (329) cpu_start: Running on single core chip, but application is built with dual core support.
22:04:48.476 -> E (329) cpu_start: Please enable CONFIG_FREERTOS_UNICORE option in menuconfig.
22:04:48.511 -> abort() was called at PC 0x400843f9 on core 0
22:04:48.511 ->
22:04:48.511 -> ELF file SHA256: 0000000000000000
22:04:48.511 ->
22:04:48.511 -> Backtrace: 0x4008ecdc:0x3ffe3be0 0x4008ef59:0x3ffe3c00 0x400843f9:0x3ffe3c20 0x40079247:0x3ffe3c40 0x400792ad:0x3ffe3c70 0x400792b8:0x3ffe3ca0 0x40079465:0x3ffe3cc0 0x400806da:0x3ffe3df0 0x40007c15:0x3ffe3eb0 0x4000073d:0x3ffe3f20
22:04:48.511 ->
22:04:48.511 -> Rebooting...
22:04:48.544 -> ets Jul 29 2019 12:21:46

Nulla quindi di quello che il programma dovrebbe stampare a video.

Qualcuno ha avuto esperienze in merito e può aiutarmi?
 

Allegati

  • IMG_4098.jpg
    IMG_4098.jpg
    592.6 KB · Visualizzazioni: 83
  • IMG_4099.jpg
    IMG_4099.jpg
    613.5 KB · Visualizzazioni: 82
  • IMG_4100.jpg
    IMG_4100.jpg
    532.4 KB · Visualizzazioni: 86

Entra

oppure Accedi utilizzando
Discord Ufficiale Entra ora!