A bit of speculation:
1. Perhaps the read loop gets interrupted by another task? Try wrapping the loop in taskENTER_CRITICAL/taskEXIT_CRITICAL calls.
2. Perhaps you are observing on card buffering? Maybe test with a different SD card.
Search found 18 matches
- Fri May 09, 2025 5:47 am
- Forum: ESP-IDF
- Topic: Consistent inconsistencies with f_read performance
- Replies: 2
- Views: 101
- Wed Jan 08, 2025 3:21 pm
- Forum: General Discussion
- Topic: Issue going to debug mode - ESP-Wroom-32
- Replies: 5
- Views: 3324
Re: Issue going to debug mode - ESP-Wroom-32
Look for an ESP-Prog board. For more detail also read through Espressif's JTAG debugging guide. The ESP-Prog uses an FT2232H USB bridge chip, so you can also use a simple breakout board with an FT2232H or FT232H chip. Other JTAG adapter options that can be used with OpenOCD: https://openocd.org/doc ...
- Tue Dec 24, 2024 5:35 am
- Forum: General Discussion
- Topic: Issue going to debug mode - ESP-Wroom-32
- Replies: 5
- Views: 3324
Re: Issue going to debug mode - ESP-Wroom-32
You need to connect a debug probe to the jtag pins, see https://docs.espressif.com/projects/esp ... -jtag.html
- Thu Oct 03, 2024 5:37 am
- Forum: General Discussion
- Topic: ESP32 Board for High-Speed Stepper Motor Control
- Replies: 2
- Views: 2300
Re: ESP32 Board for High-Speed Stepper Motor Control
As mentioned, use a hardeware peripheral to generate the step pulses:
https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/api-reference/peripherals/mcpwm.html
Also use a stepper driver board such as A4988 (cheap) or DRV8825 (more features) for fancy functionality such as micro stepping and ...
https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/api-reference/peripherals/mcpwm.html
Also use a stepper driver board such as A4988 (cheap) or DRV8825 (more features) for fancy functionality such as micro stepping and ...
- Sat Aug 24, 2024 6:35 am
- Forum: General Discussion
- Topic: xtensa calling convention: arguments pre-extended, post-extended, or both?
- Replies: 1
- Views: 1496
Re: xtensa calling convention: arguments pre-extended, post-extended, or both?
In the ISA summary for LX architectures, there is a section (10.1.4 Argument passing) that states:
All arguments consist of an integral number of 4-byte words. Thus, the minimum argument size is one word. Integer values smaller than a word (that is, char and short) are stored in the least ...
All arguments consist of an integral number of 4-byte words. Thus, the minimum argument size is one word. Integer values smaller than a word (that is, char and short) are stored in the least ...
- Mon Apr 15, 2024 6:07 am
- Forum: General Discussion
- Topic: Connection timed out when trying to debug.
- Replies: 5
- Views: 7604
Re: Connection timed out when trying to debug.
To see more debug information add -d to the openocd command line. Hopefully the cause will be revealed in the more information dense output.
- Mon Apr 15, 2024 5:56 am
- Forum: General Discussion
- Topic: Servo stops working and works again after 15 minutes of trying.
- Replies: 2
- Views: 1701
Re: Servo stops working and works again after 15 minutes of trying.
Just a guess - is an I2C bus error causing a stall in communication? Are you tracking the status of each I2C call? Does the problem persist after a power cycle to all components (since this will clear the I2C state of all I2C components)? Do you ensure that the I2C communication between the two ...
- Wed Feb 28, 2024 5:29 am
- Forum: General Discussion
- Topic: ESP32-Serial Port 2 + RX320/321 communications issue
- Replies: 1
- Views: 1151
Re: ESP32-Serial Port 2 + RX320/321 communications issue
Can you trace TX & RX signals at the Esp32 when the radio is switched on? There may be stray noise that interferes with the reception of the serial data. At this low baud rate you don't need a fancy scope.
- Sun Jan 28, 2024 3:19 pm
- Forum: General Discussion
- Topic: Padding Bytes between Instructions in Disassembly
- Replies: 2
- Views: 1698
Re: Padding Bytes between Instructions in Disassembly
As a side note: the differences in generated assembly between the two tools are due in part to different scanning algorithms. See e.g. this StackExchange discussion: https://reverseengineering.stackexchange.com/a/2581
- Sun Jan 28, 2024 1:57 pm
- Forum: General Discussion
- Topic: Using 2 ESP32 simultainly in CPU
- Replies: 1
- Views: 1153
Re: Using 2 ESP32 simultainly in CPU
Not a lot of detail to work with. What is the error message? What software are you using to communicate with the serial ports?All my COM ports are working good but when I connect both in my computer occurs an error.