Hallo Zusammen,
ich verzweifele gerade…
Ich versuche die Firmware neu aufzuspielen, aber es klappt nicht mehr.
Es kommt immer der folgende Fehler in Visual Studio Code:
Connecting........__
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:e9:0e:99:d4:40
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0023dfff...
Flash params set to 0x0240
Compressed 18624 bytes to 12073...
Writing at 0x00001000... (100 %)
Wrote 18624 bytes (12073 compressed) at 0x00001000 in 0.4 seconds (effective 414.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 149...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (149 compressed) at 0x00008000 in 0.0 seconds (effective 1088.9 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 2247.7 kbit/s)...
Hash of data verified.
Compressed 2282848 bytes to 1375307...
Writing at 0x00010000... (1 %)
.... läuft problemlos durch
Writing at 0x00237531... (100 %)
Wrote 2282848 bytes (1375307 compressed) at 0x00010000 in 34.4 seconds (effective 530.2 kbit/s)...
File md5: 291845fdafe6499c65f7c961a395fd9a
Flash md5: 28a0aeec7d51e43e265a1f0ead970b96
MD5 of 0xFF is 9c122d301926b15979d7735fdfb08123
A fatal error occurred: MD5 of file does not match data in flash!
*** [upload] Error 2
=========================================== [FAILED] Took 76.96 seconds ===========================================
Environment Status Duration
---------------------- -------- ------------
lolin_d32_pro_sdmmc_pe FAILED 00:01:16.958
====================================== 1 failed, 0 succeeded in 00:01:16.958 ======================================```
Das Problem ist, dass es auch OTA nicht mehr klappt...
Er lädt es hoch und startet neu, aber es ist immer noch die alte Firmware.
Ich merke es daran, dass ich in der main.cpp am ESPUINO Logo etwas geändert habe, dieses aber im Terminal sich nicht ändert nach einem Upload.
Ich habe von einem RC522 zu einem PN5180 gewechselt. Aber kann es nicht nutzen, da ich die Firmware nicht angepasst bekomme.
Hat jemand eine Idee ? Ich weiß nicht mehr weiter, habe die Platine ja noch nicht lange und würde meiner Tochter so gerne Ihre neue Box präsentieren...
Vielen Dank und viele Grüße
Steffen
Ich habe das Board D32 pro FePo nun mal von dem Espuino Board runter genommen. Dann sieht es so aus als ob alles klappt:
Connecting.....
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 3c:e9:0e:99:d4:40
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Flash will be erased from 0x00001000 to 0x00005fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x0000e000 to 0x0000ffff...
Flash will be erased from 0x00010000 to 0x0023dfff...
Flash params set to 0x0240
Compressed 18624 bytes to 12073...
Writing at 0x00001000... (100 %)
Wrote 18624 bytes (12073 compressed) at 0x00001000 in 0.6 seconds (effective 266.2 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 149...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (149 compressed) at 0x00008000 in 0.1 seconds (effective 438.1 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.1 seconds (effective 667.2 kbit/s)...
Hash of data verified.
Compressed 2282848 bytes to 1375306...
Writing at 0x00010000... (1 %)
Writing at 0x00016088... (2 %)
Writing at 0x00019f41... (3 %)
Writing at 0x00027ea9... (4 %)
Writing at 0x0002d5a4... (5 %)
Writing at 0x00034ad4... (7 %)
Writing at 0x000389fb... (8 %)
Writing at 0x0003ccbf... (9 %)
Writing at 0x00041e93... (10 %)
Writing at 0x0004c9de... (11 %)
Writing at 0x00056e6b... (13 %)
Writing at 0x0006ab9e... (14 %)
Writing at 0x00075f3f... (15 %)
Writing at 0x00080991... (16 %)
Writing at 0x0009495c... (17 %)
Writing at 0x000a1f24... (19 %)
Writing at 0x000a7a65... (20 %)
Writing at 0x000adbe1... (21 %)
Writing at 0x000b39d1... (22 %)
Writing at 0x000b9275... (23 %)
Writing at 0x000be595... (25 %)
Writing at 0x000c375f... (26 %)
Writing at 0x000c8a28... (27 %)
Writing at 0x000cdbe0... (28 %)
Writing at 0x000d29ba... (29 %)
Writing at 0x000d8ea1... (30 %)
Writing at 0x000df614... (32 %)
Writing at 0x000e5371... (33 %)
Writing at 0x000ead88... (34 %)
Writing at 0x000efe59... (35 %)
Writing at 0x000f53ee... (36 %)
Writing at 0x000fa74e... (38 %)
Writing at 0x000ffcd3... (39 %)
Writing at 0x0010524c... (40 %)
Writing at 0x0010f3c0... (41 %)
Writing at 0x0011665a... (42 %)
Writing at 0x0011bcdb... (44 %)
Writing at 0x00121691... (45 %)
Writing at 0x001278d0... (46 %)
Writing at 0x0012e04f... (47 %)
Writing at 0x00134c25... (48 %)
Writing at 0x0013ab8c... (50 %)
Writing at 0x00140c44... (51 %)
Writing at 0x00146689... (52 %)
Writing at 0x0014dbea... (53 %)
Writing at 0x00153b2b... (54 %)
Writing at 0x00159b29... (55 %)
Writing at 0x0015fddf... (57 %)
Writing at 0x00165c87... (58 %)
Writing at 0x0016bc5f... (59 %)
Writing at 0x00171fdd... (60 %)
Writing at 0x00177b1c... (61 %)
Writing at 0x0017d82f... (63 %)
Writing at 0x00183eaf... (64 %)
Writing at 0x00189f36... (65 %)
Writing at 0x0018fa1e... (66 %)
Writing at 0x001950e8... (67 %)
Writing at 0x0019ab3d... (69 %)
Writing at 0x001a06f0... (70 %)
Writing at 0x001a5d0a... (71 %)
Writing at 0x001ab76c... (72 %)
Writing at 0x001b1585... (73 %)
Writing at 0x001b7792... (75 %)
Writing at 0x001bd880... (76 %)
Writing at 0x001c32ce... (77 %)
Writing at 0x001ca02d... (78 %)
Writing at 0x001d091f... (79 %)
Writing at 0x001d736c... (80 %)
Writing at 0x001dd0dc... (82 %)
Writing at 0x001e33cf... (83 %)
Writing at 0x001e95c7... (84 %)
Writing at 0x001ef381... (85 %)
Writing at 0x001f53b9... (86 %)
Writing at 0x001fb4bc... (88 %)
Writing at 0x00200e7e... (89 %)
Writing at 0x00206b47... (90 %)
Writing at 0x0020cbdb... (91 %)
Writing at 0x002137a1... (92 %)
Writing at 0x00219ec3... (94 %)
Writing at 0x0022056c... (95 %)
Writing at 0x002264e6... (96 %)
Writing at 0x0022c1b3... (97 %)
Writing at 0x00231e1c... (98 %)
Writing at 0x00237531... (100 %)
Wrote 2282848 bytes (1375306 compressed) at 0x00010000 in 35.0 seconds (effective 522.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
=================================================== [SUCCESS] Took 69.87 seconds ===================================================
Environment Status Duration
---------------------- -------- ------------
lolin_d32_pro_sdmmc_pe SUCCESS 00:01:09.872
==================================================== 1 succeeded in 00:01:09.872 ====================================================
aber wenn ich ihn dann wieder aufstecke und verbinde sehe ich an dem Logo das es immer noch die „alte“ Firmware ist. Es scheint als würde er einfach nicht die neue Firmware annehmen, obwohl es in der Konsole beim Übertragen gut aussieht ?!?!?
Ist mein Board defekt ???
Vielen Dank
Steffen
Ich habe es gerade nochmal verifiziert. Ich hatte in der „neuen“ Firmware den PN5180 aktiviert und den RC522 deaktiviert. Trotz das der Upload mir mit abgestecktem Board als „success“ angezeigt wurde, hatte es nicht geklappt. Ich habe den RC522 wieder angeschlossen und er funktionierte problemlos. Ich hatte mich nämlich gewundert, dass es der PN5180 nicht tun wollte.
Also egal was ich probiere, ich kann scheinbar nicht mehr flashen, er bleibt bei der Firmware die zuletzt drauf war 
Ich hoffe jemand kann mir helfen, sonst bleibt wahrscheinlich nur ein neues Board. Wobei ich es nicht verstehe, da es funktionierte, dann 2 Wochen hier lag als ich auf den PN5180 wartete und nun nur diesen anschließen und die Firmware anpassen wollte.
Vielen Dank
Steffen
Vielen Dank. Es hat geholfen.