Skip to content

C를 이용해 SSD의 read, write를 구현하고 shell을 자체 제작해 테스트하는 프로젝트입니다.

Notifications You must be signed in to change notification settings

woodong11/C_Nand_Flash_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C_Nand_Flash_Project

C를 이용해 SSD의 read, write를 구현하고 shell을 자체 제작해 테스트하는 프로젝트입니다. (SSAFY 수업 프로젝트)

Project Goal

image
SSD에서 controller가 하는 역할을 가상의 C프로그래밍으로 구현하고, NAND Flash는 nand.txt로 대체합니다.
SSD에서 읽어온 값은 result.txt에 저장합니다.
Test Shell에서 SSD 동작을 테스트합니다.
LBA(논리 블록 주소)는 4byte, SSD총 용량은 400byte로 가정합니다.
데이터는 32bit unsigned 16진수로 저장됩니다.


How to build

environment: Ubuntu20.04 (GCC compiler, bash shell)

make workspace

mkdir ~/ws
cd ~/ws
git clone https://github.com/woodong11/C_Nand_Flash_Project.git

build

cd ~/ws/C_Nand_Flash_Project
make -j4

How to run

run project

./test_shell

then, SSD_shell will run.

commands
write write to SSD       e.g. write 3 0xAAAABBBB

read read specific LBA       e.g. read 3

fullwrite write whole SSD       e.g. fullwrite 0xAAAABBBB

fullread read whole SSD       e.g. fullread

exit shell terminate       e.g. exit

help show commands       e.g. help

About

C를 이용해 SSD의 read, write를 구현하고 shell을 자체 제작해 테스트하는 프로젝트입니다.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published