ESP-WROOM-S2 not working
ESP-WROOM-S2 not working
Postby jyl » Tue Nov 08, 2016 2:49 am
I purchased ESP-WROOM-S2 modules to check if they could suit our needs.
I just wanted first to test them using At commands.
Unfortunately the module does not reply to any AT command I can send on the UART.
I thus tried flash it with the latest nonos sdk, as suggested din some documentation, but it fails.
I can get the MAC address with the flashing tool, but then it hangs when trying to access the flash.
What is wrong?
How can I get easily a ESP-WROOM-S2 module working?
Thanks
JYL
Re: ESP-WROOM-S2 not working
Postby pratik » Thu Nov 10, 2016 12:52 pm
Did you configure to use the flash download tool to use SPI mode as DIO or DOUT? The WROOM-S2 cannot use quad modes!
-
- Posts: 3
- Joined: Mon Nov 14, 2016 3:12 pm
Re: ESP-WROOM-S2 not working
Postby Titanium2050 » Mon Nov 14, 2016 3:43 pm
I have also purchase the ESP-WROOM-S2 modules, and i found this document:
https://espressif.com/sites/default/fil ... orm_en.pdf
To flash ESP-WROOM-S2 modules with the latest nonos sdk, we need to select the HSPIDownload Tab, and DIO SPI Mode in the Flash Download Tools. I have successfully flash it by following the configuration stated in the document.
However, I find out that to start ESP-WROOM-S2 modules, it require the host MCU to send the boot.bin to it. I cannot find more information on the protocol and example codes on how to send the boot.bin file on the MCU host side. Anyone know where to find the example codes ? Thanks
Re: ESP-WROOM-S2 not working
Postby pratik » Mon Nov 14, 2016 9:58 pm
Re: ESP-WROOM-S2 not working
Postby jyl » Mon Nov 14, 2016 11:36 pm
Yes, I tried both DIO and DOUT modes, but got the same result.
Actually, my first intention is not to program the device but just get it working using AT commands on the serial port.
Is this something that is possible with minimum connections (power, TX,RX and couples GPIOs) and a ESP WROOM-S2 straight out of the box?
Or should I first have to succeed in reflashing it?
Thanks
JYL
Re: ESP-WROOM-S2 not working
Postby jyl » Mon Nov 14, 2016 11:45 pm
Thank you for the document.
I based my tests on this document:
http://www.espressif.com/sites/default/ ... e_en_0.pdf
It makes reference to ESP-WROOM-02 but I assumed it should be the same with WROOM-S2... maybe not???
JYL
Re: ESP-WROOM-S2 not working
Postby jyl » Tue Nov 15, 2016 12:10 am
when I connect a terminal at 74880 bps and boot the ESP module with all GPIO floating, I get the message:
ets Jan 8 2013,rst cause:2, boot mode:(7,0)
waiting for host
Unfortunately I'm not able to tell if this is right or not...
Thanks for any advice.
JYL
-
- Posts: 3
- Joined: Mon Nov 14, 2016 3:12 pm
Re: ESP-WROOM-S2 not working
Postby Titanium2050 » Tue Nov 15, 2016 3:00 pm
Based on the document, i think it is a must to send the boot BIN in SDIO mode, so i have no choice but to use SDIO interface. I choose WROOM-S2 due to it's support of the SPI Interface, but it is quite confusing that, since boot.bin must use SDIO mode, i am not sure how can i use WROOM-S2 SPI Interface after the boot up.
Hi jyl,
Yes, based on the the documents, i am afraid that there are some difference in between WROOM-02 and WROOM-S2, we cannot follow the ESP-WROOM-02 documents exactly. I had tried to flash the normal nonos sdk (not SDIO version) into it, and it cannot boot up like another module WROOM-01 which i have flash the same firmware, even with same boot pins configuration. So, i am in the mist of finding how to make WROOM-S2 able to run UART AT-Commands for testing purpose also.
Yes, i am receiving similar massage "ets Jan 8 2013,rst cause:2, boot mode:(7,0) waiting for host" too, I guess it is waiting for the host MCU to send in the boot.bin in SDIO mode as describe in the document that i shared with you. Besides, I am not sure whether the WROOM-S2 suppose to be like WROOM-01 where after successfully boot-up, you can find it in the mobile phone wireless list after a search.
Re: ESP-WROOM-S2 not working
Postby ESP_Greg » Wed Nov 16, 2016 2:13 pm
WROOM-S2 is communicate with MCU via SDIO interface.
http://www.espressif.com/sites/default/ ... e_en_0.pdf
Above document is instructions to setup ESP8266 with MCU.
You need to download with flash download tool(HPSI interface), and the firmware should be at_sdio on SDK folder.
One more, boot mode(7,0) is correct. You need a MCU to send command via SDIO to start the communication.
-
- Posts: 3
- Joined: Mon Nov 14, 2016 3:12 pm
Re: ESP-WROOM-S2 not working
Postby Titanium2050 » Wed Nov 16, 2016 11:22 pm
Thanks for the reply. I have follow the documents to flash the WROOM-S2 with the at_sdio on SDK. The problem i am facing now is I cannot find any example codes or information for the Host MCU side, such as:
1) How the host MCU know the WROOM-S2 is ready to receive the boot.bin file?
2) What is the command to indicate transfer the boot.bin file to WROOM-S2 ?
3) What is the flow for transfering the boot.bin file to WROOM-S2 ?
4) Does Host MCU need to send WROOM-S2 the boot.bin file size ? Or WROOM-S2 will detect the EOF ?
5) How to determine WROOM-S2 have successfully receive the files ?
6) What is the command to ask the WROOM-S2 to start after successfully received the boot.bin file as stated in one of the document?
7) How is WROOM-S2 going to indicate the Host MCU the TCP/UDP data received size ?
Beside that, is WROOM-S2 using AT commands over SDIO interface ? Thanks
Who is online
Users browsing this forum: No registered users and 180 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.