If i have a resistor (tested with 1k and 10k) between GPIO12 and VCC and click EN button, I get this:
>ets Jun 8 2016 00:22:57
rst:0x10 (RTCWDT_RTC_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT)
flash read err, 1000
Falling back to built-in command interpreter.
OK
Before click EN button, GPIO12 was defined as SCLK for SPI1
What is this built-in command interpreter, and any idea what happens ?
Update, just found, its a very Basic Rom Console (?)
Falling back to built-in command interpreter ??
Re: Falling back to built-in command interpreter ??
Gpio12 is a strapping pin to set flash voltage. When pulled high voltage is 1.8 which your flash chip doesnt work. You can force setting in efuse.
Re: Falling back to built-in command interpreter ??
If we look at the ESP32 data sheet, we find that a set of pins are defined as strapping pins. What this means is that the signals present on these pins at boot time affects the operation of the device. Think of these as operational flags that are read only at boot time. The pins are:
GPIO0
GPIO2
GPIO05
GPIO12 - MTDI
GPIO15 - MTDO
GPIO12 (MTDI) - seems to control the voltage used for SDIO. The default is low.
What this means is that if GPIO12 is high at boot time, you will be affecting the operation of the device. From your description, that seems to prevent the ability to access the module flash memory. Since the ESP32 then can't reach flash memory, what is it to do? The answer is that it runs a basic interpreter that is built into ROM that, I'm guessing, will be of little value to you. I suspect the command interpreter might give you "enough" function to do some very basic debugging.
GPIO0
GPIO2
GPIO05
GPIO12 - MTDI
GPIO15 - MTDO
GPIO12 (MTDI) - seems to control the voltage used for SDIO. The default is low.
What this means is that if GPIO12 is high at boot time, you will be affecting the operation of the device. From your description, that seems to prevent the ability to access the module flash memory. Since the ESP32 then can't reach flash memory, what is it to do? The answer is that it runs a basic interpreter that is built into ROM that, I'm guessing, will be of little value to you. I suspect the command interpreter might give you "enough" function to do some very basic debugging.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: Falling back to built-in command interpreter ??
Also, in case this is an issue in production, it's actually possible to program an efuse to force the ESP32 to use a certain flash voltage and ignore GPIO12.
-
- Posts: 263
- Joined: Sun Jun 19, 2016 12:00 am
Re: Falling back to built-in command interpreter ??
Behold the BASIC interpreter: http://hackaday.com/2016/10/27/basic-in ... 2-silicon/
Someone needs to get GORILLA.BAS running on this.
Someone needs to get GORILLA.BAS running on this.
Who is online
Users browsing this forum: No registered users and 40 guests