1,453
questions
0
votes
0
answers
20
views
RP2040 Pico Micropython DMA keeps hanging up after 500 bytes of data write to a WAV file on an SD Card
I have an RP2040 Pico connected to an electret mic connected to an 12-bit ADC pin on the Pico. There's also an SD Card reader connected to the SPI0 on the Pico. I use a momentary switch to trigger ...
0
votes
0
answers
29
views
Lack of volume of recorded video from ESP32-CAM
I have this code in my esp32-cam there is no error, but when 20 seconds of video is recorded, an AVI file is created in the SD card, and it has no size, it is 0 KB and it doesn't show anything. No ...
0
votes
0
answers
42
views
Problem in running ESP32-CAM video recording code
I wanted to upload the code in this link to my esp32-cam so that I can save the videos recorded by the camera to the sdcard. But I encountered the following error while uploading:
C:\Users\Hacker\...
2
votes
0
answers
58
views
What is the fastest way to overwrite everything on SD card with 0s
I have this class method that handles the writing of 0s to an SD card via dd:
def run(self):
try:
print("[DEBUG] Starting zeroing process...")
# Get the ...
0
votes
0
answers
13
views
Arduino Nano - tmrh20 recorded wav files are 1kb
I am having trouble saving .wav files using the TMRh20 library.
I decided to try to recreate the project from this page:
https://www.instructables.com/Make-Your-Own-Spy-Bug-Arduino-Voice-Recorder/
The ...
0
votes
1
answer
57
views
SDMMC not working on STM32H7 uControllers
Good day
The problem
I am trying to get an SD card working using an STM32H7 uController. I have in the past successfully integrated SDIO with STM32F4/F7 microcontroller but cannot get it to work on an ...
0
votes
0
answers
30
views
Capturing corrupted images with OV2640 camera and ESP32S3 module
I had designed a board for the ESP32-S3-WROOM-1-N16R8 module (this module has 8MB PSRAM memory and 16MB flash memory). I wanted the camera OV2640 to capture an image frame with XGA resolution (768*...
-1
votes
1
answer
33
views
LUKS partition passphrase prompt not appear on boot
I have follow the following tutorial to do encryption/decryption using cryptsetup on my Raspbian Bookworm OS.
https://rr-developer.github.io/LUKS-on-Raspberry-Pi/
When I done encryption I can decrypt ...
0
votes
0
answers
95
views
Record sound with MAX9814 microphone amplifier and ESP32 on sd card using wav format
For a personal project, I need to record voice sample with a MAX9814 microphone using a esp32. The output pin of the microphone is linked to GPIO35 so I using internal ADC1 channel 7, CS pin of sd ...
0
votes
0
answers
43
views
Intermittent behavior on SD Card initialization on STM32 board
I'm prototyping an application using a STM32F407 board that contains a SD Card slot, as depicted below:
The communication is set to be 1 Bit, following the SDIO specification.
The fact is that when I ...
0
votes
0
answers
212
views
ESP32: f_mount failed: (3) The physical drive cannot work
I am trying to use a 128MB SD card with my ESP32 board through an SPI interface and an SD Card Module. Despite the card being fully functional when used with my computer, it fails to initialize with ...
1
vote
1
answer
91
views
ESP32-S3. Arduino Framework: SD card reading problems when implemented using classes
this is my first post here.
I'm having the following problem. I have some code that transfers a gif file from SD card to flash memory and then uses a TFT display to show it.
The following code works ...
0
votes
0
answers
25
views
I am trying to download file in SD card but it is getting downloaded in internal storage
I'm developing an Ionic app for reading and writing files on SD cards.
I can read the file, but when I try to download it, it goes to internal storage rather than SD card.
My code is provided below ...
2
votes
0
answers
48
views
Undefined external "f_open" reffered in main , FATF library not recognised?
Hi all im trying to set up an SPI interface between an MSP430 FR4133 and an external SD Card Reader. I am coming across these errors
Error[e46]: Undefined external "f_open" referred in main (...
0
votes
0
answers
63
views
Playing a video from removable SD card on Android device with VideoView using Kotlin
I'm working on an Android app (Lenovo tablet, API 33, Android 13.0) that displays a video depending on the selection made. I am able to play each video (.mp4) from the raw folder, but I'd like to ...
1
vote
2
answers
104
views
AVR128DB28 communication with SD card over SPI failed
I am trying to achieve communication between an AVR128DB28 microcontroller and an SD card over SPI.I'm programming it in Microchip Studio, programming is done through an MPLAB SNAP over UPDI. The ...
0
votes
0
answers
19
views
Time for the SD card to return to transfer mode after writing data to sectors
I'm working with an SD card on a microcontroller. After I send a sequence of commands to write data to sectors, I wait for the SD card to go into “transfer mode” before sending the next write or read ...
0
votes
1
answer
134
views
arduino "Compilation error: 'class DateTime' has no member named 'get'"
I have the arduino uno r3 and the adafruit data logger sheild (https://learn.adafruit.com/adafruit-data-logger-shield/using-the-real-time-clock-3).
Below is my code, however when I try to compile I ...
0
votes
0
answers
65
views
Read existing files in dir on SD-Card and create file with next bigger number
I have a SD-card attached to an ESP32C3. It's mounted and I can write to it. My goal is to automatically create a file with the next bigger number. In the case below I expect it to create a file named ...
0
votes
0
answers
53
views
Cannot connect to SD card with MD_MIDIFile on Teensy 4.1
I'm trying to use the MD_MIDIFile library from majicdesigns to read MIDI files from an SD card and translate them to human understandable language, on a Teensy 4.1 board (because I need the RAM). But ...
0
votes
0
answers
123
views
How do I convert the update.img artifact from the Orange Pi 4 LTS Android build to an image I can flash on a microSD card?
I have successfully built Android 8.1 from the sources provided for the Orange Pi 4 LTS. According to the Orange Pi 4 LTS User Manual (downloaded from the previous link)--on the final page 399--"…...
0
votes
0
answers
64
views
Using LittleFS and SD_MMC interchangeably
I want to write a program for the Olimex EVB (ESP32 microcontroller with built-in SD card reader) where I can interchangeably access the internal flash storage (via LittleFS) and the SD card (via ...
0
votes
1
answer
86
views
How to write large amount of data to sd card?
I use LPC54616 to write data on SD Card (FATFS library). The data that are written to SD card are generated in timer callback (~100B per 1ms). I use buffer (uint8_t buffer[6000];) to store this data ...
0
votes
2
answers
248
views
Teensy 4.1 SD.open randomly failing to create files
I'm creating a Teensy 4.1 system that has as part of it a data logger sketch using an SD card.
The Teensy receives the log name via external message, checks if that file exists and, if so, increments ...
0
votes
0
answers
71
views
Can't get SPI working in nucleo stm32f446re and SD card
I am trying to communicate a nucleo stm32f446re with an SD card module.
I am using SPI1, and I have configured PA4 to be CS with GPIO.
This is the code:
port_sd.c
SPI_HandleTypeDef hspi = {
....
0
votes
0
answers
225
views
Raspberry Pi not giving HDMI output with OS on SD card
I have a Raspberry Pi 4 Model B. When I boot it without an SD card (or when there is no OS installed on the SD card) it shows me this screen:
But when I install the Raspberry Pi OS using the Imager, ...
1
vote
1
answer
121
views
microSDHC card returning junk bytes during data transfer portion of CMD25 WRITE_MULTIPLE_BLOCK, why/what are they?
I'm writing a low-level driver in C to communicate with a microSDHC card over SPI. So far I have been able to successfully initialize the card, read a single block, read multiple blocks, and write a ...
0
votes
0
answers
348
views
Record audio from PDM Microphone and save to micro SD card using Circuitpython
I am trying to record audio from PDM Microphone MP34DT05-A, and save it in .wav file format on the micro SD Card through SPI, using Circuitpython.
The microcontroller I used is Raspberry Pi Pico W.
...
0
votes
0
answers
83
views
ESP32 + SD card- SD card get formatted automatically at random
I am using ESP32 with an SD card, which is preloaded with some data. I read a file line by line for the functioning of the application. It works fine most of the time, but around 1 out of 10 time, the ...
0
votes
0
answers
36
views
Is it possible to operate rfid, ble and sd card module at the same time?
Can rfid, sd card and ble be used at the same time?
I have 3 different folders in the SD card module and my files in these folders. With Ble, I get data from each folder with a file name (data1.txt, ...
0
votes
0
answers
89
views
Programming PCI SD card reader
I am trying to read a sector from SD card inserted into Realtek 5260 card reader. The card reader is a PCI device attached to the laptop. I issue READ_SINGLE_BLOCK (17) by writing the command and its ...
0
votes
1
answer
221
views
STM32 SD Card (SPI) is not writing in an interrupt
I am working on STM32F103 aka Bluepill. I will be using my project on human body so it should be compact (i.e. not connected to computer by cables).
I have an external interrupt by a chip at every ...
0
votes
0
answers
85
views
how can i tell if my SD.h and TMRpcm.h libraries are compatible?
I am trying to get an Arduino Nano to play a WAV file, but it's not working.
The wiring looks good, and the code seems to be ok;
ChatGPT suggests that one of the possible reasons for the problem could ...
0
votes
0
answers
35
views
Update SD card when adding audio files
I am inserting audio files onto the SD card using the Android Studio Device Explorer. In order to inform MediaStore of the insertion I have to cool boot the emulator or, when using the phone, restart ...
-1
votes
1
answer
183
views
Formatting and Filesystem Issues on SD Card - Differences in Boot Sector and Dirty Bit
I'm experiencing several issues with an SD card, and I'd like to provide more details to help the community understand the problem more comprehensively:
I'm using an SD card with my Android ...
0
votes
0
answers
288
views
access SD card data on IP camera with ONVIF on python
I a m trying to access the SD card of my IP camera in a remote way.
I figure out that it may be possible to do that with ONVIF under python: https://github.com/quatanium/python-onvif
The set of ...
0
votes
0
answers
224
views
On my Raspberry Pi Pico - I need to read an SD-Card in 4bit SD mode with a GPIO in Python
I need some help with my Raspberry Pi Pico using Python.
I want to read from an SD-Card in SD mode which is 4 bits wide.
My project is to read an AVI file from an SD-Card and display it on a small LED ...
-2
votes
1
answer
44
views
Taking data from my computer and putting it on my switch
I wanted to test something but I don't know what will happened and if it'll break my switch. So I'm curious to know if any knows, if I have a game that I made and I put in on a microSD card and then ...
0
votes
4
answers
1k
views
SD card issue in SDIO peripheral in Stm32f407VET6 Black Board
I have Stm32f407VET6 Black Board, cant connect the MicroSD card. im using onboard SD slot and a 32GB micro SD card by PNY. The card is okay and its already in FAT32 formatted. f_mount() function ...
2
votes
0
answers
496
views
Trying to write a bare-metal SD card interface in C - no external libraries
I am trying to write a simple bare-metal interface to talk to an SD card via SPI, and I'm struggling to get the responses I thought.
I have a simple initialisation and then I try to read the sector ...
0
votes
0
answers
579
views
ESP32/ESP8266 RFID to VSPI and SD card to HSPI
I'm trying to read rfid tag and save it to sd card so I added sd to HSPI and rfid to VSPI, when I only run RFID code it works but when I run both code togather sd card does not works, later I did sd....
0
votes
0
answers
141
views
How can I create a file on SD card in C using NXP processor?
I can use functions in C that write/read data from SD card, using LPC54616. This functions are able to modifiy each byte in the card. But if I insert card to the computer, I can't view stored data. So ...
0
votes
0
answers
427
views
Items not being written to file on FatFS SD Card
UPDATE
This code below works. It turns out my problem lied further down the chain with the software I was using to interface with the device and download files off. I pulled the SD card out of the ...
0
votes
0
answers
83
views
Out of space error on SD card even it tells me I have 17GB left
I am testing software on my raspberry pi. It is writing 2kb 10 timers per second to my SD card.
I keep getting out of memory errors and now Rpi will not boot up.
I have mounted this SD card via USB to ...
1
vote
0
answers
479
views
Why does calling the SD.begin() function multiple times in the Arduino IDE trigger a software WDT?
I want to get an AZ-Delivery SPI Reader Micro SD Card Module working on a NodeMCU Lua Lolin V3 ESP8266MOD 12-F. The module is correctly connected to the SPI pins of the NodeMCU: CLK (D5), MOSI (D7), ...
0
votes
0
answers
284
views
Zynq Ultrascale (ZU3+) failing SD card init/ident process = "unsupported card inserted"
We have an embedded system that uses a Zynq Ultra Scale (Zu3+) and a microSD card interface. The Zynq project is setup for 3.3V IO using SD 2.0 standards no level shifters. Our manufacturing process ...
0
votes
1
answer
267
views
Is it possible to remove Android Gallery access to the SD Card?
I want to remove the Gallery access to the images stored in the SD Card in order they don't appear visible showup.
I look in the Gallery settings, but didn't fine anything.
Note: there are a lot of ...
1
vote
0
answers
328
views
Intializing SDHC cards, CMD0 returns 0xFF while SD card returns 0x01
I'm using an STM32F0Discovery to try and intialize SD Cards via bare metal programming. I have 3 cards that I'm working with. A Kingston 32GB Sd card, SanDisk Ultra 32GB sd card, and a Transcend 1GB ...
0
votes
1
answer
75
views
write data to 2 different fat volumes within the same SDcard using TivaC mcu tm4c129xnczad microcontroller
I had a tm4c129xnczad microcontroller with SDcard connected to it via SPI3
and the SDcard with 1 Gb size had 2 volumes with about 500 Mb each
I want to write data to files to each volume I can access ...
1
vote
0
answers
293
views
SD card does not return token on SPI single block read
I have a Buffalo SDHC SD card with 4GB of storage, and a Raspberry Pi Pico. I have connected the SD card to the Pico's relevant SPI pins and have set the SPI clock speed to 1MHz.
I have reset the SD ...