Search found 264 matches

by mikemoy
Fri Jun 07, 2019 1:31 pm
Forum: General Discussion
Topic: Reset -unplug esp32 Issue
Replies: 1
Views: 79

Re: Reset -unplug esp32 Issue

Some boards don't use the proper technique for the EN and GPIO pins. So when the board powers up without the com port initialized it puts the ESP32 it in the wrong state on power up. Grab a program called Tera Term. Have used this for over 10 years now. It's an excellent com port serial monitor. htt...
by mikemoy
Fri Jun 07, 2019 1:23 pm
Forum: General Discussion
Topic: Debugging pthreads
Replies: 2
Views: 103

Re: Debugging pthreads

You want to look into GetTaskHighWaterMark. This is what I use on all my tasks to see how close they come to running out of stack. #define STACK_SIZE_IdleLoop 2048 // stack size for idleLoop TaskHandle_t TaskHandle_IdleLoop; /* ------------------------------------------------------------------------...
by mikemoy
Tue Jun 04, 2019 5:52 pm
Forum: General Discussion
Topic: simple standalone bootloader suitable for customers / end users?
Replies: 14
Views: 731

Re: simple standalone bootloader suitable for customers / end users?

@mikemoy oh that would be fantastic! Thanks!
No sweat. I have to leave town right after work today. Be back in 2 days, I will PM you with the source. Sorry for the delay, This was an unexpected trip for work.
by mikemoy
Tue Jun 04, 2019 1:34 am
Forum: General Discussion
Topic: simple standalone bootloader suitable for customers / end users?
Replies: 14
Views: 731

Re: simple standalone bootloader suitable for customers / end users?

@OBDave, I have done what your looking for. My device acts as a AP. Clients connects to ESP32, opens browser, and then chooses what file to upload. It then flashes itself and reboots. I am not aw work now, but will show code when I get back.
by mikemoy
Sun Jun 02, 2019 6:48 am
Forum: General Discussion
Topic: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit
Replies: 7
Views: 455

Re: What is the best practice for push-button event tracking/handling without any hardware debouncing circuit

I did try the IRQ way first but sadly using GPIO_PIN_INTR_LOLEVEL, caused it to reboot. Even when using GPIO_PIN_INTR_NEGEDGE caused multiple triggers which I expected. I tried gpio_intr_disable() in the IRQ so once it fired and signaled the function I could read it wait a de-bounce time and re-enab...
by mikemoy
Fri May 31, 2019 8:33 pm
Forum: General Discussion
Topic: What happens with SD card if it gets unpowered during write?
Replies: 10
Views: 314

Re: What happens with SD card if it gets unpowered during write?

FWIW, we have been using these caps.
https://www.mouser.com/ProductDetail/594-MAL222090004E3

Wish you the best on your solution!
by mikemoy
Fri May 31, 2019 7:42 pm
Forum: General Discussion
Topic: What happens with SD card if it gets unpowered during write?
Replies: 10
Views: 314

Re: What happens with SD card if it gets unpowered during write?

I think that I will abandon FATFS. It looks like it really isn't design for robustness. Don't give up so quickly. ;) From looking at the examples I don't understand what is the issue your really having. From the examples it looks like just a few commands are needed: Taken from this example. https:/...
by mikemoy
Fri May 31, 2019 4:25 pm
Forum: General Discussion
Topic: What happens with SD card if it gets unpowered during write?
Replies: 10
Views: 314

Re: What happens with SD card if it gets unpowered during write?

yes, from what I understand it does the same as using event queue. But it is an extra delay. The delay is so minimal, your talking in the very low microseconds. For instance I am using the same method to run a BLDC motor. The 3 hall sensors trigger an IRQ to which the waiting task does the work. It...
by mikemoy
Fri May 31, 2019 3:25 pm
Forum: General Discussion
Topic: Feedback on what ESP32 "2.0" should be
Replies: 4
Views: 233

Re: Feedback on what ESP32 "2.0" should be

Ok, now I understand. IMHO they did think it all through. Its most of the users did not take the time to read all the material. Many people got banged up with the GPIO0 issue. I don't know why because they had this function: static void phy_device_power_enable_via_gpio(bool enable) All one needed to...

Go to advanced search