Search found 457 matches

by mzimmers
Wed Sep 19, 2018 8:18 pm
Forum: General Discussion
Topic: system exception occurs...
Replies: 5
Views: 1444

system exception occurs...

...seemingly at random, after the system has been booted and operational but in a quiet state. I get this: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. 0x4008d09d: pvTaskIncrementMutexHeldCount at C:/esp-idf-release-v3.2/components/freertos/tasks.c:4631 All my ta...
by mzimmers
Tue Sep 18, 2018 8:08 pm
Forum: General Discussion
Topic: UART I/O issue
Replies: 4
Views: 2049

Re: UART I/O issue

Hi, Neil - I hope I did this correctly (never used GISTs before):

https://gist.github.com/mzimmers/9ed4ea ... 17dba748d3

Thanks...
by mzimmers
Tue Sep 18, 2018 5:15 pm
Forum: General Discussion
Topic: Field initialization of product
Replies: 12
Views: 3326

Re: Field initialization of product

Thanks, Tom. My board is using UART1 with the default pins...I'm trying to send it about 80 bytes of data, but it can't handle it all. I get a "uart rx break" (whatever that is) after about 65 bytes read, and subsequent reads produce garbage. It's as though either the FTDI chip or the ESP32 UART is ...
by mzimmers
Tue Sep 18, 2018 4:04 pm
Forum: General Discussion
Topic: UART I/O issue
Replies: 4
Views: 2049

Re: UART I/O issue

A little more information: I modified my event handler (for experimentation) as follows: if (xQueueReceive(m_uartQueue, (void *) &event, (portTickType)portMAX_DELAY)) { bzero(ioBuff, BUF_SIZE); ESP_LOGI(TAG, "uart[%d] event:", CD_UART_NBR); switch(event.type) { // Event of UART receving data; need t...
by mzimmers
Tue Sep 18, 2018 1:56 pm
Forum: General Discussion
Topic: UART I/O issue
Replies: 4
Views: 2049

UART I/O issue

Hi all - I'm trying to get the ESP32 to read input from a UART. I began with the uart_events example from the IDF. When I send a message to the ESP32, it reads about 65 bytes (the exact number varies a bit) and the read returns. I then get subsequent read events of 5 to 9 bytes each, but the data is...
by mzimmers
Mon Sep 17, 2018 10:47 pm
Forum: General Discussion
Topic: Field initialization of product
Replies: 12
Views: 3326

Re: Field initialization of product

Hi Tom - the powers that be have dictated that I include a serial interface, so there's no getting away from it now. I'll return my attention to more elegant alternatives after I get this working.
by mzimmers
Tue Sep 11, 2018 3:13 pm
Forum: General Discussion
Topic: Field initialization of product
Replies: 12
Views: 3326

Re: Field initialization of product

Hi Tom -

Thank you for the code sample. I misunderstood you, though -- I thought you were referring to a sample that made use of the smartconfig facility. I'd prefer to pursue that option, at least for now. If I can't get that to work, I'll revisit other options.
by mzimmers
Mon Sep 10, 2018 4:42 pm
Forum: General Discussion
Topic: Field initialization of product
Replies: 12
Views: 3326

Re: Field initialization of product

Thanks to all for the helpful ideas. I'm going to try ESP-TOUCH, as it seems closest to what I'm looking for. I've tried using the example in the user's manual, but I'm getting a startup problem: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. The only code executed...
by mzimmers
Thu Sep 06, 2018 10:40 pm
Forum: General Discussion
Topic: Field initialization of product
Replies: 12
Views: 3326

Field initialization of product

Hi all - The time has come for me to devise a method for the customer to provision the products he gets from my company. At a minimum, he needs to enter a SSID and PSK, so the device can join a Wifi network. The current thinking in the company is that this is best handled via a serial interface (usi...
by mzimmers
Fri Aug 24, 2018 5:43 pm
Forum: General Discussion
Topic: using LED control for a buzzer
Replies: 5
Views: 2043

Re: using LED control for a buzzer

I noticed that, too. I might be able to make more sense of the masks if I even knew what the field was used for, but I can find zero information on it. Who wrote this, anyway?

Go to advanced search