Search found 248 matches

by jcsbanks
Wed Jul 17, 2019 11:54 am
Forum: General Discussion
Topic: ESP32: Partition Table Update through OTA
Replies: 1
Views: 27

Re: ESP32: Partition Table Update through OTA

There has been discussion on how to flash the factory app from OTA app. Maybe you could do similar to flash the partition partition. Might need to look at CONFIG_SPI_WRITING_DANGEROUS_REGIONS_* in sdkconfig too.
by jcsbanks
Mon Jul 15, 2019 10:36 am
Forum: Hardware
Topic: Does the ESP32-EVB have some LEDs that I can control ?
Replies: 2
Views: 96

Re: Does the ESP32-EVB have some LEDs that I can control ?

I switched one on which also operated the relay to show when my software was running normally. The visual and audible confirmation was useful, but I chose not to send high frequency LED flashes on this pin on this board, but I was only using ESP32-EVB for initial testing.
by jcsbanks
Mon Jul 15, 2019 7:36 am
Forum: General Discussion
Topic: Verify WLAN Password in SoftAP mode?
Replies: 2
Views: 174

Re: Verify WLAN Password in SoftAP mode?

Use APSTA. When the ESP32 channel hops to connect as STA, connection to AP may be interrupted briefly. Same with scanning, so I display "Wait 5s" in the button the user clicked and then reload the page for both operations as found it a smoother user experience.
by jcsbanks
Sat Jul 13, 2019 7:20 am
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 316

Re: Any examples on working with memory executables?

Yeah I could not get D/IRAM to work either, I tried, but ended up copying the buffer for D to I.

Could the elf loader author offer his work to you under a different license or are parts it uses also under GPL?
by jcsbanks
Fri Jul 12, 2019 8:47 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 316

Re: Any examples on working with memory executables?

My only use of this was for standalone routines that needed no linking. That kept it very simple and fast. The elf loader looks really good though for more complex needs don't you think?
by jcsbanks
Fri Jul 12, 2019 8:45 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 316

Re: Any examples on working with memory executables?

I was worried that after you realloc using data that free(data) is then a double free, or if the new pointer is to the same address you have also just freed the buffer you have just realloc. The second will not happen here because the malloc is a different type of memory. One of us is mistaken I thi...
by jcsbanks
Fri Jul 12, 2019 9:45 am
Forum: ESP32 IDF
Topic: Storing aws certs to spiffs
Replies: 4
Views: 174

Re: Storing aws certs to spiffs

Not done with spiffs, but have with nvs. Using a blob instead of a string avoids a length limit you might hit with some certificates and keys.

However you obtain them, you can pass a pointer to their location the same, unless there is some shortcut using spiffs.
by jcsbanks
Fri Jul 12, 2019 9:37 am
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 316

Re: Any examples on working with memory executables?

I'm curious about the free(data) after realloc in the original post. Should it be there or have I misundertsood?
by jcsbanks
Fri Jul 12, 2019 9:22 am
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 316

Re: Any examples on working with memory executables?

I think your problem is reading 8 bit char from IRAM which requires 32 bit access. I did write and use something to load functions to IRAM and execute them and it worked but it had more limitations than perhaps the elf loader mentioned by WiFive. I wanted something that could process buffers at nati...
by jcsbanks
Wed Jul 10, 2019 9:02 pm
Forum: General Discussion
Topic: espressif's "Chip7 2-2-A" spotted in the wild
Replies: 52
Views: 7854

Re: espressif's "Chip7 2-2-A" spotted in the wild

Can it be answered now whether it has CAN bus? (It could not previously be answered, but the video suggested it may not).

Go to advanced search