Search found 9 matches

by lmagalhaes
Thu Jul 29, 2021 9:07 am
Forum: General Discussion
Topic: ESP32-S2 "acting weird" in the office
Replies: 2
Views: 2891

Re: ESP32-S2 "acting weird" in the office

Started commenting some of the active tasks and got this little beauty ... [0;32mI (3313) wifi softAP: the handlers were registred succesfully[0m [0;32mI (3323) wifi softAP: server started correctly[0m I (3873) wifi:new:<1,0>, old:<1,1>, ap:<1,1>, sta:<0,0>, prof:1 I (3873) wifi:station: 04:b1:67:45...
by lmagalhaes
Thu Jul 29, 2021 8:53 am
Forum: General Discussion
Topic: ESP32-S2 "acting weird" in the office
Replies: 2
Views: 2891

ESP32-S2 "acting weird" in the office

Hi there, I've been working from home and developed all the code for the ESP32-S2. It uses wifi and, when it doesn't have the credentials for hthe SSID it starts a webserver, shows a page where you can enter the SSID and pass, etc. The usual. I have many hours in the development of this and the rest...
by lmagalhaes
Wed Apr 21, 2021 8:01 am
Forum: ESP-IDF
Topic: ESP32S2 USB-CDC does not appear as option in CONFIG_ESP_CONSOLE_UART
Replies: 6
Views: 5190

Re: ESP32S2 USB-CDC does not appear as option in CONFIG_ESP_CONSOLE_UART

Ah. Since I'm using VSCode, how can I choose the ESP-IDF version ? I just let the extension install everything and apparentely it's pulling the 4.2 version.
by lmagalhaes
Tue Apr 20, 2021 9:15 pm
Forum: ESP-IDF
Topic: ESP32S2 USB-CDC does not appear as option in CONFIG_ESP_CONSOLE_UART
Replies: 6
Views: 5190

Re: ESP32S2 USB-CDC does not appear as option in CONFIG_ESP_CONSOLE_UART

Yes, I even have in the SDKCONFIG:

CONFIG_IDF_CMAKE=y
CONFIG_IDF_TARGET="esp32s2"
CONFIG_IDF_TARGET_ESP32S2=y
CONFIG_IDF_FIRMWARE_CHIP_ID=0x0002
by lmagalhaes
Tue Apr 20, 2021 3:44 pm
Forum: ESP-IDF
Topic: ESP32S2 USB-CDC does not appear as option in CONFIG_ESP_CONSOLE_UART
Replies: 6
Views: 5190

ESP32S2 USB-CDC does not appear as option in CONFIG_ESP_CONSOLE_UART

Hi there, I have a custom board with a ESP32-S2 and I'm using the native USB port to flash the IC. I'm trying to configure it also to serve as the console, but in the menuconfig that option does not appear. According to the documentation, On chips with USB peripheral, “USB CDC” option redirects outp...
by lmagalhaes
Tue Apr 20, 2021 3:39 pm
Forum: IDEs for ESP-IDF
Topic: Can't upload using native USB port on ESP32S2 and VS Code
Replies: 4
Views: 11961

Re: Can't upload using native USB port on ESP32S2 and VS Code

It was a combination of using Zadig to fix the drivers to WinUSB and a folder with a space that was making the upload fail. It's working now, thank you.
by lmagalhaes
Mon Apr 19, 2021 8:01 am
Forum: IDEs for ESP-IDF
Topic: Can't upload using native USB port on ESP32S2 and VS Code
Replies: 4
Views: 11961

Can't upload using native USB port on ESP32S2 and VS Code

Hi there, I have a ESP32S2 module on a custom PCB and I was already able to upload some code to the module. However, I was having trouble building new projects, so I reinstalled everything and now I can't upload the code to the module. I get this issue: Executing task: d:\esp\.espressif\python_env\i...
by lmagalhaes
Tue Apr 07, 2020 5:28 pm
Forum: ESP-IDF
Topic: NVS Value Too Long
Replies: 0
Views: 2305

NVS Value Too Long

Hi there, I'm trying to store a byte array in non volatile memory, but I'm always getting the ESP_ERR_NVS_VALUE_TOO_LONG error... Here is the code: typedef struct { uint8_t month; uint8_t year; } prodDate; prodDate productionDate; productionDate.month = spp_data[5]; productionDate.year = spp_data[6]...