Search found 106 matches

by imtiaz
Thu Nov 09, 2017 8:45 pm
Forum: ESP-IDF
Topic: unreliable wifi on custom hardware
Replies: 2
Views: 5463

unreliable wifi on custom hardware

Hi @ESP_Angus , @WiFive , @ESP_SPRITE,@ESP_igrr We have a custom esp module and are finding a few issues with the wifi connection . We have been struggling with it for the past few days and thought to ask here in case you guys can give us an insight into what the root cause could be. Here are what w...
by imtiaz
Sun Nov 05, 2017 6:41 pm
Forum: ESP-IDF
Topic: OTA clarification
Replies: 32
Views: 49462

Re: OTA clarification

1 - copy the entire bootloader component from the idf into your application 2 - add the following functon somewhere and repurpose for your button input pin and timeout requirements /** * @function : ForceFactoryBoot * @description: Add by Imtiaz @ Syrp for failsafe mode * * @inputs: void */ static u...
by imtiaz
Mon Oct 16, 2017 8:37 pm
Forum: ESP-IDF
Topic: OTA clarification
Replies: 32
Views: 49462

Re: OTA clarification

Hi hybrid,

sorry I have been away from the forums - do you still need this?
by imtiaz
Mon Oct 16, 2017 8:27 pm
Forum: ESP-IDF
Topic: Recieving a binary file over wifi
Replies: 5
Views: 11717

Re: Recieving a binary file over wifi

Hi James, Yes this was implemented a while ago. My code is very specific to our application and Im not sure exactly what part you are interested in, however the basic idea is: 1 - start a wifi access point or connect to an existing one 1 - set up a thread that starts a tcp socket server on a specifi...
by imtiaz
Thu Aug 10, 2017 8:01 pm
Forum: ESP-IDF
Topic: Issue with compiler or loading
Replies: 2
Views: 5212

Issue with compiler or loading

Hi Espressif, I have been often coming up with an issue where I make as simple code change , make and flash , and the change does not seem to be present in the active code. There are no build errors or warnings or anything. Even if I then do a clean, make and flash , it still does not work. I have t...
by imtiaz
Sun Jul 23, 2017 9:07 pm
Forum: ESP-IDF
Topic: Unstable partition API flashing functions
Replies: 38
Views: 51085

Re: Unstable partition API flashing functions

@ESP_Angus, The problem is resolved - the mapped partition cannot be exactly the same size as the call to the MD5 function , needs to be 4 byte bigger I am assuming.. Hi, I still have an issue with the MD5 function - it is often just hanging. called as follows: MD5Update(&MyMD5 , image_data, FileLen...
by imtiaz
Thu Jul 13, 2017 5:06 am
Forum: ESP-IDF
Topic: ota checksum failed
Replies: 15
Views: 35520

Re: ota checksum failed

Problem found - it was our power supply - not handling the peak currents - thanks for your help
by imtiaz
Thu Jul 13, 2017 4:31 am
Forum: ESP-IDF
Topic: ota checksum failed
Replies: 15
Views: 35520

Re: ota checksum failed

So it looks like if the tcp data is correct because I did an on the fly md5 hash (as I receive the packets) and it passes - but fails the hash on the flash partition.

Hardware configuration attached - its our own module.
Capture.PNG
schematic
Capture.PNG (67.26 KiB) Viewed 31808 times
by imtiaz
Thu Jul 13, 2017 3:23 am
Forum: ESP-IDF
Topic: ota checksum failed
Replies: 15
Views: 35520

Re: ota checksum failed

Hi @ESP_Sprite, The OTA process - download file over a tcp connection and write to OTA partition with the esp idf OTA API. I am assuming that the TCP connection guarantees data integrity and order etc. I have just tried storing the file in a another partition and calculating the MD5 hash of the rece...
by imtiaz
Thu Jul 13, 2017 12:27 am
Forum: ESP-IDF
Topic: ota checksum failed
Replies: 15
Views: 35520

ota checksum failed

Hi Espressif , This looks like a hardware problem on our module - can someone help me as to the reason why this may happen. After doing an OTA update of the esp32 I get : E (148645) esp_image: checksum failed. Calculated 0x8d read 0xff The bootloader is updating through serial fine - so Im not sure ...