Hello.
Im trying to program a AT45DB321E SPI-Flash with J-Flash SPI.
I use v7.96 and v8.18, but it's not possible to program the chip.
Autodetect shows: AT45DQ321 with Flash ID: 0x1F 27 01
Connected is a: AT45DB321E with Flash ID: 0x1F 27 01 (01 00)
After autoconnect, the page size was: 256 Bytes and 0x4000 Numpages.
With this settings, a Erase is not possible, so i change the settings to: page size = 512 Byte, 0x2000 Numpages.
After this, J-Flash-SPI v8.18 can erase the chip (readback show's: all data filled with 0xFF)
The problem is: if i try to program&verify my data to the flash, wrong data (99.9% of the data in AT45DB321 is: 0xFF) are in the flash, and a error message is shown:
Verification failed @ address 0x00000000 (Read: 0x00, Expected: 0x42)
Failed to verify target.
Failed to program and verify target.
Same error, if i use the autodetect settings with 256 Byte Page!
I try to write:
0x42 0x46 0x53 0x5F .... (1MB data contents)
Readback after progam&verfify shows:
0000_0000: 0x00 0xFF 0xFF 0xFF ...... 0xFF
0000_0010: 0xFF 0xFF 0xFF 0xFF ...... 0xFF
and so on until 0x000001FF
0000_0200: 0x00 0xFF 0xFF 0xFF ...... 0xFF
0000_0210: 0x00 0xFF 0xFF 0xFF ...... 0xFF
0000_0220: 0xFF 0xFF 0xFF 0xFF ...... 0xFF
and so on until 0x0000040F
I tested it with 30MHz, 8MHz, 300kHz : always the same error.
The SPI-Lines are ok: level is 0 .. 3.3V @ Clock, CS, DI, DO
Reset is pulled to 3.3V, WP is pulled to 3.3V
Power supply is stable @ 3.3V
So my question: is it possible to program a AT45DB321E SPI-Flash with J-Flash-SPI
and what settings should be used?
attachment: read-Back from the chip (with wrong data)
Im trying to program a AT45DB321E SPI-Flash with J-Flash SPI.
I use v7.96 and v8.18, but it's not possible to program the chip.
Autodetect shows: AT45DQ321 with Flash ID: 0x1F 27 01
Connected is a: AT45DB321E with Flash ID: 0x1F 27 01 (01 00)
After autoconnect, the page size was: 256 Bytes and 0x4000 Numpages.
With this settings, a Erase is not possible, so i change the settings to: page size = 512 Byte, 0x2000 Numpages.
After this, J-Flash-SPI v8.18 can erase the chip (readback show's: all data filled with 0xFF)
The problem is: if i try to program&verify my data to the flash, wrong data (99.9% of the data in AT45DB321 is: 0xFF) are in the flash, and a error message is shown:
Verification failed @ address 0x00000000 (Read: 0x00, Expected: 0x42)
Failed to verify target.
Failed to program and verify target.
Same error, if i use the autodetect settings with 256 Byte Page!
I try to write:
0x42 0x46 0x53 0x5F .... (1MB data contents)
Readback after progam&verfify shows:
0000_0000: 0x00 0xFF 0xFF 0xFF ...... 0xFF
0000_0010: 0xFF 0xFF 0xFF 0xFF ...... 0xFF
and so on until 0x000001FF
0000_0200: 0x00 0xFF 0xFF 0xFF ...... 0xFF
0000_0210: 0x00 0xFF 0xFF 0xFF ...... 0xFF
0000_0220: 0xFF 0xFF 0xFF 0xFF ...... 0xFF
and so on until 0x0000040F
I tested it with 30MHz, 8MHz, 300kHz : always the same error.
The SPI-Lines are ok: level is 0 .. 3.3V @ Clock, CS, DI, DO
Reset is pulled to 3.3V, WP is pulled to 3.3V
Power supply is stable @ 3.3V
So my question: is it possible to program a AT45DB321E SPI-Flash with J-Flash-SPI
and what settings should be used?
attachment: read-Back from the chip (with wrong data)
The post was edited 1 time, last by Forster ().