Project

General

Profile

Actions

Task #3256

open
TJ GG

Task #2934: Detailed Design

Task #2968: SW-Development

Data Storage on 4G Failure

Task #3256: Data Storage on 4G Failure

Added by Thomas Joseph 28 days ago. Updated 16 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Start date:
11/02/2026
Due date:
13/02/2026 (26 days late)
% Done:

80%

Estimated time:
Spent time:

Files

image (30).jpg (25.9 KB) image (30).jpg Gowri G, 16/02/2026 05:08 AM
image (86).png (117 KB) image (86).png Gowri G, 16/02/2026 05:08 AM
sdmmc_fat_SD Card_Data Storage_verified_2.zip (4.2 MB) sdmmc_fat_SD Card_Data Storage_verified_2.zip Gowri G, 16/02/2026 05:09 AM
SD_CARD_LOG7.txt (1.54 KB) SD_CARD_LOG7.txt Gowri G, 23/02/2026 06:43 AM
image (31).jpg (62.6 KB) image (31).jpg Gowri G, 23/02/2026 06:43 AM
SD_CARD_LOG5.txt (906 Bytes) SD_CARD_LOG5.txt Gowri G, 23/02/2026 06:44 AM
Media (3).jpg (107 KB) Media (3).jpg Gowri G, 23/02/2026 06:56 AM
Media (2).jpg (30 KB) Media (2).jpg Gowri G, 23/02/2026 06:56 AM
image (30).jpg
image (86).png
image (31).jpg
Media (3).jpg
Media (2).jpg

TJ Updated by Thomas Joseph 28 days ago Actions #1

  • Assignee set to Gowri G

TJ Updated by Thomas Joseph 28 days ago Actions #2

  • Status changed from New to In Progress

TJ Updated by Thomas Joseph 26 days ago Actions #3

Design logic:

If the data posting fail three times, it starts storing in SD card.
Once the network connection resumes, the stored data will be posted as individual packets

1. What is max. storage / time duration
2. Will the real-time data posting be affected if posting of long stored data
3. What is the time required for one data posting ?

GG Updated by Gowri G 23 days ago Actions #4

  • % Done changed from 0 to 80

Implementation Done:
As per the suggestion of Venu Sir,the following things was done
1.Created a project for SDHC fat driver-SD storage
2.Init,Read and Write API s was created in MPLAB x IDE and it was verified.
3.Write index and read index based logic.No pending data - On Power.
3.Verified the file created in the SDcard and log stored concurrently in the SD card
Pending:

Final integration needs to be done by Devi in Core4 Final version

GG Updated by Gowri G 23 days ago Actions #5

GG Updated by Gowri G 23 days ago Actions #6

GG Updated by Gowri G 16 days ago Actions #8

image (31).jpg

Debugging Summary:

1. SD Card was not detected.The SDMMC Driver was intialized properly.But the media manager was not attached .The mount shows failure.
2.Verified the SDHC pin status and clock config
3.Verified the status of the SD card detect pin status by inserting SD Card and Removing the SD card .
4.Logs was sent to Venu sir,Got suggestions.
5.The issue was caused by unreliable Card Detect (CD) pin handling.The SD socket’s CD signal was not behaving as expected, so the Harmony Media Manager was not detecting the card consistently.
I switched the SD configuration from hardware Card Detect mode to polling mode.In polling mode, the driver directly checks SDHC status instead of relying on the CD pin, which resolved the mount instability.
6.Final integration was done.Need to test with the device where all the functionality should work.

Actions

Also available in: PDF Atom