Search found 41 matches

by maldus
Wed Jun 17, 2020 3:46 pm
Forum: ESP32 IDF
Topic: How to set up simple Modbus communication?
Replies: 8
Views: 1730

Re: How to set up simple Modbus communication?

Many thanks for the clarification. I find the section of the documentation about Modbus quite cryptic, and in fact I don't think it describes the content of the structure `mb_param_request_t`. The source code is quite simple however, so I think I got it! Since I'm here, are you aware of any way get ...
by maldus
Wed Jun 17, 2020 1:29 pm
Forum: ESP32 IDF
Topic: How to set up simple Modbus communication?
Replies: 8
Views: 1730

Re: How to set up simple Modbus communication?

Hello ESP_alisitsyn, The modbus stack uses modbus command 16 (Write Multiple Holding Registers) to write registers as more universal. The 6 (Write Single Register) command support can also be added into stack if required. What do you mean it can be added to the stack if required? Is there a way for ...
by maldus
Wed Apr 22, 2020 9:41 am
Forum: ESP32 IDF
Topic: Unable to store and load WiFi configuration in NVS
Replies: 2
Views: 814

Re: Unable to store and load WiFi configuration in NVS

That is indeed my mistake, thank you. I find it a little counterintuitive to have the WiFi stack automatically load previous values if not told otherwise, especially since there is no way to tell if a configuration has been saved before (yet https://github.com/espressif/esp-idf/issues/4970 ). Nevert...
by maldus
Tue Apr 21, 2020 12:23 pm
Forum: ESP32 IDF
Topic: Unable to store and load WiFi configuration in NVS
Replies: 2
Views: 814

Unable to store and load WiFi configuration in NVS

Hello everyone, I'm trying to dynamically configure an ESP32 to connect to a certain WiFi access point. I started with the smart config example ( https://github.com/espressif/esp-idf/tree/v4.0/examples/wifi/smart_config ) and tried to build from there, adding the option to use saved credentials if a...
by maldus
Mon Dec 09, 2019 7:54 am
Forum: ESP32 IDF
Topic: Clarification on Wear Leveling Performance and Safety modes
Replies: 2
Views: 560

Re: Clarification on Wear Leveling Performance and Safety modes

I really hate to be insistent but I also feel like the documentation is somewhat lacking here. Understanding what happens in the event of an unforeseen poweroff is paramount for me and I'd like to know if and how the data is recoverable.
by maldus
Thu Dec 05, 2019 8:24 pm
Forum: ESP32 IDF
Topic: Clarification on Wear Leveling Performance and Safety modes
Replies: 2
Views: 560

Re: Clarification on Wear Leveling Performance and Safety modes

I have made some tests and can confirm that a file ends up corrupted if a write operation is interrupted by a reset. This happens regardless of the safety/performance or sector size configuration. Is there a way to notice this and somehow recover?
by maldus
Wed Dec 04, 2019 11:21 am
Forum: ESP32 IDF
Topic: Clarification on Wear Leveling Performance and Safety modes
Replies: 2
Views: 560

Clarification on Wear Leveling Performance and Safety modes

Hello everyone, I am trying to understand all the nuances of the FatFS and Wear Leveling components of the library. To quote the documentation ( https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/storage/wear-levelling.html ): The wear levelling component, together with the FAT FS c...
by maldus
Wed Nov 13, 2019 8:37 am
Forum: General Discussion
Topic: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)
Replies: 5
Views: 1958

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

This is interesting, but it appears there is still no package for linux-arm64: $ sh install.sh ERROR: tool xtensa-esp32-elf does not have versions compatible with linux-arm64 A little digging into `idf_tools.py` confirms that there is a Linux-aarch64 target for my platform, but when trying to downlo...
by maldus
Tue Nov 12, 2019 9:35 pm
Forum: General Discussion
Topic: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)
Replies: 5
Views: 1958

Re: Tool xtensa-esp32-elf-gcc is not available for Raspberry Pi (ARM)

I would also be interested in ARM support. I can work with esp-idf v3.3 because I can compile a toolchain with crosstool-ng, but on v4.0 the install and export scripts fail.

Is there a timeline for ARM support?
by maldus
Thu Oct 24, 2019 10:54 am
Forum: ESP32 IDF
Topic: What is the best NVS option for big data structures?
Replies: 0
Views: 345

What is the best NVS option for big data structures?

Hello everyone, In my next project I will need to save in persistent memory up to 100 data structures about 2KB big. In previous iterations I used I2C eeproms to store such data; they are however very expensive. Since the ESP32 can include up to 16MB of flash memory I was considering that as an opti...

Go to advanced search