ESP WROOM-02 Error: Can't find chipid


#1

It is my first experience with zerynth. I have a problem with device registering. I’m try to flash esp wroom-02. During adding a new device, I’m choose nodemcu v3 board. Nodemcu has the same chip as my wroom-02.
For interfacing with my device, I used this board https://www.digikey.com/catalog/en/partgroup/esp8266ex-development-board/75903
Board a little modified, DTR pin of ft232 connected to IO0 to have ability programing device without pressing flash button.

During registering my device I got “Can’t find chipid” error.
This is my log:

[info] Burning bootloader…
[info] esptool.py v1.3
[info] Connecting…
[info] Running Cesanta flasher stub…
[info] Flash params set to 0x0240
[info] Writing 36864 @ 0x0… 0 (0 %)1024 (2 %)2048 (5 %)3072 (8 %)4096 (11 %)5120 (13 %)6144 (16 %)7168 (19 %)8192 (22 %)9216 (25 %)10240 (27 %)11264 (30 %)12288 (33 %)13312 (36 %)14336 (38 %)15360 (41 %)16384 (44 %)17408 (47 %)18432 (50 %)19456 (52 %)20480 (55 %)21504 (58 %)22528 (61 %)23552 (63 %)24576 (66 %)25600 (69 %)26624 (72 %)27648 (75 %)28672 (77 %)29696 (80 %)30720 (83 %)31744 (86 %)32768 (88 %)33792 (91 %)34816 (94 %)35840 (97 %)36864 (100 %)
[info] Wrote 36864 bytes at 0x0 in 3.2 seconds (91.4 kbit/s)…
[info] Writing 258048 @ 0x20000… 0 (0 %)1024 (0 %)2048 (0 %)3072 (1 %)4096 (1 %)5120 (1 %)6144 (2 %)7168 (2 %)8192 (3 %)9216 (3 %)10240 (3 %)11264 (4 %)12288 (4 %)13312 (5 %)14336 (5 %)15360 (5 %)16384 (6 %)17408 (6 %)18432 (7 %)19456 (7 %)20480 (7 %)21504 (8 %)22528 (8 %)23552 (9 %)24576 (9 %)25600 (9 %)26624 (10 %)27648 (10 %)28672 (11 %)29696 (11 %)30720 (11 %)31744 (12 %)32768 (12 %)33792 (13 %)34816 (13 %)35840 (13 %)36864 (14 %)37888 (14 %)38912 (15 %)39936 (15 %)40960 (15 %)41984 (16 %)43008 (16 %)44032 (17 %)45056 (17 %)46080 (17 %)47104 (18 %)48128 (18 %)49152 (19 %)50176 (19 %)51200 (19 %)52224 (20 %)53248 (20 %)54272 (21 %)55296 (21 %)56320 (21 %)57344 (22 %)58368 (22 %)59392 (23 %)60416 (23 %)61440 (23 %)62464 (24 %)63488 (24 %)64512 (25 %)65536 (25 %)66560 (25 %)67584 (26 %)68608 (26 %)69632 (26 %)70656 (27 %)71680 (27 %)72704 (28 %)73728 (28 %)74752 (28 %)75776 (29 %)76800 (29 %)77824 (30 %)78848 (30 %)79872 (30 %)80896 (31 %)81920 (31 %)82944 (32 %)83968 (32 %)84992 (32 %)86016 (33 %)87040 (33 %)88064 (34 %)89088 (34 %)90112 (34 %)91136 (35 %)92160 (35 %)93184 (36 %)94208 (36 %)95232 (36 %)96256 (37 %)97280 (37 %)98304 (38 %)99328 (38 %)100352 (38 %)101376 (39 %)102400 (39 %)103424 (40 %)104448 (40 %)105472 (40 %)106496 (41 %)107520 (41 %)108544 (42 %)109568 (42 %)110592 (42 %)111616 (43 %)112640 (43 %)113664 (44 %)114688 (44 %)115712 (44 %)116736 (45 %)117760 (45 %)118784 (46 %)119808 (46 %)120832 (46 %)121856 (47 %)122880 (47 %)123904 (48 %)124928 (48 %)125952 (48 %)126976 (49 %)128000 (49 %)129024 (50 %)130048 (50 %)131072 (50 %)132096 (51 %)133120 (51 %)134144 (51 %)135168 (52 %)136192 (52 %)137216 (53 %)138240 (53 %)139264 (53 %)140288 (54 %)141312 (54 %)142336 (55 %)143360 (55 %)144384 (55 %)145408 (56 %)146432 (56 %)147456 (57 %)148480 (57 %)149504 (57 %)150528 (58 %)151552 (58 %)152576 (59 %)153600 (59 %)154624 (59 %)155648 (60 %)156672 (60 %)157696 (61 %)158720 (61 %)159744 (61 %)160768 (62 %)161792 (62 %)162816 (63 %)163840 (63 %)164864 (63 %)165888 (64 %)166912 (64 %)167936 (65 %)168960 (65 %)169984 (65 %)171008 (66 %)172032 (66 %)173056 (67 %)174080 (67 %)175104 (67 %)176128 (68 %)177152 (68 %)178176 (69 %)179200 (69 %)180224 (69 %)181248 (70 %)182272 (70 %)183296 (71 %)184320 (71 %)185344 (71 %)186368 (72 %)187392 (72 %)188416 (73 %)189440 (73 %)190464 (73 %)191488 (74 %)192512 (74 %)193536 (75 %)194560 (75 %)195584 (75 %)196608 (76 %)197632 (76 %)198656 (76 %)199680 (77 %)200704 (77 %)201728 (78 %)202752 (78 %)203776 (78 %)204800 (79 %)205824 (79 %)206848 (80 %)207872 (80 %)208896 (80 %)209920 (81 %)210944 (81 %)211968 (82 %)212992 (82 %)214016 (82 %)215040 (83 %)216064 (83 %)217088 (84 %)218112 (84 %)219136 (84 %)220160 (85 %)221184 (85 %)222208 (86 %)223232 (86 %)224256 (86 %)225280 (87 %)226304 (87 %)227328 (88 %)228352 (88 %)229376 (88 %)230400 (89 %)231424 (89 %)232448 (90 %)233472 (90 %)234496 (90 %)235520 (91 %)236544 (91 %)237568 (92 %)238592 (92 %)239616 (92 %)240640 (93 %)241664 (93 %)242688 (94 %)243712 (94 %)244736 (94 %)245760 (95 %)246784 (95 %)247808 (96 %)248832 (96 %)249856 (96 %)250880 (97 %)251904 (97 %)252928 (98 %)253952 (98 %)254976 (98 %)256000 (99 %)257024 (99 %)258048 (100 %)
[info] Wrote 258048 bytes at 0x20000 in 22.4 seconds (92.2 kbit/s)…
[info] Writing 4096 @ 0x3fc000… 0 (0 %)1024 (25 %)2048 (50 %)3072 (75 %)4096 (100 %)
[info] Wrote 4096 bytes at 0x3fc000 in 0.4 seconds (85.7 kbit/s)…
[info] Writing 4096 @ 0x5f000… 0 (0 %)1024 (25 %)2048 (50 %)3072 (75 %)4096 (100 %)
[info] Wrote 4096 bytes at 0x5f000 in 0.4 seconds (85.3 kbit/s)…
[info] Leaving…
[info] Verifying just-written flash…
[info] Flash params set to 0x0240
[info] Verifying 0x8860 (34912) bytes @ 0x00000000 in flash against C:\Users\DenNB\zerynth2\tmp\tmpa091ly91\tmp.bin…
[info] – verify OK (digest matched)
[info] Verifying 0x3ed78 (257400) bytes @ 0x00020000 in flash against C:\Users\DenNB\zerynth2\tmp\tmpqad1lozh\tmp.bin…
[info] – verify OK (digest matched)
[info] Verifying 0x80 (128) bytes @ 0x003fc000 in flash against C:\Users\DenNB\zerynth2\tmp\tmp394yoxeu\tmp.bin…
[info] – verify OK (digest matched)
[info] Verifying 0x400 (1024) bytes @ 0x0005f000 in flash against C:\Users\DenNB\zerynth2\tmp\tmpqb77_e50\tmp.bin…
[info] – verify OK (digest matched)
[error] Can’t find chipid

Between last verify OK and can not find a chipid error message, the program waits a long time … Maybe one minute or two.

I’m tried to connect via serial at speed 115200, but my terminal is clean. Maybe my wroom-02 can’t start by anything reason?

What i am doing wrong? Thank you


#2

Hi @denkop,

it is not recommended to flash an unsupported board with a VM from a supported one since there may be hardware incompatibilities.

For example, is the uart peripheral on your board exposed on GPIO1 and GPIO3?


#3

I know, but I needed to start work with Zerynth as soon as possible. Now issue solved.

The problem was in wrong configuration gpio0 and rst pin. I added auto programm circuit from nodemcu board. Now, wroom-02 successfully virtualized and I’m continue to learn Zerynth.