Hi guys,
I have a simple problem, I need to mount 2 storage media i.e., USB drive and SD Card that are connected to my system and copy a csv file from SD card to USB in the most fastest way possible (DMA may be?) but my current method is kinda very slow.
I am mounting SD Card, reading a 256kb buffer to RAM, unmounting SD card, mount USB, Write my buffer to USB. This way writing even 1MB file is taking like so many minutes. What's more elegant and fastest way I can do this?
I have idea about memory mapping of peripherals especially like QSPI flashes where you can read them like internal memory but something like this is possible? Need your ideas and suggestions.
I have a simple problem, I need to mount 2 storage media i.e., USB drive and SD Card that are connected to my system and copy a csv file from SD card to USB in the most fastest way possible (DMA may be?) but my current method is kinda very slow.
I am mounting SD Card, reading a 256kb buffer to RAM, unmounting SD card, mount USB, Write my buffer to USB. This way writing even 1MB file is taking like so many minutes. What's more elegant and fastest way I can do this?
I have idea about memory mapping of peripherals especially like QSPI flashes where you can read them like internal memory but something like this is possible? Need your ideas and suggestions.