I would like to emulate a NAND Flash that I have with nandsim.
The NAND Fash that I want to emulate is a GD5F1GQ4UCYIG from GigaDevice.
Datasheet can be found here.
The problem is that the NAND Flash has only 3 ID Bytes. These 3 Bytes consist of 1 Manufacturer ID (0xC8) and 2 Device IDs (0xB1, 0x48 in my case). If I see this correctly nandsim either expects 2 ID Bytes or 4 ID Bytes as parameter, 3 ID Bytes doesn't seem to be a viable option. At least when I tried to use it with 3 ID Bytes
$ sudo modprobe nandsim first_id_byte=0xc8 second_id_byte=0xb1 third_id_byte=0x48
I got the following error message:
modprobe: ERROR: could not insert 'nandsim': Invalid argument
Is there any chance to emulate the NAND Flash from GigaDevice with it or do I have to look for something else? Or am I doing something else wrong?