Search found 27 matches

by jesper
Sun May 11, 2025 4:26 pm
Forum: ESP-IDF
Topic: ESP32 - ULP doesn't wake up SOC completely
Replies: 1
Views: 60

ESP32 - ULP doesn't wake up SOC completely

I tried the ulp samples and they worked fine.
I then tried to integrate the ULP wakeup in my "regular" code, but the processor doesn't wake up completely, it just writes "ets" or "ets J", so it kinda wakes up, but then nothing more happens.
I commented out virtually all other code, except for a few ...
by jesper
Wed Nov 27, 2024 2:28 am
Forum: Hardware
Topic: ESP32-S3 I2S problem using GPIO41
Replies: 0
Views: 1333

ESP32-S3 I2S problem using GPIO41

I have a new board, using the ESP32-S3-WROOM-2 module and have I2S connected to:

#define GPIO_I2S_MCLK GPIO_NUM_39
#define GPIO_I2S_SD GPIO_NUM_40
#define GPIO_I2S_BCK GPIO_NUM_41
#define GPIO_I2S_WS GPIO_NUM_42

I2S is not working and there are signals on all pins, except GPIO_41.
I'm aware this ...
by jesper
Mon Sep 09, 2024 10:24 am
Forum: Hardware
Topic: TWAI not working after wakeup from deep-sleep, e.t.c.
Replies: 1
Views: 2370

TWAI not working after wakeup from deep-sleep, e.t.c.

I have being using TWAI (J1939) in our project for a long time with (almost (more about that later)) no issues.
I have now added a deep-sleep in case of low battery and reapplying external power will wake up the ESP32 again.
That all works great.
However, the TWAI does NOT recover after deep-sleep ...
by jesper
Thu Jun 27, 2024 11:20 am
Forum: ESP-IDF
Topic: sdkconfig for multiple projects with common code components
Replies: 2
Views: 1336

Re: sdkconfig for multiple projects with common code components

Ignore post, stupid mistake, I couldn't see the forest for the trees.
Problem solved, it DOES work as planned.
by jesper
Thu Jun 27, 2024 7:37 am
Forum: ESP-IDF
Topic: sdkconfig for multiple projects with common code components
Replies: 2
Views: 1336

sdkconfig for multiple projects with common code components

I have roughly this setup.

[size=85]- common_code/
- component1/
- include/ - component1.h
- Kconfig
- src1.c
- component2/
- include/ - component2.h
- Kconfig
- src2.c

- Project_1/
- build/
- main/
- src3.c
- src4.c
- CMakeLists.txt
- CMakeLists.txt
- sdkconfig

- Project_2 ...
by jesper
Mon May 13, 2024 2:45 pm
Forum: General Discussion
Topic: Previously working board, suddenly goes "A fatal error occurred: Active security features detected"
Replies: 4
Views: 2577

Re: Previously working board, suddenly goes "A fatal error occurred: Active security features detected"

Thank you,
I'm aware of how the FLASH_CRYPT_CNT works and how to "fix" this by adding a bit, but I don't care about saving a board.

I want to know HOW and WHY this happened, so we can (if possible) make sure it doesn't happen again.
The fact that it's only this single bit that has been changed in ...
by jesper
Mon May 13, 2024 5:50 am
Forum: General Discussion
Topic: Previously working board, suddenly goes "A fatal error occurred: Active security features detected"
Replies: 4
Views: 2577

Re: Previously working board, suddenly goes "A fatal error occurred: Active security features detected"

We're using ESP-IDF 5.2.1
This is ONE board out of a batch of 5000 that is all ok.
It was extensively tested before delivery and has been working fine in the field for some time.
We do not use ANY security features like Secure Boot, Flash Encryption or anything.

It complains when doing the erase ...
by jesper
Fri May 10, 2024 10:52 am
Forum: General Discussion
Topic: Previously working board, suddenly goes "A fatal error occurred: Active security features detected"
Replies: 4
Views: 2577

Previously working board, suddenly goes "A fatal error occurred: Active security features detected"

We have a few thousand ESP32-U4WDH based boards out with customers and recently got one back that had entered some kind of loop and drained batteries.
When testing, there is NO data on the serial channel.
Trying to re-flash the firmware worked fine, but, still no log.
We then tried do an 'erase_all ...
by jesper
Thu Feb 15, 2024 3:47 pm
Forum: IDEs for ESP-IDF
Topic: Wrong python env when launching project
Replies: 2
Views: 5373

Re: Wrong python env when launching project

Thank you, but not the same.
This is clearly related to Espressif-IDE (or Eclipse, actually), as the program compiles and launches fine in a command line ESP-IDF environment.
The silly idf5.0_py3.9 env is only used when launching in Eclipse. Building works fine.
And I just cannot find WHERE it is ...
by jesper
Thu Feb 15, 2024 7:33 am
Forum: IDEs for ESP-IDF
Topic: Wrong python env when launching project
Replies: 2
Views: 5373

Wrong python env when launching project

I use Espressif-IDE.

I have an issue with a few of my older projects.
I had been using a different ESP-IDF version.

They compile fine, but when I want to flash/launch, I get the following error:

Screenshot 2024-02-15 at 14.15.58.png

If refers to an idf5.0_py3.9_env .
However, I am using IDF 5 ...

Go to advanced search