WINC1500 HTTPS DNS lookup error

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've been successfully using the ATWINC1500 as an HTTP client for 6 months without issue using Atmel's standard provided library functions and an STM32F4.  I just switched over to HTTPS and am still successfully sending data.  However after about 6 hours of operation, a disconnect occurs and my code automatically attempts a reconnect but DNS lookup using gethostbyname() returns an error.  I've tracked the error down to the following line in hif_send()

                ret = nm_read_reg_with_ret(0x150400,(uint32 *)&dma_addr);

The nm_read_reg_with_ret function successfully queries the module and returns, but dma_addr = 0 which produces the error M2M_ERR_MEM_ALLOC when hif_send() returns.  The only way to recover from this error is to reinitialize the wifi and start AP scan, etc. all over again.

Has anyone else experienced this problem?

Thanks!

 

 

 

David Ashman
Zone 7 Engineering, LLC
Portland, Oregon USA

Last Edited: Wed. Aug 2, 2017 - 08:21 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you ever make any headway with this issue? I am noticing a similar issue with the wilc1000 firmware v4.2.4 and 4.3.4, it seems as though it happens when wifi connectivity is poor, or the network connectivity to the internet is down for a while.