Hello DSPC
I want to read data from a FlashROM using FFS on BSP.
Is there any sample code for executing the functions in FileSystemAPI.c?
When I tried to execute aweOpenFile() with the following arguments, the function registered in "cbFlashRead" of the FFS instance was repeatedly executed and I could not proceed.
Instance initialization
-> "AWE Core 8 Integration Guide" for reference.
FFS Container
-> Register one "test.wav" in WaveLibraryGenerator.exe and write it to FlsahROM.
Argument of aweOpenFile()
->
UINT32 nFileAttribute = 0; /* Read Mode */
UINT32 fileName[14] = { /* test.wav */
0x74736574,
0x7661772E,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
0x00000000,
};
UINT32 fileLen;
ret = aweOpenFile(nFileAttribute, fileName, &fileLen);
Best regards.
naomichi
3:31pm
Hi Naomichi,
I have emailed you on the side about your question to get more details about it.
Thank you,
Karishma