Search found 25 matches
- Fri Jun 14, 2024 4:18 pm
- Forum: General Discussion
- Topic: Timeout on upload using JTAG on ESP32-S3 rev 2
- Replies: 1
- Views: 881
Timeout on upload using JTAG on ESP32-S3 rev 2
This used to work correctly. Now with the ESP32-S3 rev 2 I get a timeout error on compile-and-upload in Arduino IDE 2.3.2. Any ideas? Sketch uses 286037 bytes (8%) of program storage space. Maximum is 3342336 bytes. Global variables use 19056 bytes (5%) of dynamic memory, leaving 308624 bytes for lo...
- Tue May 14, 2024 8:49 pm
- Forum: General Discussion
- Topic: Fast compiles using ESP32 and Arduino IDE 2.3
- Replies: 0
- Views: 782
Fast compiles using ESP32 and Arduino IDE 2.3
I'm using Arduino IDE 2.3 on a MacBook Pro laptop 2.3 Ghz Quad Core Intel I7 on Sonoma 14.4.1. My Reflections project has 1 .ino file and 25 .cpp files. It's about 15,000 lines of code in total. Code is here: https://github.com/frankcohen/ReflectionsOS. It takes about 8 minutes to compile the code. ...
- Tue Mar 19, 2024 11:20 pm
- Forum: General Discussion
- Topic: Wrist Gesture Sensing with ESP32 and an accelerometer
- Replies: 1
- Views: 722
Wrist Gesture Sensing with ESP32 and an accelerometer
This is an experiment to see if a computing device can make sense of gestures made with a person's wrist. It identifies the Fabulous Four Gestures of next, previous, accept, and cancel. It is extensible to train and identify additional gestures. It uses an ESP32 and LIS3DHTR accelerometer. It uses a...
- Sat Nov 11, 2023 2:01 am
- Forum: General Discussion
- Topic: ESP32-S3 SD NAND openNextFile returning on results
- Replies: 3
- Views: 1721
Re: ESP32-S3 SD NAND openNextFile returning on results
It's not the SD formatting to blame. Further investigation shows openNextFile not returning the file and directory details at the top level - '/' - of the directory. openNextFile works fine in subdirectories. I opened a trouble ticket here: https://www.arduino.cc/reference/en/libraries/sd/opennextfi...
- Mon Nov 06, 2023 7:53 am
- Forum: Sample Code
- Topic: ESP32-S3 SPI Nand/SD SdFat Format for Fat16 recipe
- Replies: 0
- Views: 23173
ESP32-S3 SPI Nand/SD SdFat Format for Fat16 recipe
SdFat is an amazing open-source library for Arduino and ESP32 projects to use SD and Nand storage. It's been around since 2009. @greiman does an amazing job, even if SdFat is impossible to maintain. This is my contribution, a recipe for fellow ESP32 enthusiasts needing to format an SD for Fat16 over...
- Tue Oct 31, 2023 6:59 pm
- Forum: General Discussion
- Topic: ESP32-S3 SD NAND openNextFile returning on results
- Replies: 3
- Views: 1721
Re: ESP32-S3 SD NAND openNextFile returning on results
This may be an SD formatting problem, or a hardware problem. I tried the same code on a new board with a new NAND/SD component. It works as expected: Starting SD Card Type: SDSC SD Card Size: 122MB Writing file: /hello.txt File written Writing file: /hello2.txt File written Writing file: /hello3.txt...
- Tue Oct 31, 2023 2:42 pm
- Forum: General Discussion
- Topic: ESP32-S3 SD NAND openNextFile returning on results
- Replies: 3
- Views: 1721
Re: ESP32-S3 SD NAND openNextFile returning on results
Here's the output: Starting SD Card Type: SDSC SD Card Size: 122MB Listing directory: / root = / file = 0 file.path = -end- There are 3 files, no directories. The typical functions of create file for write, read file, delete file, create directory, delete directory all work. It's only openNextFile t...
- Tue Oct 31, 2023 7:29 am
- Forum: General Discussion
- Topic: ESP32-S3 SD NAND openNextFile returning on results
- Replies: 3
- Views: 1721
ESP32-S3 SD NAND openNextFile returning on results
I'm running the SD example code on an ESP32-S3 dev module and I am getting no return content when using openNextFile(). I am building with Arduino IDE 2.2.1 and ESP32 v 2.0.14. When I call openNextFile() I get no results. Here is the code: #include <Arduino.h> #include "FS.h" #include <LittleFS.h> #...
- Tue Sep 12, 2023 12:52 am
- Forum: ESP32 Arduino
- Topic: ESP32+SD/NAND fails on reuse of File object to secondary file
- Replies: 1
- Views: 2159
Re: ESP32+SD/NAND fails on reuse of File object to secondary file
I figured out 2 problems: The SD library returns random values for file.size() before the file has non-zero contents. I opened a bug report with Espressif at https://github.com/espressif/arduino-esp32/issues/8625. The easy solution is to insert an initial log entry when creating and opening the log ...
- Tue Sep 12, 2023 12:44 am
- Forum: ESP32 Arduino
- Topic: Bug SD size() returns random value until file has non-zero bytes of content
- Replies: 2
- Views: 1755