Hi
The file system and parameter system have been very connected due to the fact that the parameter system needs some of the same routines as the file system uses. There is however a very new service pack for the Coldfire where this has been changed:
- firstly the parameter system doesn't have to be a part of the file system and so can occupy an area in memory separate from the file system.
- secondly the file system can be disabled, but the necessary routines as required by the parameter system are still supplied.
You could therefore look at the SP8 to see whether it is suitable. You can disable
FLASH_FILE_SYSTEM and keep
USE_PARAMETER_BLOCK active.
The parameter block is then set to the end of FLASH:
#define PARAMETER_BLOCK_START 0x3f000 (see app_hw_m5223x.h).
Note that the FLASH has a granularity of 2k and this is for swap block support and so it is 4k from the end of the 256k FLASH boundary (assuming 256K FLASH device).
You may also be able to do much the same with your present version by defining the file system size to be 0 (
FILE_SYSTEM_SIZE), which will still link in all routines but not actually occupy space. The file system can then also be set to the desired location since the parameter blocks are automatically at the start of the file system in that version.
Regards
Mark
PS. SP8 is available at:
http://www.utasker.com/software/softwareV1.3.html