This is an emulator of a storage device. It can be used to analyze how an implemented file system works. An example of how to handle FATfs is included. Also the installation is kept as simple as possible.
Currently this software has only been tested in Ubuntu Linux.
- Libraries needed
- libunwind
- External programs required:
- xxd
- ddd
If libunwind is not already installed to your system you have 2 options:
- install it from source
- install it via package manager (only for unix like systems)
install it via package manager:
For debianoids: type inside a terminal
apt-get install libunwind8, libunwind8-devFor making all files:
make clean; make all; All executables are inside build folder.
For executing the executables directly type in terminal:
make clean; make run;For debuging a filesystem directly type in terminal:
make clean; make run;During debug, watch as the json file device_action.json changes due to filesystem actions and how the raw device memory also changes in device.dat. Use the command below to see the hex file of memory any time:
xxd -b device.dat > device.hex- Asynchronous operation
- qemu integration
- xxd equivalent