Search found 16 matches
- Sat Sep 19, 2020 11:25 am
- Forum: ESP-MDF
- Topic: clone firmware between ESP32 in a Mesh network OTA
- Replies: 1
- Views: 6319
Re: clone firmware between ESP32 in a Mesh network OTA
I'm using ESP Mesh, but i have done something similair. My basic approach is: - All nodes (root and slaves) compute a sha256 sum of their currently active firmware partition. - The slaves repeatedly sends their sha256 to the root node, as well as how much of the root nodes firmware they have receive...
- Tue Apr 28, 2020 7:39 pm
- Forum: General Discussion
- Topic: What would you like to see in The Next Chip?
- Replies: 443
- Views: 944018
Re: What would you like to see in The Next Chip?
I would like the following functionallity in a new chip. * USB host controller so the ESP could basically present itself as a mass-storage device. Would be useful to transfer files to an internal filesystem. I guess this is planed as the S2 has usb support as far as i know. * Better support for ws28...
- Sat Jan 04, 2020 10:38 pm
- Forum: ESP-IDF
- Topic: ESP-MESH Flushing downstrem queues
- Replies: 0
- Views: 2554
ESP-MESH Flushing downstrem queues
Hi. I'm wondering if it is possible to flush the to_child and broadcast queues in ESP-MESH? My application is driven by the root node broadcasting packages to the childs in the network. It would be nice to be able to flush the broadcasting queue once in a while to ensure i don't run out of memory by...
- Mon Dec 30, 2019 1:49 am
- Forum: ESP-IDF
- Topic: SHA-256 for running partition all zero?
- Replies: 12
- Views: 17134
Re: SHA-256 for running partition all zero?
Any update on this issue? I have currently made a hack in my ESP-idf which just handles computing the sha for app partitions like it was any other partition: --- a/components/bootloader_support/src/bootloader_common.c +++ b/components/bootloader_support/src/bootloader_common.c @@ -168,7 +168,7 @@ es...
- Mon Dec 30, 2019 1:48 am
- Forum: ESP-IDF
- Topic: Web Socket Server
- Replies: 9
- Views: 11769
Re: Web Socket Server
Hello, Did you try to port libwebsocket Library for ESP32? Because we have tried it earlier and faced some compilation issues with ESP32 IDF. Let us know if anyone has tried and used it for ESP32 Target. I belive i got it working some time ago (~a year). I can't really remember what i did to make i...
- Sun Dec 08, 2019 11:46 am
- Forum: ESP-IDF
- Topic: Web Socket Server
- Replies: 9
- Views: 11769
Re: Web Socket Server
I am using mongoose(https://github.com/cesanta/mongoose) in my project (see here for how i use it: (https://gitlab.com/StefanRvO/light-equalizer-platform/blob/master/software/firmware/main/modules/web_server_module/web_server_module.c). Libwebsockets (https://github.com/warmcat/libwebsockets) should...
- Wed Aug 14, 2019 4:44 pm
- Forum: ESP-MDF
- Topic: ESP_ERR_MESH_ARGUMENT When sending package to root
- Replies: 1
- Views: 5837
ESP_ERR_MESH_ARGUMENT When sending package to root
Hi. I'm trying to send a package from a node to the root. I call the following function: esp_mesh_send(NULL, &data, 0, NULL, 0); Where &data is just my custom payload. I have no problem sending broadcasts from the root to the other nodes, but i can't seem to make data flow the other way, i just get ...
- Sun Jul 28, 2019 11:46 am
- Forum: Hardware
- Topic: 100K spi transactions per second
- Replies: 3
- Views: 5942
Re: 100K spi transactions per second
I have attached a scope shot with the Chipselect and clock lines. As you can see, the issue is not the clock speed, but rather the long intervals between transactions. I don't think raising the clock speed would increase my sampling rate by more than maybe 20%, and there is some practical reasons in...
- Sat Jul 27, 2019 8:17 am
- Forum: Hardware
- Topic: 100K spi transactions per second
- Replies: 3
- Views: 5942
100K spi transactions per second
Hi. I want to sample from an MCP3002 SPI ADC 100K times per second. I'm currently using the following code and only archiving about 40000 (20K for each ADC channel) samples per second. https://gitlab.com/StefanRvO/light-equalizer-platform/blob/master/software/firmware/main/drivers/mcp3002/mcp3002.c ...
- Sat Jul 22, 2017 6:35 pm
- Forum: ESP-IDF
- Topic: [SPI master] only recieving first byte from slave
- Replies: 1
- Views: 6469
[SPI master] only recieving first byte from slave
Hi I'm trying to use the spi_master driver to communicate with an CS5463 Energy monitoring IC. . I have no problems with writing to the registers of the chip, but if i try to read them, I only recieve the first byte of the data sent on SDO. I have attached a logic analyzer, and i can see that the ch...