-->
Page 1 of 1

SOLVED Old ESP01 Blue Works Fine New Black 1mb wifi problem?

PostPosted: Wed Sep 30, 2015 10:10 pm
by EspFan
I'm using CHERTS SDK and have good luck with the original 512k blue esp-01 unit.

I picked up some of the newer black "ai-cloud" versions with 1 mbit recently.

Image

My program runs fine on "old blue", but when I flash the same program with the same wiring, it doesn't connect to the wifi.

Has anyone else experienced any differences between these two style units, or had any similar problems?

Re: Old ESP-01 Blue Works Fine, New Black 1mbit wifi problem

PostPosted: Thu Oct 01, 2015 3:40 am
by kriegste
No problems here.

Re: Old ESP-01 Blue Works Fine, New Black 1mbit wifi problem

PostPosted: Thu Oct 01, 2015 7:10 am
by EspFan
Nevermind, I figured it out.

I thought I would have to make a change somewhere to indicate the size difference, but I could not find it previously.

In the makefile you must change:
SPI_SIZE_MAP ?= 0
to
SPI_SIZE_MAP ?= 2

Here are the valid options:
# SPI_SIZE_MAP
# 0 : 512 KB (256 KB + 256 KB)
# 1 : 256 KB
# 2 : 1024 KB (512 KB + 512 KB)
# 3 : 2048 KB (512 KB + 512 KB)
# 4 : 4096 KB (512 KB + 512 KB)
# 5 : 2048 KB (1024 KB + 1024 KB)
# 6 : 4096 KB (1024 KB + 1024 KB)

Re: SOLVED Old ESP01 Blue Works Fine New Black 1mb wifi prob

PostPosted: Thu Oct 01, 2015 7:43 am
by kriegste
Also, when using esptool, remember to use the correct -ff and -fs parameters.