Chat freely about anything...

User avatar
By Timpanogos Slim
#35152 Feels like this doesn't really belong in general but none of the other forums looked like an obvious place to talk about official AT firmware issues.

Bought a pair of ESP-201 boards from an aliexpress vendor recently. These came with 8mbit flash parts, so the current AT firmware should fit without modification.

This is my first espressif tinkering. I've messed around with arduinos a bit. I'm no programmer, but I have more than 15 years experience in software quality assurance, and 2 years of that was in embedded linux, so the concepts are familiar to me.

Anyway, as delivered these came with AT v0.25 and I think boot 1.2.

Got one into a breadboard, got it hooked up to a cp2102 usb dongle, got talking to it at 115200, got it to connect to my local wifi.

So then i downloaded the 0.50 AT and the nodemcu flasher. Pulled gpio0 to ground and flashed the following (at 115200bps) per the readme:

boot_v1.4(b1).bin at 0x00000
user1.1024.new.2.bin at 0x01000
blank.bin at 0x7e000 and 0x1fe000
esp_init_data_default.bin 0x1fc0000

Following that, the serial is now at 74880bps, and when it boots up i get this:

Code: Select all ets Jan  8 2013,rst cause:1, boot mode:(3,6)

load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0

2nd boot version : 1.4(b1)
  SPI Speed      : 40MHz
  SPI Mode       : QIO
  SPI Flash Size & Map: 8Mbit(512KB+512KB)
jump to run user1 @ 1000

error magic!
backup boot failed.

user code done


I re-flashed a few times, to no effect.

Any clues what i have done wrong?
User avatar
By xtal
#35161 I read somewhere on google that on boot up some preset baudrates are attempted
usually 115200, 9600 and if cannot connect defaults to 78xxx baud.......
I had a very similar problem with node mcu trying to load fw, with multiple files,,,
I prefer 1 file , its harder to screw up..
I now use ESP Flash Download Tool 2.4 which magically fixed my issue.....
Try flashing with different FW ie nodemcu, espbasic, AT , espruino etc to insure it will flash, sometimes that will clear up an issue, then you can flash what you want.
Some code errors can really hose the FW.... I think most FW defaults to 9600 or 115200
I have connected to 78xxx and have been able to use it, and other times it only logouts, and
you cannot input.....
make sure you have your filenames and load addresses set properly....
good luck.....