Camila_99$$
Camila_99$$
DIIDevHeads IoT Integration Server
Created by Camila_99$$ on 7/19/2024 in #firmware-and-baremetal
working on a program using STM32F103C8T6 where I encounter a problem reading files from an SD card
When I comment out reading the second file (MaJDate.txt), reading the ProgFP.txt file works fine. However, when MaJDate.txt is uncommented, the program gets stuck while reading that file. Additional Information: -I did not receive a specific error message; the program simply hangs. -Both ProgFP.txt and MaJDate.txt are text files. -ProgFP.txt contains several lines of text, and MaJDate.txt contains numerical data separated by new lines. -I am using the Arduino SD library for file operations. -No other code sections interact with the SD card or file operations directly. What might be causing this issue with reading both files sequentially???
8 replies