# SNANDer **Repository Path**: wllis121/SNANDer ## Basic Information - **Project Name**: SNANDer - **Description**: 俄罗斯开源软件让CH341编程器支持8脚SPI-NAND FLASH - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: main - **Homepage**: https://www.right.com.cn/forum/thread-4058319-1-1.html - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2023-02-01 - **Last Updated**: 2023-02-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Spi NAND programmER v.1.0 by McMCC Usage: -h display this message -d disable internal ECC(use read and write page size + OOB size) -I ECC ignore errors(for read test only) -L print list support chips -i read the chip ID info -e erase chip(full or use with -a [-l]) -l manually set length -a
manually set address -w write chip with data from filename -r read chip and save data to filename -v verify after write on chip Examples: 1. Get info Flash. igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -i Spi NAND programmER v.1.0 by McMCC Found programmer device: Winchiphead (WCH) - CH341A Device revision is 3.0.4 spi_nand_probe: mfr_id = 0xef, dev_id = 0xaa Get Status Register 1: 0x81 Get Status Register 2: 0x18 Using Flash ECC. Detected SPI NAND Flash: WINBOND W25N01G, Flash Size: 128 MB igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ 2. Full erase flash with disable internal ECC check. Without OOB, page size 2112 bytes. igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -d -e Spi NAND programmER v.1.0 by McMCC Found programmer device: Winchiphead (WCH) - CH341A Device revision is 3.0.4 spi_nand_probe: mfr_id = 0xef, dev_id = 0xaa Get Status Register 1: 0x81 Get Status Register 2: 0x18 Disable Flash ECC. Detected SPI NAND Flash: WINBOND W25N01G, Flash Size: 128 MB ERASE: Set full erase chip! Erase addr = 0x0000000000000000, len = 0x0000000008400000 Status: OK igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ 3. Write and verify flash with disable internal ECC check. Without OOB, page size 2112 bytes. igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$ ./SNANDer -d -v -w ecc_1Gb_2K_64_flashimage_rfb1_ac2600.bin Spi NAND programmER v.1.0 by McMCC Found programmer device: Winchiphead (WCH) - CH341A Device revision is 3.0.4 spi_nand_probe: mfr_id = 0xef, dev_id = 0xaa Get Status Register 1: 0x81 Get Status Register 2: 0x08 Disable Flash ECC. Detected SPI NAND Flash: WINBOND W25N01G, Flash Size: 128 MB WRITE: Write addr = 0x0000000000000000, len = 0x0000000001080000 snand_erase_write: offs:0, count:1080000 .......................................................................................................... .......................................................................................................... .......................................................................................................... .......................................................................................................... ........................................................................................................Done! Status: OK VERIFY: Read addr = 0x0000000000000000, len = 0x0000000001080000 Status: OK igor@mcmcc-GL553VE:~/Soft/SNANDer-bin/Linux$