Chat freely about anything...

User avatar
By EspFan
#30229 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?
Last edited by EspFan on Thu Oct 01, 2015 7:11 am, edited 1 time in total.
User avatar
By EspFan
#30253 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)