Search found 106 matches

by imtiaz
Mon Jan 09, 2017 9:33 pm
Forum: ESP-IDF
Topic: LWIP- mulitple client example
Replies: 13
Views: 27235

Re: LWIP- mulitple client example

Hi Kolban, Many thanks for your excellent reply - . I have a couple of questions: If we do as you suggested "OR ... we can spawn a new FreeRTOS task and pass it the newly received socket representing the client request and have THAT task handle it in parallel" 1 ) Is that PORT still blocked to other...
by imtiaz
Mon Jan 09, 2017 7:52 pm
Forum: ESP-IDF
Topic: LWIP- mulitple client example
Replies: 13
Views: 27235

LWIP- mulitple client example

Hi All,

Does anyone have an example of multiple clients connected to one server through one Port ?

What is the best practice to do this?

Thanks
Imtiaz
by imtiaz
Mon Dec 12, 2016 8:06 pm
Forum: ESP-IDF
Topic: SPI Flash Functions + unaligned access
Replies: 9
Views: 13184

Re: SPI Flash Functions + unaligned access

Hi Angus,

Tested with the new block erase size - works like a charm :)

Thanks
imtiaz
by imtiaz
Fri Dec 09, 2016 4:47 am
Forum: ESP-IDF
Topic: CRC Polynomial
Replies: 5
Views: 11008

Re: CRC Polynomial

Excellent thank you ... thats all I needed to know.
by imtiaz
Fri Dec 09, 2016 3:22 am
Forum: ESP-IDF
Topic: CRC Polynomial
Replies: 5
Views: 11008

Re: CRC Polynomial

Hi ESP_igrr,

Two questions please :

1 - Can CC Polynomial be changed?
2 - Has the ESP got h/w CRC support?

If not then I guess I will need to write my own CRC calcs - which may be slow .

Thanks
by imtiaz
Fri Dec 09, 2016 2:58 am
Forum: ESP-IDF
Topic: CRC Polynomial
Replies: 5
Views: 11008

Re: CRC Polynomial

Thanks : should be
binary : 100000100110000010001110110110111
hex :104C11DB7

So can it be changed????
by imtiaz
Fri Dec 09, 2016 2:36 am
Forum: ESP-IDF
Topic: CRC Polynomial
Replies: 5
Views: 11008

CRC Polynomial

Hi ,

Can anyone tell me what the CRC polynomila is that is used by the CRC calc functions in ESP32

uint32_t crc32_le(uint32_t crc, uint8_t const *buf, uint32_t len);

example : 0x04C11DB7U - generally used by ST chips.

Thanks
Imtiaz
by imtiaz
Thu Dec 08, 2016 11:40 pm
Forum: ESP-IDF
Topic: Supported Free RTOS functions
Replies: 9
Views: 12740

Re: Supported Free RTOS functions

Hi All,

What is the plan / Time Frame regarding support of these functions? At the moment there are around 12 untested functions in tasks.c.

This has quite a big impact on the design of my software if I cant suspend and resume tasks.

Thanks
by imtiaz
Thu Dec 08, 2016 10:43 pm
Forum: ESP-IDF
Topic: Supported Free RTOS functions
Replies: 9
Views: 12740

Re: Supported Free RTOS functions

Hi Kolban, The context is pretty basic: So first a task is created and its handle saved: MyTaskHandle = xTaskCreate(&socket_netconn_thread, "socket_netconn_thread", 2048, &FirmwareDownloadPort, 5, NULL); Then the application asynchronously wants to know if the task has been suspended , it may call t...
by imtiaz
Thu Dec 08, 2016 10:02 pm
Forum: ESP-IDF
Topic: Supported Free RTOS functions
Replies: 9
Views: 12740

Supported Free RTOS functions

Hi All, System crashes if I call : if(eTaskGetState(MyTaskHandle) != eSuspended) { return TRUE; } I have manually edited this line #define CONFIG_FREERTOS_ASSERT_ON_UNTESTED_FUNCTION 0 but it still crashes: Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled.<\r>...