Search found 58 matches

by gibson12345
Sun Dec 15, 2019 11:32 pm
Forum: ESP-IDF
Topic: OTA failure
Replies: 6
Views: 6227

Re: OTA failure

Hey Sprite, Apologies I can't make the code public. But I can tell you that I now know that it occurs as a result of a disconnection coming mid way through a transaction over BLE with the Application we're interfacing with. We are not manually calling for a disconnect, but we are getting a disconnec...
by gibson12345
Fri Dec 13, 2019 2:18 am
Forum: ESP-IDF
Topic: OTA failure
Replies: 6
Views: 6227

Re: OTA failure

Is anyone able to provide some support on this? It would be really appreciated.

Cheers,
Gibson
by gibson12345
Thu Dec 12, 2019 4:41 am
Forum: ESP-IDF
Topic: OTA failure
Replies: 6
Views: 6227

Re: OTA failure

After some more digging I believe it may be something to do with the bootloader? I'll continue digging see if I come up with something

Cheers,
Gibson
by gibson12345
Thu Dec 12, 2019 12:17 am
Forum: ESP-IDF
Topic: OTA failure
Replies: 6
Views: 6227

OTA failure

Hey everyone, I'm doing an OTA transfer via BLE and I keep getting intermittent failures with the error: esp_image: invalid segment length 0xfffffff I've tried googling around but cannot seem to find any related solution. Using ESP idf ver: v4.0-beta1-180-ga21eb04cc The odd part to me is it fails 80...
by gibson12345
Wed Nov 06, 2019 11:35 pm
Forum: ESP-IDF
Topic: Semaphores and light sleep
Replies: 0
Views: 1939

Semaphores and light sleep

Do semaphores need to be recreated after entering light sleep? I'm having issues where I'm unable to take semaphores after waking from light sleep.

Cheers,
Gibson
by gibson12345
Tue Oct 08, 2019 2:03 am
Forum: ESP-IDF
Topic: portENTER_CRITICAL explaination
Replies: 3
Views: 17842

portENTER_CRITICAL explaination

Hey everyone, trying to sort out a situation where I need to enter a critical section and trying to determine how the functionality within freeRTOS works. portENTER_CRITICAL is the function I get pointed to which points to vTaskEnterCritical. Both require a "mux" but I'm struggling to understand exa...
by gibson12345
Fri Sep 20, 2019 5:44 am
Forum: ESP-IDF
Topic: Incorrect GPIO readings
Replies: 2
Views: 3210

Re: Incorrect GPIO readings

Hey WiFive,

Thanks for the reply that solved my problem. Could you explain why normal output mode did not work?

And also to follow up I'd like to read the values of pin 36/37/34 but am unable to get anything could you advise?

Cheers,
Gibson
by gibson12345
Fri Sep 20, 2019 12:33 am
Forum: ESP-IDF
Topic: Incorrect GPIO readings
Replies: 2
Views: 3210

Incorrect GPIO readings

Hey everyone, I've been trying to work specifically with a few pins connected to my battery, specifically 32,36,39 and 35. I know that I can only set 34-39 as input only, but I am trying to set 32 as high and for whatever reason when using gpio_get_level I'm not getting back the correct value. I'm r...
by gibson12345
Tue Sep 17, 2019 7:05 am
Forum: ESP-IDF
Topic: esp_bt_controller_init returns invalid state
Replies: 0
Views: 1973

esp_bt_controller_init returns invalid state

Hey everyone, In my current program esp_bt_controller_init returns invalid state error when it is called after waking up from sleep, but this only happens about 1/3 times after a fresh reboot. What are some possible causes of this? (I can't seem to find the source for this function so having trouble...
by gibson12345
Wed Sep 11, 2019 5:09 am
Forum: ESP-IDF
Topic: Interrupt WDT
Replies: 16
Views: 14593

Re: Interrupt WDT

Hey WiFive, According to the code they are only separate if the gpio is a rtc gpio, otherwise shared Yeah I see that now from the links you provided. But wouldn't disabling it then going to sleep mean that the ISR is attached to that interrupt never get called and therefor never able to set it back ...