Thanks for your suggestions. You helped me figure it out. See this thread:
https://www.esp32.com/viewtopic.php?f=12&t=36859&p=123646#p123646
When I added the variable and printed it from app_main It wasn't behaving as expected. So, I cleaned the project and it started working. I was changing the ...
Search found 18 matches
- Mon Nov 20, 2023 4:47 pm
- Forum: ESP-IDF
- Topic: esp32 s2 riscv ulp stuck
- Replies: 3
- Views: 3548
- Mon Nov 20, 2023 4:43 pm
- Forum: Hardware
- Topic: ULP RISC-V Blink application help.
- Replies: 2
- Views: 13054
Re: ULP RISC-V Blink application help.
I figured it out, though I don't understand it. In Platform IO I needed to clean the project. Once I cleaned it I could see the loop count increment and the IO line toggle. But then I initialized the loop counter and it did not take until I cleaned the project again.
It doesn't seem to need to be ...
It doesn't seem to need to be ...
- Fri Nov 17, 2023 9:39 pm
- Forum: Hardware
- Topic: ULP RISC-V Blink application help.
- Replies: 2
- Views: 13054
Re: ULP RISC-V Blink application help.
Here is a list of the ULP control registers after the ulp_riscv_run if this helps.
RTC_CNTL_ULP_CP_TIMER_REG = 0x80000000
RTC_CNTL_ULP_CP_TIMER_1_REG = 0x0000c800
RTC_CNTL_ULP_CP_CTRL_REG = 0x00100200
RTC_CNTL_COCPU_CTRL_REG = 0x010a0811
SENS_SAR_COCPU_INT_RAW_REG = 0x00000040
SENS_SAR_COCPU ...
RTC_CNTL_ULP_CP_TIMER_REG = 0x80000000
RTC_CNTL_ULP_CP_TIMER_1_REG = 0x0000c800
RTC_CNTL_ULP_CP_CTRL_REG = 0x00100200
RTC_CNTL_COCPU_CTRL_REG = 0x010a0811
SENS_SAR_COCPU_INT_RAW_REG = 0x00000040
SENS_SAR_COCPU ...
- Fri Nov 17, 2023 3:23 pm
- Forum: Hardware
- Topic: ULP RISC-V Blink application help.
- Replies: 2
- Views: 13054
ULP RISC-V Blink application help.
I put together this simple blink application from many different examples I found for the ULP RISC-V on the ESP32-S2. I don't think I'm missing a step from the ULP RISC-V programming guide. If it is missing here it is because I had it there and it did not seem to do anything.
I would like to run ...
I would like to run ...
- Fri Nov 17, 2023 3:02 pm
- Forum: ESP-IDF
- Topic: esp32 s2 riscv ulp stuck
- Replies: 3
- Views: 3548
Re: esp32 s2 riscv ulp stuck
I'm having the same issue - Have you found the solution? I came up with a similar application for this discussion. I would like to run this code in an infinite loop while the main CPU is running and not in sleep mode. I'm using the ESP32-S2-Saola-1 module and PlatformIO. I tried many fixes I found ...
- Sun Oct 15, 2023 7:00 pm
- Forum: ESP32 Arduino
- Topic: Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
- Replies: 4
- Views: 10282
Re: Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
I guess my next question is how do I setup PlatformIO to use my installed IDF at C:\Users\UserName\esp\esp-idf-v4.4.6?
- Sun Oct 15, 2023 6:09 pm
- Forum: ESP32 Arduino
- Topic: Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
- Replies: 4
- Views: 10282
Re: Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
I installed a fresh IDF and arduino and ran the hello world example. The steps are below.
this assumes I already have installed esp idf in the default location c:\Users\UserName\esp
cd c:\Users\UserName\esp
git clone -b v4.4.6 --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.4.6
cd ...
this assumes I already have installed esp idf in the default location c:\Users\UserName\esp
cd c:\Users\UserName\esp
git clone -b v4.4.6 --recursive https://github.com/espressif/esp-idf.git esp-idf-v4.4.6
cd ...
- Sun Oct 15, 2023 1:50 pm
- Forum: ESP32 Arduino
- Topic: Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
- Replies: 4
- Views: 10282
Platformio configuration: framework = arduino,espidf esp32-s2 with latest 2.0.14 and 4.4.6
Thanks in advance for your help.
I'm trying to create a platformio.ini that uses the latest arduino @ 2.0.14 and the espoidf it needs @ 4.4.6 for an esp32-s2.
Here is what I have in my platformio.ini file:
[env:esp32-s2-saola-1]
platform = espressif32
framework = arduino, espidf
board = esp32-s2 ...
I'm trying to create a platformio.ini that uses the latest arduino @ 2.0.14 and the espoidf it needs @ 4.4.6 for an esp32-s2.
Here is what I have in my platformio.ini file:
[env:esp32-s2-saola-1]
platform = espressif32
framework = arduino, espidf
board = esp32-s2 ...
- Mon Sep 18, 2023 9:22 pm
- Forum: ESP IoT Solution
- Topic: blob uploading with esp-azure?
- Replies: 1
- Views: 74286
Re: blob uploading with esp-azure?
Good Luck with this. I just googled this to see if I this is possible and your unanswered post was the first hit I found.
If I find out, I'll replay back here.
Mike.
If I find out, I'll replay back here.
Mike.
- Tue Jun 13, 2023 4:06 pm
- Forum: ESP32 Arduino
- Topic: How to create a FAT error for testing?
- Replies: 2
- Views: 2015
How to create a FAT error for testing?
I want to find out how our system responds when a FAT error occurs during the FAT initialization.
Is there a function or method for killing the FAT file system so that on power up or reboot the initialization process fails?
I tried just opening a file for writing and continuously writing data with ...
Is there a function or method for killing the FAT file system so that on power up or reboot the initialization process fails?
I tried just opening a file for writing and continuously writing data with ...