I have an ESP-07 and an ESP-12F.
Programming works on both of them but only the ESP-12F reacts on AT
commands.
I use the Arduino IDE and a CP2102 adapter for uploading sketches and
its serial monitor for AT commands.
I also did use putty to check the boot output of the ESP-07 at 74880
baud.
Both ESPs have soldered pin headers and were plugged into the same
breadboard.
I have flashed the latest firmware to the ESP-07 (s. screenshot).
Flashing went flawlessly, but AT commands still do not work.
I did try all the baud rates between 9600 and 115200 but there is just
no reaction on AT commands with the ESP-07.
Here is the boot output from the current firmware:
1
2ndbootversion:1.7(5d6f877)
2
SPISpeed:40MHz
3
SPIMode:QIO
4
SPIFlashSize&Map:8Mbit(512KB+512KB)
5
jumptorunuser1@1000
6
7
correctflashmap
8
V2
9
Mo
How can I get AT commands to work with the ESP-07?
Do not use the breadboard for power supply, also not cheap jumper wires.
Better solder thick copper wires between power supply and the module.
See also the other power supply related hints in the website which I
just recommended.
I did already read the thread from Stefan Frings and as I said,
programming works flawlessly as well as the firmware update.
I also measured the power supply with a scope and did not see any
problems with voltage dips.
It's just the AT commands on the 07 that do not work.
I will give the firmware version from Stefan a try, to see if it makes
any difference.
As the ESP-12 works correctly with the serial monitor, I doubt that the
line breaks are the cause.
I've also tried with putty but it did not work either.
I did flash the ESP-12 as well as the ESP-07 with the 1.5 firmware from
Stefan Frings, but the problem persists.
Both modules did perform the flash update without errors (see
screenshots) and the boot messages at 74880 baud look the same shown
below.
The modules identify differently on the flash update tool as expected.
Still, the ESP-12 reacts correctly upon AT commands whereas the ESP-07
does not react at all.
Maybe the ESP-07 is broken but then it puzzles me that the firmware
update doesn't give any error and the previously flashed blink sketch
did perform as expected.
I have a second ESP-07 which still has the factory firmware.
This gives me the following output @74880 baud at boot.
1
2nd boot version : 1.5
2
SPI Speed : 40MHz
3
SPI Mode : QIO
4
SPI Flash Size & Map: 8Mbit(512KB+512KB)
5
jump to run user1 @ 1000
I did flash my 1st ESP-07 with the latest SDK from
https://www.espressif.com/en/products/socs/esp8266ex/resources and it
now shows boot version 1.7 while the other values are the same as above.
The AT problem is the same as on both of the ESP-07 though.
I did also flash my ESP-12 with the latest firmware 1.7 and this one has
no problems with AT commands.
My suspicion is, that the ESP-07 either have a flash ROM problem at the
0x1000 segment, which is the jump start address for AT commands, or the
clock frequency for AT commands is not within the correct limits.
Peter K. wrote:> I did flash the ESP-12 as well as the ESP-07 with the 1.5 firmware from> Stefan Frings, but the problem persists.
But you did not use the python tool that I highly recommended on my
website. I see that you selected QIO mode for the flash. As far as I
know, these modes (also also the flash clock rate) are not used during
flashing. They affect how the program configured the flash access after
startup. So a wrong setting may result in a program that hangs shortly
after startup.
My modules do all work fine in DIO mode, but only some few support QIO
mode. I had one case where the module was able to run in QIO mode for a
few hours and then suddenly stopped, but DIO mode worked fine then.
If you use the python tool, you get proper default settings that all
modules can run with. I assume it is DIO or DOUT.
Also do not attempt to use 80 MHz flash clock. It has only a minor
effect on the overall performance but decreases the stability a lot.
Thanks for the reply.
I already did flash with the python tool, but things did not change.
The output is as attached.
What puzzles me is that the debug output with 74880 baud is shown
properly, which means that the serial port works.
I am on Windows and use the Arduino IDE and its serial monitor.
My 12F module has no problems, my two ESP-07 do not work.
If I switch the baudrate to 115200 and do a reset I get a long line with
only gibberish without a line break and there is no "ready" at the end.
AT commands do not show any reaction.
I suspect that the 07 modules have a hardware problem and I have ordered
2 more from another seller to see if they behave differently.
One more think to check: The ESP-07 modules do not have a capactor at
the reset pin, and also no pull-up resistor.
See the schematics details on
http://stefanfrings.de/esp8266/index.html#esp12
Can you start them by issuing an extern reset pulse?