s25fl256 flash ic
-
- Junior Member
- Posts: 8981
- Joined: Mon Jul 18, 2005 9:33 pm
-
- Junior Member
- Posts: 20
- Joined: Thu Feb 13, 2014 8:33 pm
- Location: i dont know,
- Contact:
-
- Junior Member
- Posts: 8981
- Joined: Mon Jul 18, 2005 9:33 pm
I see your connection and looks good.
I have studied the datasheet and cannot explain why the erase command is not working. I can confirm that program DOES work.
The erase command works sometime but not always. I have tried the chip on another programmer I build (GQ-5X on mcumall) and erase/program works fine and fast. This is using the same command.
To initialize the flash command 17 80 needs to send to the flash to use 4 byte address.
Then 6 is written to enable write.
d8 0 0 0 0 is to erase sector start from address 00000000.
I will try to change my power supply. The power on USB JTAG NT is not exactly 3.3v.
Can you could study the datasheet and see if I am missing anything on "erase".
I have studied the datasheet and cannot explain why the erase command is not working. I can confirm that program DOES work.
The erase command works sometime but not always. I have tried the chip on another programmer I build (GQ-5X on mcumall) and erase/program works fine and fast. This is using the same command.
To initialize the flash command 17 80 needs to send to the flash to use 4 byte address.
Then 6 is written to enable write.
d8 0 0 0 0 is to erase sector start from address 00000000.
I will try to change my power supply. The power on USB JTAG NT is not exactly 3.3v.
Can you could study the datasheet and see if I am missing anything on "erase".
-
- Junior Member
- Posts: 37
- Joined: Wed Nov 23, 2011 6:32 pm
-
- Junior Member
- Posts: 37
- Joined: Wed Nov 23, 2011 6:32 pm
-
- Junior Member
- Posts: 20
- Joined: Thu Feb 13, 2014 8:33 pm
- Location: i dont know,
- Contact:
-
- Junior Member
- Posts: 37
- Joined: Wed Nov 23, 2011 6:32 pm
-
- Junior Member
- Posts: 37
- Joined: Wed Nov 23, 2011 6:32 pm
-
- Junior Member
- Posts: 37
- Joined: Wed Nov 23, 2011 6:32 pm
-
- Junior Member
- Posts: 8981
- Joined: Mon Jul 18, 2005 9:33 pm
-
- Junior Member
- Posts: 8981
- Joined: Mon Jul 18, 2005 9:33 pm
I think this is related to the timing. NT uses too much optimization for speed for this chip. I will add delay while erase and see if it works. If it does I will release it.
In the mean time I have many request to fix the Windows 8.1 driver. I will investigate how Microsoft solve their own drive issue on Windows 8.1 and possible future Windows versions.
In the mean time I have many request to fix the Windows 8.1 driver. I will investigate how Microsoft solve their own drive issue on Windows 8.1 and possible future Windows versions.
Who is online
Users browsing this forum: No registered users and 1 guest