Skip to content

writing large file is OK; but error in reading back #1

@djsg

Description

@djsg

Hi,

I followed your tutorial https://embetronicx.com/tutorials/microcontrollers/stm32/stm32-sd-card-interfacing-with-example/ to have made FatFs library work on my STM32 F411 PCB board.
Basically I need to store 1000+ floating point values in SD card and read them back.
I have no problem in writing; but I cannot read all the records back.
I put each value in one line, ending with "\n" and use f_gets to read line by line.
After reading 900+ line, I have Assertion failed error.

Do you have any idea what goes wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions