| |
|
|
|
| PA6488 Developer's Guide - EFSL File System |
| | |
| Why |
The improved PA6488 web interface need to support multiple files, software upgrade and other tests are also benefit from it.
As file system related tasks are not performance critical, we have decided to use the open source EFSL.
Instead of using it with SD card as its original purpose, we are using it with a small part of the DDR2 memory on PA6488 device.
|
| | |
| How |
The official EFSL 0.2.8 document can also be downloaded here. PA6488 users need to read its "EFSL Functions" part to learn how to use its functions.
Include pa6488\include\efsl.h in source fils need to call EFSL functions.
Compiled efsl.lib is in pa6488\lib, it can also be recompiled from the API source code.
The most easy to read example is pa6488\test\testg729ab.c, other examples can be found in tftp.c, function.c, testjpeg.c ect.
|
| | |
| Details |
EFSL is released under the LGPL license, we have included its source code with all our changes in PA6488 API under pa6488\efsl:
Added HW_ENDPOINT_PA6488_DDR2 define in config.h and changed related settings based on PA6488 features, disabled time functions.
In types.h, changed esint8 typedef to 16-bit for better performance.
In plibc.h, restored EFSL's replacements of common c library functions for better performance.
Added pa6488_ddr2.h and pa6488_ddr2.c for PA6488 basic DDR2 memory read and write functions, and faked a boot sector MBR necessary for FAT system.
In debug.h, use DebugPrintf() to report all message via UDP debug.
All "unsigned long" used in .c files changed to "euint32".
|
|