220 questions
1
vote
0
answers
149
views
How can I read raw disk blocks in Windows?
I have a few FAT32 formatted SD cards that seem to suffer from a damaged root sector.
Now I want to read each of the SD cards' sectors individually in order to investigate and examine the SD cards.
I'...
2
votes
1
answer
90
views
Performing multiplication of 32-bit numbers in 16-bit real mode in order to traverse FAT table
I am writing a simple bootloader (and, hopefully soon, an operating system). I have been making progress, but this part is stumping me a bit.
I am writing this operating system and bootloader into a ...
0
votes
0
answers
35
views
FAT32: How to find the next Directory Structure
We can get the cluster number of the first root directory of a FAT32 filesystem by looking at the bootsector. Though I am quite sure it is possible for the root directory to contain more than one ...
2
votes
1
answer
195
views
Reading boot sector and BPB structure of FAT32 SD Card
I am currently attempting to create my own SD Card reader. I have the SD card commands and protocol fully implemented and working giving me usefull and accurate data about my SDCard.
---CARD INFO---
...
0
votes
0
answers
67
views
BPB_FATSz16/32 Values in the FAT32, 16 and 12 Filesystems
I'm currently writing a FAT formatting application and the FAT docs state the boot sector variable BPB_FATSz16 and BPB_FATSz32 but does not have any guidance on what appropriate values are for this ...
2
votes
0
answers
63
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
49
views
Assembly Error with NASM: TIMES value -23 is negative [duplicate]
I am a newbie to Assembly and I got the following error:
src/bootloader/bootloader.asm:292: error: TIMES value -23 is negative
make: *** [build/bootloader.bin] Error 1
I'm trying to create a basic ...
0
votes
1
answer
148
views
reading first sector of RDET in a FAT32 formatted USB drive results in all zeroes
I am currently working on a school project to read FAT32 formatted drive. I understand that the starting cluster of Rdet, number of bytes per sector, number of sectors per cluster are all located in ...
0
votes
1
answer
678
views
How do I change permissions on FAT32 USB drive on Raspberry Pi
I have a Raspberry Pi 4 operating as a Plex media server witgh an externalk USB drive as media storage, the drive mounts and it perfectly usable but after the reinstall of the latest OS I cant ...
1
vote
0
answers
104
views
Is there a way to use GetFileTime or Win API to account for DST time change on FAT32 without restarting the computer to update the FAT32 UTC cache?
I am looking for a way to account for DST time changes in file modified timestamps on FAT32 without having to restart the computer first after DST takes effect. As it is now I can only account for DST ...
1
vote
0
answers
100
views
Is there a way to compare NTFS and FAT32 last modified QDateTime's while accounting for the system configured time zone & DST?
Hi I need to be able to compare the last modified QDateTime's of two files that were copies of each other to tell if they have been modified and are no longer equal. One file is stored on an NTFS ...
1
vote
0
answers
86
views
mkfs.fat leave FAT32 fields in BPB at null value
I have problem that mkfs.fat leave FAT32 fields null with parameter -F 32. I am creating own bootloader and trying to read from EFI partition but somehow these values are at null value. Fields before ...
-1
votes
1
answer
389
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 smartphone....
0
votes
0
answers
322
views
FatFS cannot se files on PC
I have a problem with stm32l4r5 (nucleo-l4r5zi) and reading SD cards. I am using fatfs from https://01001000.xyz/2020-08-09-Tutorial-STM32CubeIDE-SD-card/. SPI and CS pins pulled up, prescaler 256. I ...
-1
votes
1
answer
303
views
Create bootable disk with large FAT32 partition from C#
I'm trying to create a bootable disk, e.g. a virtual disk or SD card, with the FAT32 file system from a C# code. It fails on two reasons:
Formatting FAT32 partition with the standard windows tools ...