Search found 7 matches

by JulienInnovel
Mon May 27, 2019 11:39 pm
Forum: ESP8266 SDK
Topic: RTOS IDF Style (SDK 3.1.0) and low power mode
Replies: 0
Views: 646

RTOS IDF Style (SDK 3.1.0) and low power mode

Hello everyone, I was using the NONOS SDK withe the low power enable bit in the esp init data, and "wifi_set_sleep_type(LIGHT_SLEEP_T);" to reduce the comsuption when nothing was to do. In this mode, my board consume arround 6mA under 5V. Now, I'm using the new SDK RTOS IDF Style, I'm usin...
by JulienInnovel
Mon Feb 12, 2018 6:55 pm
Forum: ESP8266 SDK
Topic: ESP8266 2MB + OTA
Replies: 6
Views: 1466

Re: ESP8266 2MB + OTA

Hi,

Yes, I select the 16Mbit flash when I download the firmware.
My user data selection is from @0x100000 to @0x1FC000 (like defined in the IOT SDK USER MANUAL).
by JulienInnovel
Thu Feb 08, 2018 9:12 pm
Forum: ESP8266 SDK
Topic: SDK 2.1 ligth sleep mode
Replies: 2
Views: 690

Re: SDK 2.1 ligth sleep mode

Hi, Here is the function : bool ICACHE_FLASH_ATTR UART_CheckOutputFinished(uint8 uart_no, uint32 time_out_us) { uint32 t_start = system_get_time(); uint8 tx_fifo_len; uint32 tx_buff_len; while(1){ tx_fifo_len =( (READ_PERI_REG(UART_STATUS(uart_no))>>UART_TXFIFO_CNT_S)&UART_TXFIFO_CNT); if(pTxBuf...
by JulienInnovel
Thu Feb 08, 2018 5:28 pm
Forum: ESP8266 SDK
Topic: ESP8266 2MB + OTA
Replies: 6
Views: 1466

Re: ESP8266 2MB + OTA

If I use the linker for 1MB (512+512), it seems to work ! I have the bootloader for 16Mbit (512 + 512) and I can use OTA to flash firmware and automatically jump to user 1 or user 2, and have a user data flash at the end (from @0x100000 to @0x1FC000). But, why I must use the 1MB linker ? The linker ...
by JulienInnovel
Wed Feb 07, 2018 8:56 pm
Forum: ESP8266 SDK
Topic: ESP8266 2MB + OTA
Replies: 6
Views: 1466

Re: ESP8266 2MB + OTA

Hi, thanks.
You can add me, my skype is j.reynaud_7
by JulienInnovel
Tue Feb 06, 2018 1:01 am
Forum: ESP8266 SDK
Topic: ESP8266 2MB + OTA
Replies: 6
Views: 1466

ESP8266 2MB + OTA

Hello everyone, I'm using an ESP-WROOM-02 (ESP8266 + 2MB of SPI flash). I'm trying to do OTA tests with mode 512KB + 512KB, to have 1024KB of user data (I have some data do store into flash and I don't want to erase them with OTA, user data stored at @ 0x100000). I build my first firmware (V1) with ...
by JulienInnovel
Mon Jan 15, 2018 6:43 pm
Forum: ESP8266 SDK
Topic: SDK 2.1 ligth sleep mode
Replies: 2
Views: 690

SDK 2.1 ligth sleep mode

Hello, I'm using the new SDK 2.1 since this morning. Until the new sdk (using the SDK 2.0), I was able to use the light sleep mode by doing this : void fpm_wakup_cb(void) { wifi_fpm_close(); // disable force sleep function wifi_set_opmode(STATION_MODE); // set station mode wifi_station_connect(); //...

Go to advanced search