A BETA VERSION OF AT+ projct on SDK0.9.3

costaud
Posts: 138
Joined: Fri Oct 24, 2014 7:40 pm

A BETA VERSION OF AT+ projct on SDK0.9.3

Postby costaud » Wed Dec 24, 2014 1:45 pm

esp_iot_sdk_v0.9.3_at_020_tx_141223.rar
(725.18 KiB) Downloaded 779 times


1.ADD UART TX BUFFER TO RECEIVE DATA FROM TCP PORT

2.ADD A UART TX FLOW CONTROL VIA MTCK( CTS )
//SET_PERI_REG_MASK( UART_CONF0(uart_no),UART_TX_FLOW_EN); //add this sentense to add a tx flow control via MTCK( CTS )

ESP_Alfred
Posts: 56
Joined: Mon Nov 10, 2014 7:31 pm

Re: A BETA VERSION OF AT+ projct on SDK0.9.3

Postby ESP_Alfred » Wed Dec 24, 2014 5:47 pm

Hi:

It is also to pay attention to “AT+CWSAP=...”, if you SDK version is v0.9.3 and AT v0.20.

There is something wrong when set softAP ssid , Because SDK v0.9.3's wifi_softap_set_config() has been changed.

if you get in trouble, look to me:
【Link Address】↓ :mrgreen:
https://github.com/espressif/esp8266_at ... 087fd3df7b

---------------------------------------------------
v0.9.3及以后版本的struct softap_config结构体有变动,增加了ssid_len一项,执行函数 softap_set_config()时,需要设置一下ssid_len。

Enjoy!!

scargill
Posts: 70
Joined: Sun Nov 02, 2014 8:09 pm

Re: A BETA VERSION OF AT+ projct on SDK0.9.3

Postby scargill » Thu Dec 25, 2014 7:12 pm

For new people coming into this - and those of us with short memories, in the BIN file could you please add a text file with locations to save the various BIN files. There appear to be 5 bin files in new release.

Also why is the AT command set not compiled SDK 0.9.4?

"1.ADD UART TX BUFFER TO RECEIVE DATA FROM TCP PORT

2.ADD A UART TX FLOW CONTROL VIA MTCK( CTS )
//SET_PERI_REG_MASK( UART_CONF0(uart_no),UART_TX_FLOW_EN); //add this sentense to add a tx flow control via MTCK( CTS )"

This is not clear? Does this mean that output back to, say an Arduino is now buffered? and if so.. how does a user of the BIN file make use of this - which pin is used for handshaking? Is it one of the two available on the ESP-01 (ie GPIO0 or GPIO2) ?? How is it used?

The readme file in APP is out of date and refers to SDK v0.9.2 - it shows only 3 binary files....

Pete.

phil31
Posts: 43
Joined: Thu Nov 13, 2014 3:40 pm

Re: A BETA VERSION OF AT+ projct on SDK0.9.3

Postby phil31 » Fri Dec 26, 2014 6:20 am

no the pins for hardware handshake are MTCK and MTDO (pin 12 and 13 if i right remember), not available on all modules.

i think that a new AT command need to be added to enable/disable the handshake.
the handshake is really necessary only for a full web server host.

regards

ESP_Alfred
Posts: 56
Joined: Mon Nov 10, 2014 7:31 pm

Re: A BETA VERSION OF AT+ projct on SDK0.9.3

Postby ESP_Alfred » Mon Dec 29, 2014 12:14 pm

[quote="scargill"]"Also why is the AT command set not compiled SDK 0.9.4? "

Hi:
There are some small changes in library of SDK v0.9.4 , so that AT0.20 has to be changed at header file. Below is a modified method:
https://github.com/espressif/esp8266_at

In future, when we release new version of SDK, and AT must be released together. means names “AT for SDK v0.x.x”.

Enjoy!!

costaud
Posts: 138
Joined: Fri Oct 24, 2014 7:40 pm

Re: A BETA VERSION OF AT+ projct on SDK0.9.3

Postby costaud » Mon Dec 29, 2014 6:04 pm

scargill wrote:For new people coming into this - and those of us with short memories, in the BIN file could you please add a text file with locations to save the various BIN files. There appear to be 5 bin files in new release.

Also why is the AT command set not compiled SDK 0.9.4?

"1.ADD UART TX BUFFER TO RECEIVE DATA FROM TCP PORT

2.ADD A UART TX FLOW CONTROL VIA MTCK( CTS )
//SET_PERI_REG_MASK( UART_CONF0(uart_no),UART_TX_FLOW_EN); //add this sentense to add a tx flow control via MTCK( CTS )"

This is not clear? Does this mean that output back to, say an Arduino is now buffered? and if so.. how does a user of the BIN file make use of this - which pin is used for handshaking? Is it one of the two available on the ESP-01 (ie GPIO0 or GPIO2) ?? How is it used?

The readme file in APP is out of date and refers to SDK v0.9.2 - it shows only 3 binary files....

Pete.


1. How to compile and download?
viewtopic.php?f=7&t=25
without upgrade :
esp_init_data_default.bin-->0x7c000
blank.bin ==> 0x7e000
devkey --> 0x3e000(do not need for at)
eagle.app.v6.irom0text.bin-->0x40000
eagle.app.v6.flash.bin --> 0x0

with upgrade function:
esp_init_data_default.bin-->0x7c000
blank.bin ==> 0x7e000
devkey --> 0x3e000(do not need for at)
user1.bin-->0x01000
bootv1.1.bin --> 0x0

2. Does this mean that output back to, say an Arduino is now buffered?
This is a data buffer for data received from wifi tcp interface.
Uart speed is about 11kbps , and tcp speed is more faster than that, e.g.8Mbps...
So there is a data buffer for data from wifi to uart tx.

3.Handshake pin
viewtopic.php?f=7&t=28
in this topic ,you can find the pin function definition.
U0TXD=>pin:U0TXD
U0RXD=>pin:U0RXD
U0CTS=>pin:MTCK
U0RTS=>pin:MTDO

Or , viewtopic.php?f=7&t=22
in this topic you can find out a way to swap these pins.

4. I guess you dont want to change anything, so just use the attached bins.
upgrade.rar
(267.89 KiB) Downloaded 604 times

Who is online

Users browsing this forum: No registered users and 1 guest