cancel
Showing results for 
Search instead for 
Did you mean: 

Firmware update via ethernet

dpravinkumar6199
Associate II
Posted on February 04, 2015 at 11:08

Hai all,

   I am sending GPIO toggle application via ethernet to STM32F407.My application total length is 2920(.hex file).But in controller side i am getting 1460 data only.

In controller i am receiving data like,

         data = (char*)p->payload;         458

 data_t = (char*) p->next->payload;         512

 data_t1 = (char*) p->next->next->payload; 490

      Total data i am getting only (458+512+490) = 1460.

For remaning data i am using like,

data_t2 = (char*) p->next->next

->next

->payload;

     0

But i am not getting remaing data...

Kindly anyone help me plz plz plz......

Thanks.

    
10 REPLIES 10
dpravinkumar6199
Associate II
Posted on February 11, 2015 at 11:05

Guys i found the solution..

To receive more data we have to set TCP queue segment..Now i can able to get all data in server..

Thanks to all..