Search found 566 matches

by boarchuz
Mon Mar 07, 2022 3:25 am
Forum: ESP-IDF
Topic: How can I place a variable at an absolute address? Pass value between bootloader hook and application.
Replies: 7
Views: 4782

Re: How can I place a variable at an absolute address? Pass value between bootloader hook and application.

I don't think it's possible to specify an address. You would need to maintain a custom esp_system component with your new section specified in the relevant linker script. I had a need for the same thing this week - reserved RTC slow memory without having to have an entire esp_system hanging about to...
by boarchuz
Wed Mar 02, 2022 4:58 am
Forum: ESP32 Arduino
Topic: ESP32 goes into unknown state
Replies: 1
Views: 1509

Re: ESP32 goes into unknown state

ESP32 datasheet, section 2.3: • In scenarios where ESP32 is powered on and off repeatedly by switching the power rails, while there is a large capacitor on the VDD33 rail and CHIP_PU and VDD33 are connected, simply switching off the CHIP_PU power rail and immediately switching it back on may cause a...
by boarchuz
Fri Feb 25, 2022 6:15 pm
Forum: ESP-IDF
Topic: WiFi switch without disconnect.
Replies: 11
Views: 6567

Re: WiFi switch without disconnect.

Yes you can change modes without needing to stop and restart the driver.
by boarchuz
Wed Feb 23, 2022 4:48 pm
Forum: General Discussion
Topic: ESP32 IRAM and DRAM
Replies: 7
Views: 8415

Re: ESP32 IRAM and DRAM

zazas321 wrote:
Wed Feb 23, 2022 6:23 am
Would you be able to suggest a good reading material on this kind of topic because I havent been able to find a good source.
https://blog.espressif.com/esp32-progra ... 9444d89387
by boarchuz
Mon Feb 07, 2022 2:20 am
Forum: General Discussion
Topic: GPIO Interrupt from a class file
Replies: 12
Views: 15815

Re: GPIO Interrupt from a class file

chukitoes wrote:
Sun Feb 06, 2022 6:31 pm
But, it actually does work
Sorry, I think I was off the mark - I was mixed up with the common case where the header would have 'static' variables, in which case they would be 'duplicated' wherever that header is included.
by boarchuz
Sun Feb 06, 2022 5:50 am
Forum: General Discussion
Topic: GPIO Interrupt from a class file
Replies: 12
Views: 15815

Re: GPIO Interrupt from a class file

ANSI_Encoder.h: uint32_t C_cnt; rotary_encoder_example_main.c: #include "ANSI_ENCODER.h" printf("CNT C: %d\n", C_cnt); ANSI_Encoder.c: uint32_t C_cnt; C_cnt++; By including ANSI_ENCODER.h in your main.c, you declare a C_cnt in that translation unit. This is not the same memory as the C_cnt in the A...
by boarchuz
Sun Feb 06, 2022 5:30 am
Forum: ESP-IDF
Topic: [SOLVED] Connection to website over HTTPS protocol
Replies: 14
Views: 15581

Re: Connection to website over HTTPS protocol

ESP_Sprite wrote:
Sat Feb 05, 2022 2:10 am
if you leave away any mention of certificates in the http_client config, the client will simply skip checking all together.
^If ESP_TLS_INSECURE and ESP_TLS_SKIP_SERVER_CERT_VERIFY are enabled
by boarchuz
Thu Feb 03, 2022 12:37 am
Forum: Hardware
Topic: ESP32S2 custom dev board design, schematic check please
Replies: 5
Views: 4948

Re: ESP32S2 custom dev board design, schematic check please

Could use some more capacitance, especially either side of the LDO and ESP32 VCC Need a ~1uF capacitor on ESP32 EN Suggest grounding the pad of TP4056 Suggest a reasonably high resistor (eg. 10-100k) on VBUS to GND, in order to tie TPS2113 VSNS low when VBUS is disconnected There's no protection on...
by boarchuz
Sat Jan 22, 2022 1:10 am
Forum: ESP-IDF
Topic: Generating partition-table.bin failed
Replies: 2
Views: 3963

Re: Generating partition-table.bin failed

BB1964 wrote:
Fri Jan 21, 2022 10:29 pm
otadata partition must have size = 0x2000