Hi I try to use RL-FlashFS for sd card ,but i do not know the base address? who can help me ? how to config following micro. i found when i init the file system ,i need two parameter( fs_Init (_BASE_ADR, _CPU_CLK))
// <o>Target device Base address <0x0-0xFFFFF000:0x1000> // Define the target device Base address. // Default: 0x80000000 #define FL_BADR 0x08000000// 0x80000000
// <o>Device Size in bytes <0x10000-0xFFFFF000:0x8000> // Define the size of Flash device // Default: 0x100000 (1MB) #define FL_SIZE 0x20000 // 0x0200000
The base address and device size is used for Embedded Flash or RAM. If you are using only SD card, those parameters are not required. Simply initialize the File system with finit(). Take an SD_File example from the Boards folder as a reference.
Franc
thanks for replying, but my FalshFs for SD does work yet ,it always initializes failed, my platform is stm32 with a RTX os .