hackpascal / ufprog

Universal Flash Programmer
60 stars 11 forks source link

Please add MX66L1G45J/MX25L25745G in next release. #3

Closed chrisdartw closed 9 months ago

chrisdartw commented 11 months ago

JEDEC ID: C2 20 1B Block/Sector size: 64KB 32KB 4KB Page size: 256B Max speed: 30MHz Protocol: SPI Read I/O: 1-1-1 Write I/O: 1-1-1

https://www.mxic.com.tw/Lists/Datasheet/Attachments/8944/MX66L1G45J,%203V,%201Gb,%20v1.0.pdf

JEDEC ID: C2 20 19 Block/Sector size: 64KB 32KB 4KB Page size: 256B Max speed: 30MHz Protocol: SPI Read I/O: 1-1-1 Write I/O: 1-1-1

https://www.mxic.com.tw/Lists/Datasheet/Attachments/8728/MX25L25745G,%203V,%20256Mb,%20v1.0.pdf

Thanks .

hackpascal commented 11 months ago

Currently I'm working on SPI-NAND support, and new SPI-NOR chip support will be added later after SPI-NAND. I've bought hunderds of flash chips to be supported for testing XD.

IMG_20230803_235438

hackpascal commented 9 months ago

Added in https://github.com/hackpascal/ufprog/commit/c11f0c7970938c44ca9837744c1770ab34df4b7e

hackpascal commented 9 months ago

I wasn't able to buy MX66L1G45J. Only a similar one, MX66L1G45G was bought. But they're almost identical. Here provides the test log:


Loaded controller plugin FTDI FT4222H (D2XX)
FT4222H-D2XX: Opened device with 'description': 'FT4222 A'
FT4222H-D2XX: Firmware version: 4
FT4222H-D2XX: Chip mode: 0
Opened interface device 'ft4222h' using driver 'ft4222h-d2xx'

Manufacturer:       Macronix
Part:               MX66L1G45G
Capacity:           128MB
Clock:              40MHz

[ Flash regular Read/Write/Erase test ]

1. Erase whole flash
Erasing flash at 0x0, size 0x8000000 ...
[========================================================================] 100%
Time used: 359.73s, speed: 364.37KB/s
Succeeded

2. Verifying if all data bytes are FFh after erase
Reading from flash at 0x0, size 0x8000000 ...
[========================================================================] 100%
Time used: 20.99s, speed: 6.10MB/s
Succeeded

3. Writing random pattern and verify
Writing to flash at 0x0, size 0x8000000 ...
[========================================================================] 100%
Time used: 375.49s, speed: 349.07KB/s
Succeeded

Verifying flash data at 0x0, size 0x8000000 ...
[========================================================================] 100%
Time used: 21.15s, speed: 6.05MB/s
Succeeded

4. Writing complementary pattern
Writing to flash at 0x0, size 0x8000000 ...
[========================================================================] 100%
Time used: 384.75s, speed: 340.66KB/s
Succeeded

5. Verify all zero data
Verifying flash data at 0x0, size 0x8000000 ...
[========================================================================] 100%
Time used: 21.16s, speed: 6.05MB/s
Succeeded

R/W test passed

[ Flash OTP Read/Write/Erase test skipped ]
[ Flash Write-protect test ]

Testing ALL
    Passed
Testing 07FF0000h - 07FFFFFFh
    Passed
Testing 07FE0000h - 07FFFFFFh
    Passed
Testing 07FC0000h - 07FFFFFFh
    Passed
Testing 07F80000h - 07FFFFFFh
    Passed
Testing 07F00000h - 07FFFFFFh
    Passed
Testing 07E00000h - 07FFFFFFh
    Passed
Testing 07C00000h - 07FFFFFFh
    Passed
Testing 07800000h - 07FFFFFFh
    Passed
Testing 07000000h - 07FFFFFFh
    Passed
Testing 06000000h - 07FFFFFFh
    Passed
Testing 04000000h - 07FFFFFFh
    Passed

[ Flash test finished ]