Go Down

Topic: ESP 13 wifi shield with DOIT firmware issue (Read 8783 times) previous topic - next topic

milanbx

Well, I am not there yet completely, I think. After removing the D0-to-GND wire and powering up again, and running Adruino IDE with serial monitor following happened:
1) The serial monitor show that the shield sends permanently some data.
2) At speed of 115200 baud, the serial monitor shows something like this:
n⸮n⸮⸮ll⸮⸮c ⸮⸮ o⸮b⸮⸮⸮b sc⸮⸮⸮b bll⸮⸮n ⸮o⸮⸮⸮nl⸮|b...
3) If I change the speed to 74880 baud, it show following, again and again:

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 2592, room 16
tail 0
chksum 0xf3
load 0x3ffe8000, len 764, room 8
tail 4
chksum 0x92
load 0x3ffe82fc, len 676, room 4
tail 0
chksum 0x22
csum 0x22

2nd boot version : 1.7(5d6f877)
SPI Speed : 40MHz
SPI Mode : QIO
SPI Flash Size & Map: 4Mbit(256KB+256KB)
jump to run user1 @ 1000

rf_cal[0] !=0x05,is 0xFF

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 2592, room 16
...


4) If a send the AT+GMR command, nothing changes.

Can anyone please tell me, if the ESP works fine, as expected, or not?

pert

And during this I HAVE PUSHED THE RESET BUTTON OD THE SHIELD and the flashing process began!
The reset thing is definitely a part of many ESP8266 flashing instructions. I never found it necessary, I think because I connect D0 to GND before powering the shield.

Quote
At speed of 115200 baud, the serial monitor shows something like this:
n⸮n⸮⸮ll⸮⸮c ⸮⸮ o⸮b⸮⸮⸮b sc⸮⸮⸮b bll⸮⸮n ⸮o⸮⸮⸮nl⸮|b...
Try flashing it again, but this time change the filename boot_v1.6.bin to boot_v1.7.bin.

milanbx

#17
Apr 26, 2018, 12:19 am Last Edit: Apr 26, 2018, 12:19 am by milanbx
Well, I did have the D0 to GND too and still need to puch the RST.
And I have also tried the boot_v1.7.bin,  but with the same result.

pert

Start working back through previous AT firmware versions to see if you find one that works for you. You can find NONOS SDK 2.1.0 and 2.0.0 here:
https://github.com/espressif/ESP8266_NONOS_SDK/releases

milanbx


ieee488

#20
Apr 26, 2018, 04:40 pm Last Edit: Apr 26, 2018, 04:49 pm by ieee488
I have 2.0 and 2.1 Espressif AT firmware working on ESP-01 modules.

Flashing the ESP8266 chip can be a bit tricky until you get the hang of it.

https://www.allaboutcircuits.com/projects/flashing-the-ESP-01-firmware-to-SDK-v2.0.0-is-easier-now/ instructions on how to flash the ESP-01 to give you an idea what the process is like
obviously will be slightly different for you since you have the ESP-13.
Your GPIO15 - which the ESP-01 does not expose- needs to be grounded.


http://www.instructables.com/id/ESP-12F-Flashing-AT-Firmware/ maybe helpful


.

Juraj

erase the flash completely with esptool command erase_flash and then try the newest firmware again

milanbx

Hi, I have tried everything you have advised me and make some progress. Non of the SDKs worked. Finally, I have used the Ai-Thinker firmware (AiThinker_1.5.4_AT_Firmware_DIO_32M_4MByte.bin). And it might work well. If I send the AT+GMR command over serial at 115200 baud, I get following:
AT+GMR
AT version:1.1.0.0(May 11 2016 18:09:56)
SDK version:1.5.4(baaeaebb)
Ai-Thinker Technology Co. Ltd.
Jun 13 2016 11:29:20
OK

Is it the right response? I would say, it is.  :)
What bothers me is the response to AT+RST:
AT+RST


OK

 ets Jan  8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 1856, room 16
tail 0
chksum 0x63
load 0x3ffe8000, len 776, room 8
tail 0
chksum 0x02
load 0x3ffe8310, len 552, room 8
tail 0
chksum 0x79
csum 0x79

2nd boot version : 1.5
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 4Mbit(256KB+256KB)
jump to run user1 @ 1000

⸮⸮r⸮l⸮l⸮ ⸮l`⸮⸮r⸮l⸮l⸮ l`⸮⸮r⸮l ⸮⸮⸮ l`⸮⸮r⸮l ⸮⸮
Ai-Thinker Technology Co. Ltd.

ready

1) The flash tool shows me a Flash SIze of 32Mbit. However, the ESP response says: SPI Flash Size & Map: 4Mbit(256KB+256KB). Is this OK?
2) Did I use the right *.bin?
3) What about the string of strange characters before "Ai-Thinker..." line?

ieee488

#23
Apr 27, 2018, 01:19 am Last Edit: Apr 27, 2018, 01:44 am by ieee488
Where did you find that AiThinker bin file?



Also, do a screen capture of your Flash tool making sure to expand it so that the file names including path
are fully visible.


.

milanbx

Where did you find that AiThinker bin file?
webpage: http://www.instructables.com/id/ESP-12F-Flashing-AT-Firmware/
download: http://www.electrodragon.com/w/File:At_firmware_bin1.54.zip
file: AiThinker_ESP8266_DIO_8M_8M_20160615_V1.5.4.bin

Also, do a screen capture of your Flash tool making sure to expand it so that the file names including path
are fully visible.
see the "FlashTool-AT-setup.png" attachment.

travisperro

I programm my Arduino Mega through ESP 07 following this https://github.com/jeelabs/esp-link could it be worth give it a try

milanbx

OK, thank you, I will try it. Does it include also binaries for flashing?
Anyway, do you think my flashing with Ai-Thinker firmware was successful?

Juraj

you always set only one file for flashing? did you read the AT firmware readme file?

milanbx

#28
Apr 27, 2018, 01:10 pm Last Edit: Apr 27, 2018, 01:11 pm by milanbx
No, I set one file only when AT firmware v1.54 used. This was also described in the guide, you gave provided (http://www.instructables.com/id/ESP-12F-Flashing-AT-Firmware/, Step 3).
And yes, I did read it and it describes it too (see end of "readme.txt").

ieee488

I programm my Arduino Mega through ESP 07 following this https://github.com/jeelabs/esp-link could it be worth give it a try
That's not what the OP is trying to do.


Go Up