USB JTAG  

Go Back   USB JTAG > General > News

Reply
 
Thread Tools Display Modes
  #31  
Old 09-22-2013, 08:47 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,879
Default

Quote:
Originally Posted by slugworth View Post
I added the flash manually as per the eeprom video but the flash won't program.
Write protected?
How to you connect WP pin? Check the datasheet. Are you sure you cannot erase any sector of them? If you can erase some of them but not all of them then the definition is not right.
Reply With Quote
  #32  
Old 09-22-2013, 09:20 AM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

I have pin 3 connected to 3.3v with a 100 ohm resistor.
I cut that and it didn't make any difference.
I tied it to gnd,no difference.
I think the chip has some kind of added software write protection that has to be dealt with.
Reply With Quote
  #33  
Old 09-22-2013, 09:32 AM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

http://www.scribd.com/doc/121693637/...p20118818581-2
Reply With Quote
  #34  
Old 09-22-2013, 10:24 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,879
Default

Quote:
Originally Posted by slugworth View Post
You also need to post your def in xml.
Reply With Quote
  #35  
Old 09-22-2013, 10:30 AM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

Code:
<flash>
			<id1>0x1C</id1>
			<id2>0x30</id2>
			<id3>0x17</id3>
			<name>25Q64</name>
			<size>0x800000</size>
			<protocol>0</protocol>
			<block>
				<secnum>128</secnum>
				<secsize>0x10000</secsize>
			</block>
		</flash>
Reply With Quote
  #36  
Old 09-22-2013, 11:31 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,879
Default

The flash definition looks OK to me. However how do you connect WP and HOLD can be the issue.
Since you are not programming it ISP pin, each pin has to be properly connected.
WP# needs to by pull high.

Quote:
usbjtagnt pin 11 to pin 1 on chip,5 to 2,3 to 5,9 to 6,1 to 7,2 to gnd
I do not see pin 3 of chip is connected anywhere.
Reply With Quote
  #37  
Old 09-22-2013, 11:45 AM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

pin 3 of the chip is connected to pin 8 via 100 ohm resistor.
I tried all speeds and even a different pc.
That chip has no hold(pin 7) the diagram says n/c
Reply With Quote
  #38  
Old 09-22-2013, 01:37 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,879
Default

I am in IRC chat now.
Reply With Quote
  #39  
Old 09-23-2013, 09:12 AM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

I am going to make another prototype board with a mx25l3205,and see if I can program that.It is a 4meg spi
Reply With Quote
  #40  
Old 09-23-2013, 12:47 PM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

I was able to program the 4meg spi flash,but that is too small for my sat receiver.
Pin 1 out of the usbjtagnt was reading 1.3volts,which is too low when connected to pin 7 of the flash(hold).
I had to disconnect and connect pin7 high using a resistor.
If I didn't do that the id of the flash said 00,00,00
Reply With Quote
  #41  
Old 09-24-2013, 05:41 PM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Wink better

I took the interface apart when I programmed the 4meg and put it back together tonite for the 8meg and was able to program it.
I left pin7 floating instead of tieing it high.Pin 3 was tied high.I resoldered each pin of the chip to the proto board again.
Reply With Quote
  #42  
Old 09-24-2013, 05:58 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,879
Default

Quote:
Originally Posted by slugworth View Post
I took the interface apart when I programmed the 4meg and put it back together tonite for the 8meg and was able to program it.
I left pin7 floating instead of tieing it high.Pin 3 was tied high.I resoldered each pin of the chip to the proto board again.
Thanks for report back your success!
Reply With Quote
  #43  
Old 09-24-2013, 06:24 PM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Wink

I soldered the chip back into the sat receiver and it works.
next project is programming a 24c16 with the usbjtagnt
I believe it only uses pins 5 and 6 on the chip
1-4 are normally ground,pin 8 is power
Reply With Quote
  #44  
Old 09-24-2013, 06:25 PM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

Quote:
Originally Posted by usbbdm View Post
Thanks for report back your success!
I was sad because nobody else on earth had trouble programming the en25q64 but me.Happy now.
Reply With Quote
  #45  
Old 09-24-2013, 06:33 PM
slugworth slugworth is offline
Senior Member
 
Join Date: Feb 2008
Posts: 271
Default

one thing I noticed on the defective setup,the bar graph on the bottom of the program moved rapidly during the erase cycle.
On the good setup it takes about 7 or 8 seconds,so I knew just by looking at that it was actually erasing the chip.The setup is very finicky about the 3.3v
It has to be exactly 3.3v or you get strange results.That was problem #1 when I was using a battery pack for power.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 04:30 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.