Search found 6 matches

by jshnaidm
Sun Aug 01, 2021 9:01 pm
Forum: ESP-IDF
Topic: ESP32 devkitc v4 with esp-prog
Replies: 2
Views: 2587

ESP32 devkitc v4 with esp-prog

Hi. I'm trying to set up the ESP-Prog with my esp32, but it fails to even flash. It's configured to flash on COM21 using the FTDIBUS (v2.12.36.2) driver via UART. I'm using the vscode extension to configure it. I've connected ESP_EN to the EN pin, ESP_TXD to TX, ESP_RXD to RX, VDD to 3V3, GND to GND...
by jshnaidm
Tue Jul 20, 2021 6:09 am
Forum: ESP-IDF
Topic: How to increase .bss size for ULP?
Replies: 5
Views: 4970

Re: How to increase .bss size for ULP?

CONFIG_ESP32_ULP_COPROC_RESERVE_MEM Should be the correct way of increasing it. Any chance CONFIG_ESP32S2_ULP_COPROC_RESERVE_MEM is defined in your sdkconfig as well? That could potentially overwrite the setting. Are you able to provide a simple example that reproduce this behaviour? If so I'd be h...
by jshnaidm
Mon Jul 19, 2021 11:32 pm
Forum: ESP-IDF
Topic: How to increase .bss size for ULP?
Replies: 5
Views: 4970

Re: How to increase .bss size for ULP?

Hello @jshnaidm when I change the RTC slow memory value via 'menuconfig' I see it in two places: sdkconfig:CONFIG_ESP32_ULP_COPROC_RESERVE_MEM=2048 sdkconfig:CONFIG_ULP_COPROC_RESERVE_MEM=2048 It looks like some options have been deprecated and replaced with others: https://docs.espressif.com/proje...
by jshnaidm
Sun Jul 18, 2021 9:52 pm
Forum: ESP-IDF
Topic: How to increase .bss size for ULP?
Replies: 5
Views: 4970

How to increase .bss size for ULP?

Hi. I'm using the vscode extension to program and build my project. I've used the SDK Configuration editor to increase the RTC slow memory reserved for the coprocessor, but regardless of how high I put it, it always tells me that the ram region overflows by 64 bytes: [3/83] Performing build step for...
by jshnaidm
Sat Jul 17, 2021 5:20 am
Forum: ESP-IDF
Topic: esp-32s1 reading RTC timer through ULP, getting garbage.
Replies: 2
Views: 2342

Re: esp-32s1 reading RTC timer through ULP, getting garbage.

READ_RTC_REG(RTC_CNTL_TIME0_REG+2, 0, 16) This doesn't look right. Are you trying to read the upper 16 bits?: READ_RTC_REG(RTC_CNTL_TIME0_REG, 16, 16) Yeah! I got confused by the macro, I ended up just doing .set timer_top_16, (0x3FF48014 - DR_REG_RTCCNTL_BASE)/4 REG_RD timer_top_16, 0, 16 And I go...
by jshnaidm
Fri Jul 16, 2021 8:54 pm
Forum: ESP-IDF
Topic: esp-32s1 reading RTC timer through ULP, getting garbage.
Replies: 2
Views: 2342

esp-32s1 reading RTC timer through ULP, getting garbage.

read_RTC_time: WRITE_RTC_REG(RTC_CNTL_TIME_UPDATE_REG, RTC_CNTL_TIME_UPDATE_S, 1,1) wait_RTC_update: READ_RTC_REG(RTC_CNTL_TIME_UPDATE_REG, RTC_CNTL_TIME_VALID_S, 1) jumpr wait_RTC_update, 0, eq READ_RTC_REG(RTC_CNTL_TIME0_REG+2, 0, 16) move r1, last_measurement_time st r0, r1, 0 The value I'm gett...