Feature: uC/FS Virtual RAMDisk Displayed on Serial Port
This feature will test the RAMDisk demo, which allows the user to see an internal storage mean with the
details of the storage capacity, such as: type of file system, volume size, manufacturer ID, Block Size,
Clock Speed, and many more. This is displayed using the Terminal window through serial port. If the
serial configuration has not been available in this project, then this can also be seen using the IDE’s
internal Terminal I/O window, using the ‘printf’ command.
To test this feature, the following configuration must be set in “app_cfg.h”
* MODULE DECLARATIONS
********************************************************************************
#define APP_CFG_FS_EN DEF_ENABLED
* FS CONFIGURATION
********************************************************************************
#define APP_CFG_FS_IDE_EN DEF_DISABLED
#define APP_CFG_FS_MSC_EN DEF_DISABLED
#define APP_CFG_FS_NAND_EN DEF_DISABLED
#define APP_CFG_FS_NOR_EN DEF_DISABLED
#define APP_CFG_FS_RAM_EN DEF_ENABLED
#define APP_CFG_FS_SD_EN DEF_DISABLED
#define APP_CFG_FS_SD_CARD_EN DEF_DISABLED
Compile the project
To display the contents of the RAMDisk
+ Setup the Serial port connection and start running the serial port
Use PuTTY, HyperTerminal, or any other program that is able to display Serial
Port information.
Com# Channel/ Serial Line: COM4
Baud Rate: 115200
- This value can usually be found in “app.c” inside the Serial
Initialization function.
If using HyperTerminal
- Data Bits: 8
- Parity: None
- Stop Bits: 1
- Flow Control: None
The figures below are shown using PuTTY.
Download and Run the project
The Serial port will display the following information if the RAMDisk is correctly installed.