s25fl256 flash ic

Here we discuss the JTAG on platforms. CPU,CPLD etc.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Program also seems to work. However my setup is using the power on the JTAG port and has some issue.
Can you issue these command and see if you have the boot sector erased.

w 6
w d8 0 0 0 0
wait a while
w 5 r 3

Then detect again and see if you have the boot sector erased.
sangram
Junior Member
Posts: 20
Joined: Thu Feb 13, 2014 8:33 pm
Location: i dont know,
Contact:

Post by sangram »

not erase,

Copyright (C) 2010-2015
USB JTAG NT 0.71
Target: 25FL256
-flshdct 0
Found Address= 00000000 FL256SAIF00
-w 6
-w d8 0 0 0 0
-w 5 r 3
Eco :020202
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

How do you connect the flash? Where do you get power from? How do you conect hold and WP?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Try command
w dc 0 0 0 0 (replace the w d8 0 0 0 0).


w 6
w dc 0 0 0 0
w 5 r 4
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

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".
deepakuklana
Junior Member
Posts: 37
Joined: Wed Nov 23, 2011 6:32 pm

Post by deepakuklana »

dir sir,

good work , plz try to solve this issue

you confirm that this flash work good on GQ-5X SPI Flash Programmer.


thanks
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

deepakuklana wrote:dir sir,

good work , plz try to solve this issue

you confirm that this flash work good on GQ-5X SPI Flash Programmer.


thanks
Yes. Same command is used. Maybe if we were using ISP it will work.
deepakuklana
Junior Member
Posts: 37
Joined: Wed Nov 23, 2011 6:32 pm

Post by deepakuklana »

dear sir ,

i hope you will be success in usb jtagnt for erase and writing .

thanks
sangram
Junior Member
Posts: 20
Joined: Thu Feb 13, 2014 8:33 pm
Location: i dont know,
Contact:

Post by sangram »

deepakuklana wrote:dear sir ,

i hope you will be success in usb jtagnt for erase and writing .

thanks
you are write bro...,
deepakuklana
Junior Member
Posts: 37
Joined: Wed Nov 23, 2011 6:32 pm

Post by deepakuklana »

hi sir ,

any update ,


plz solve problem
deepakuklana
Junior Member
Posts: 37
Joined: Wed Nov 23, 2011 6:32 pm

Post by deepakuklana »

dear sir ,

can you tell you are use GQ-5X SPI Flash Programmer for 24bga flash with adapter or without adapter .


thanks
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

deepakuklana wrote:dear sir ,

can you tell you are use GQ-5X SPI Flash Programmer for 24bga flash with adapter or without adapter .


thanks
I used it on 16 pin.Not 24 pin.
deepakuklana
Junior Member
Posts: 37
Joined: Wed Nov 23, 2011 6:32 pm

Post by deepakuklana »

dear sir,


ok i am under stand you use not 24bga flash aspect to 16 pin tops.


any update . regarding s25fl256s
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

deepakuklana wrote:dear sir,


ok i am under stand you use not 24bga flash aspect to 16 pin tops.


any update . regarding s25fl256s
Not yet. I will resume this test latter this week. If there is an update I will make a post and very likely to be a new release of software.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests