Page 1 of 1

Issue with compiler or loading

Posted: Thu Aug 10, 2017 8:01 pm
by imtiaz
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 to erase the entire flash and then load the code before it starts working.

It is very annoying and wastes a lot of time as your first reaction is that there is a bug in the code.

Is anyone else experiencing this ?

Thanks
Imtaz

Re: Issue with compiler or loading

Posted: Sat Aug 12, 2017 2:00 pm
by ESP_Sprite
Do you happen to be working with OTA code?

Re: Issue with compiler or loading

Posted: Sun Aug 13, 2017 5:23 pm
by Ritesh
imtiaz wrote: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 to erase the entire flash and then load the code before it starts working.

It is very annoying and wastes a lot of time as your first reaction is that there is a bug in the code.

Is anyone else experiencing this ?

Thanks
Imtaz
Hi,

Would you please provide some more details like which ESP32 IDF SDK you are using to develop your application?

Also let me know all locations of Binaries which you are using while flashing binaries using flash download tool.

Are you using ESP32 Development board or you ESP32 chip based custom board?

Also which OTA partition you have selected into make menuconfig when you started your application development?

Because as per your issue, it seems like that your application has been running from another place and you are updating your application into different place.

Please provide above details so I can help to you for your problem.