If I transfer RAW samples from SD card to the flash chip, then use the ListFiles examples to read what is on the flash chip it serial prints the sample name and file size.
My question is how to determine the beginning address of each sample on the flash chip?
It is my understanding that the flash allocation table takes up the first 4096 byte addresses of the flash chip.
So when I do a ListFiles on flash chip, is it correct that the first sample/or file listed has a begin address of 4096, while the second file listed will have a start address of 4096 + length of first sample?
Is there any easy way to serial print the start address of each file along with the file size when doing ListFiles example?
I'm wanting to hardcode the start and length of each sample into code, to eliminate the use of filenames to look up this information at sample Play time.
My question is how to determine the beginning address of each sample on the flash chip?
It is my understanding that the flash allocation table takes up the first 4096 byte addresses of the flash chip.
So when I do a ListFiles on flash chip, is it correct that the first sample/or file listed has a begin address of 4096, while the second file listed will have a start address of 4096 + length of first sample?
Is there any easy way to serial print the start address of each file along with the file size when doing ListFiles example?
I'm wanting to hardcode the start and length of each sample into code, to eliminate the use of filenames to look up this information at sample Play time.