Can't download python script to new device


#1

Greetings All,

Me again. Now that I have a program that sends data to cloudmqtt, I am trying to replicate this on a second device (another ESP32). I can virtualize the device with no problems. When I try to download the script, I get this error:

[a bunch of stuff here…]

[info] Got header: mode:DIO, clock div:2

[info] Got header: load:0x3fff0018,len:4

[info] Got header: load:0x3fff001c,len:3696

[info] Got header: ho 0 tail 12 room 4

[info] Got header: load:0x40078000,len:9928

[info] Got header: ho 0 tail 12 room 4

[info] Got header: load:0x40080400,len:5788

[info] Got header: entry 0x400806c0

[info] Got header: E (43) boot: OTA: -1/-1 -1/-1 -1/-4

[error] No answer to probe


#2

This error is becuase the IDE expects a certain reply from the device, Usually all of this is done by the Virtual Machine (The firmware).
If the device is virtualized successfuly, It shouldn’t have this kind of error.

after virtualization and during uplinking, when the Log says: “Probe sent”, Reset the device

Let me know if this helps


#3

Okay, sorry it took me so long to try this. I pressed the reset button on the esp32, and I got this in the debug command line:

Got header: load:0x3fff001c,len:3772

[info] Got header: load:0x40078000,len:9928

[info] Got header: load:0x40080400,len:5788

[info] Got header: entry 0x400806c0

[info] Got header: E (39) boot: OTA: -1/-1 -1/-1 -1/-4 <--------This is when I pressed reset

[info] Got header: E (40) boot: Invalid ota, returning default vm 0

[info] Got header: E (40) boot: Starting vm 0

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[info] Got header: 42a04c13a8ca

[error] No answer to probe


#4

The header you got seems like you have not virtualized the device; try to create and virtualize the device following the steps as shown in the guide .

If you have already virtualized the device, Could you reset the device When the console outputs : Compilation Ok
[info] Searching for device.