ESP-WROOM-32 AT commands firmware

User avatar
rudi ;-)
Posts: 1731
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP-WROOM-32 AT commands firmware

Postby rudi ;-) » Thu Mar 02, 2017 3:06 pm

Luca_Guazzaroni wrote:I think that the problem is the version of the esp-idf and esp-at-master example. the monitor console shows me:
E (1826) wifi: esp_wifi_set_storage 1230 wifi is not init
W (1832) wifi: wifi nvs_open fail ret=4353

E (1835) wifi: wifi_init 1191 ret=4353
assertion "0 && "esp_wifi_init(&cfg)"" failed: file "/home/xcg/workspace/esp_iot_at/esp-at-application/components/esp-at-core/./at_port.c", line 560, function: initialise_wifi
abort() was called at PC 0x400f732f
Guru Meditation Error: Core 0 panic'ed (abort)
And from what i could read in https://github.com/espressif/esp32-at/issues/6 and https://github.com/espressif/esp-idf/co ... a27e5bbdc7, a update may cause the problem. That's right?
hi luca,

try this:
run make menuconfig
activate Wifi
and activate BT ( this will be the point i think )
then save,

run your make clean
run your make -j5 all
let me know what happend

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Luca_Guazzaroni
Posts: 4
Joined: Thu Feb 23, 2017 1:12 pm

Re: ESP-WROOM-32 AT commands firmware

Postby Luca_Guazzaroni » Thu Mar 09, 2017 12:38 pm

Hi Rudi! Sorry for being late.

The SDK`s configuration that i was using was correct. The problem was that i used the Flash download tool, an somehow the phy_init was never validated when esp32 start running.

i tought that was a memory erase/write at download time, so i executed the command

make erase_flash

then upload the firmware an works perfect

thank you for the help!

rezasurmar
Posts: 3
Joined: Tue Feb 07, 2017 1:09 pm

Re: ESP-WROOM-32 AT commands firmware

Postby rezasurmar » Fri Mar 10, 2017 1:32 pm

I have same issue, before update esp-idf
espressif/esp32-at works perfecly
Today i have update esp-idf (10.03.2017)

Nothing help, (BT is on, flash erase done).

any ideas ?


sorry for my poor english

User avatar
rudi ;-)
Posts: 1731
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP-WROOM-32 AT commands firmware

Postby rudi ;-) » Sun Mar 12, 2017 12:20 pm

Luca_Guazzaroni wrote:Hi Rudi! Sorry for being late.

The SDK`s configuration that i was using was correct. The problem was that i used the Flash download tool, an somehow the phy_init was never validated when esp32 start running.

i tought that was a memory erase/write at download time, so i executed the command

make erase_flash

then upload the firmware an works perfect

thank you for the help!

thank you for feedback

i test just in time the actually things

make erase_flash

help me not ;-)

i get the same rebooting guru :)

if i use BT in the menuconfig it helps not again ( this have done the job erase )

must look deeper
confirm.png
confirm.png (19.59 KiB) Viewed 15896 times
this make me thinking:
/c/at_2036/esp32-at/sdkconfig:85:warning: symbol value '' invalid for PHY_DATA_OFFSET
update:
E (1825) wifi: esp_wifi_set_storage 1231 wifi is not init<\r><\n>
E (1831) wifi: invalid magic number 2, call WIFI_INIT_CONFIG_DEFAULT to init config<\r><\n>
E (1838) wifi: wifi_init 1230 ret=258<\r><\n>
assertion "0 && "esp_wifi_init(&cfg)"" failed: file "/home/xcg/workspace/esp_iot_at/esp-at-application/components/esp-at-core/./at_port.c", line 560, function: initialise_wifi<\r><\n>
abort() was called at PC 0x400f7757<\r><\n>
Guru Meditation Error: Core 0 panic'ed (abort)<\r><\n>


update:
cause the file:
/home/xcg/workspace/esp_iot_at/esp-at-application/components/esp-at-core/./at_port.c
is on the espressif developer pc, and AT is in the lib, we can not patch it.

we must wait for the support/patch from espressif developer "xcg"

perhabs it will be better, AT Lib goes open!
this closed things to libs is not good in open source and for debug!



you have to go back to the preview version of IDF SDK <7eaf1c76dc281c37075f8a8dac34cc3e09669f59> which it runs
sry for this

best wishes
rudi ;-)

ps
https://github.com/espressif/esp32-at/issues/6
espressif will fix asap


append:
Interesting, that there are magic numbers in the key
of which we have not yet known, or are in knowledge
E (1826) wifi: esp_wifi_set_storage 1231 wifi is not init<\r><\n>
W (1832) wifi: wifi nvs_open fail ret=4353<\r><\n>
<\r><\n>
E (1835) wifi: wifi_init 1191 ret=4353<\r><\n>
assertion "0 && "esp_wifi_init(&cfg)"" failed: file "/home/xcg/workspace/esp_iot_at/esp-at-application/components/esp-at-core/./at_port.c", line 560, function: initialise_wifi<\r><\n>
abort() was called at PC 0x400f7367<\r><\n>
Guru Meditation Error: Core 0 panic'ed (abort)<\r><\n>
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

tdurden
Posts: 6
Joined: Wed Apr 12, 2017 8:46 pm

Re: ESP-WROOM-32 AT commands firmware

Postby tdurden » Wed Apr 12, 2017 8:49 pm

Hey guys, any word on when the AT commands binaries will be provided? I need it configured for UART0 and don't want to go through the process of building project, as I will just be using AT Mode. Would somebody mind sending me the binaries for the UART0 version of the AT command firmware? Thanks in advance!

flyinggorilla
Posts: 1
Joined: Wed Apr 12, 2017 9:50 pm

Re: ESP-WROOM-32 AT commands firmware

Postby flyinggorilla » Wed Apr 12, 2017 10:28 pm

i ran into the Guru meditation error too after upgrading from ESP-IDF 2.0rc1 to 2.0release.
the issue was a bug in the single-core mode. your issue looks the same.
See https://github.com/espressif/esp-idf/issues/496

best wishes,
fg

tdurden
Posts: 6
Joined: Wed Apr 12, 2017 8:46 pm

Re: ESP-WROOM-32 AT commands firmware

Postby tdurden » Thu Apr 13, 2017 6:57 pm

Hey guys, I went ahead and built the AT project myself. I've attached the zip folder containing the necessary files for those that don't want to go through the make process. Seems to be working well so far! Still looking forward to a stable release soon?

This version uses UART0, RX pin 3, TX pin 1, and disables log data on UART0 as well. It can be loaded with the ESP Flash Download Tools utility:
https://espressif.com/en/support/download/other-tools

Enjoy!
Attachments
ESP32_AT_FW_v0.1.zip
(504.52 KiB) Downloaded 760 times

utkarsha
Posts: 2
Joined: Sat Jul 08, 2017 12:15 pm

Re: ESP-WROOM-32 AT commands firmware

Postby utkarsha » Sat Jul 08, 2017 12:26 pm

wind_energy wrote:hi,
The bin file is already done. I`ve gotten it from my supplier of esp modules. Check attachments. Change file name ESP32_ATcommand.bin.rar -> ESP32_ATcommand.bin. enjoy.
Regards,
Pawel
hi,
i have downloaded the attachment but i am not getting which address i want to give in flash download tool for this bin file ?
:?: please reply as soon as possible .

thanks.

User avatar
rudi ;-)
Posts: 1731
Joined: Fri Nov 13, 2015 3:25 pm

Re: ESP-WROOM-32 AT commands firmware

Postby rudi ;-) » Sat Jul 08, 2017 10:07 pm

utkarsha wrote:
wind_energy wrote:hi,
The bin file is already done. I`ve gotten it from my supplier of esp modules. Check attachments. Change file name ESP32_ATcommand.bin.rar -> ESP32_ATcommand.bin. enjoy.
Regards,
Pawel
hi,
i have downloaded the attachment but i am not getting which address i want to give in flash download tool for this bin file ?
:?: please reply as soon as possible .

thanks.
perhabs it helps:
esp32_at_bin_v0.10.zip
(471.46 KiB) Downloaded 733 times
Link: Visit AT Resource Side
0.10.png
0.10.png (7.55 KiB) Viewed 15280 times
## Basic AT Commands
* AT : Tests AT startup.
* AT+RST : Restarts a module.
* AT+GMR : Checks version information.
* AT+GSLP : Enters Deep-sleep mode.
* ATE : Configures echoing of AT commands.
* AT+RESTORE : Restores the factory default settings of the module.
* AT+UART : UART configuration.
* AT+UART_CUR : Current UART configuration.
* AT+UART_DEF : Default UART configuration, saved in flash.
* AT+SLEEP : Sets the sleep mode.
* AT+SYSRAM : Checks the remaining space of RAM.

## Wi-Fi AT Commands
* AT+CWMODE : Sets the Wi-Fi mode (STA/AP/STA+AP).
* AT+CWJAP : Connects to an AP.
* AT+CWLAPOPT : Sets the configuration of command AT+CWLAP.
* AT+CWLAP : Lists available APs.
* AT+CWQAP : Disconnects from the AP.
* AT+CWSAP : Sets the configuration of the ESP32 SoftAP.
* AT+CWLIF : Gets the Station IP to which the ESP32 SoftAP is connected.
* AT+CWDHCP : Enables/disables DHCP.
* AT+CWDHCPS : Sets the IP range of the ESP32 SoftAP DHCP server. Saves the setting in flash.
* AT+CWAUTOCONN : Connects to the AP automatically on power-up.
* AT+CIPSTAMAC : Sets the MAC address of ESP32 Station.
* AT+CIPAPMAC : Sets the MAC address of ESP32 SoftAP.
* AT+CIPSTA : Sets the IP address of ESP32 Station.
* AT+CIPAP : Sets the IP address of ESP32 SoftAP.
* AT+CWSTARTSMART : Starts SmartConfig.
* AT+CWSTOPSMART : Stops SmartConfig.
* AT+WPS : Enables the WPS function.

## TCP/IP-Related AT Commands
* AT+CIPSTATUS : Gets the connection status.
* AT+CIPDOMAIN : DNS function.
* AT+CIPSTART : Establishes TCP connection, UDP transmission or SSL connection.
* AT+CIPSEND : Sends data.
* AT+CIPSENDEX : Sends data when length of data is <length>, or when \0 appears in the data.
* AT+CIPCLOSE : Closes TCP/UDP/SSL connection.
* AT+CIFSR : Gets the local IP address.
* AT+CIPMUX : Configures the multiple connections mode.
* AT+CIPSERVER : Deletes/Creates TCP server.
* AT+CIPMODE : Configures the transmission mode.
* AT+SAVETRANSLINK : Saves the transparent transmission link in flash.
* AT+CIPSTO : Sets timeout when ESP32 runs as a TCP server.
* AT+CIUPDATE : Updates the software through Wi-Fi.
* AT+CIPDINFO : Shows remote IP and remote port with +IPD.
* AT+CIPSNTPCFG : Configures the time domain and SNTP server.
* AT+CIPSNTPTIME : Queries the SNTP time.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

utkarsha
Posts: 2
Joined: Sat Jul 08, 2017 12:15 pm

Re: ESP-WROOM-32 AT commands firmware

Postby utkarsha » Sun Jul 09, 2017 9:12 am

ESP_Sprite wrote:Keep in mind that that is a preliminary version of the binary. We may or may not support bugs in this until the official version comes out.

Who is online

Users browsing this forum: No registered users and 81 guests