hugebird
发表于 2008-11-7 10:36:49
这些e文和第1和最后扇区加密无关。S29GL128N 如果是56pin TSOP封装的RESET#脚是14脚。S29GL-N系列的第1和最后一个扇区没有特殊保护,用户可以直接刷的。S29GL-M系列的第1和最后一个扇区需要在Reset#加高压才可以刷写。e8现有的几款6358的猫用的都是N系列16Mflash,用JTAG刷应该不用特殊处理,还是多试几次手工复位吧。
天涯
发表于 2008-11-7 18:14:11
楼上大大,我的FLASH芯片是S29GL128P的(RG100A-AA),不是S29GL128N的.
就因为正好和大亚用完全一模一样,所以刷好一个我就换到DB120上去了,想把这台刷成WAG325N,
我查看的资料全是P系列的,可惜我的E文不行,这个确定是在RESET#加高电压不?如果确定,我直接从电源口飞线过去就可以得12V的高电压了.或者还是加3.3V的电压?
昨天我手工复位好几次,仍然是写不进去.
天涯
发表于 2008-11-7 19:47:39
这个是我正在用的FLASH型号
2. If WP# = VIL, on the outermost sector remains protected. If WP# = VIH, the outermost sector is unprotected. All sectors are unprotected when shipped from the factory (The Secured Silicon Sector can be factory protected depending on version ordered.)
我看PCB上接WP#(16脚)串了一个10K的贴片电阻),是不是把电阻断开就能产生一个VIH,这样这个FLASH就总是处于开锁状态.?
谢谢~
-------------------------------------------------------------------------------------------------------------------------
这个是M系列的型号.
大大讲的RESET#(14)加VID=11.5-12.5,我看图猜大至意思是临时解锁,写好后,移除电压后,又自动恢复保护状态?是这样理解吗?
[ 本帖最后由 天涯 于 2008-11-7 12:14 编辑 ]
oneliu
发表于 2008-11-7 20:24:31
都是强人!!!!!!!!!!!!!
hugebird
发表于 2008-11-7 20:34:32
S29GL-P系列的扇区写保护需要通过软件来解锁,硬件无法实现的,datasheet在第42页。 S29GL-M系列Reset#加12V可以硬件解保护锁。 S29GL-N系列没有永久写保护。
对于软件设置写保护的,可以改BRJTAG的代码,通过pracc模式控制6538对flash解锁。不过这个需要熟悉mips32的汇编语言,不是很好弄的。
原帖由 天涯 于 2008-11-7 11:47 发表 https://www.chinadsl.net/images/common/back.gif
这个是我正在用的FLASH型号
14976
2. If WP# = VIL, on the outermost sector remains protected. If WP# = VIH, the outermost sector is unprotected. All sectors are unprotected when shipped from the facto ...
[ 本帖最后由 hugebird 于 2008-11-7 13:00 编辑 ]
天涯
发表于 2008-11-7 21:06:37
1.大大,我的是P系列的,是不是和M系列一样,可以往RESET#脚加临时的高电压(ACC 12V),刷好后断开. ? 因为我看P系列的DATASHEET文中没有象M系列中的临时解锁的内容.不知道这样理解会不会烧设备?
2.所以我想直接把WP#断开,就是把那个10K的电阻拿掉,这样是不是产生逻辑高的电平? 因为我看到的P系列的那个图,好象只有两种状态下用这个信号(一个是VHH,一个是H,其余都是X)
3.如果BRJTAG某个语句段无法设置WP#状态,会不会无法执行接下去的刷写等等,我怕我把电阻弄下来了,弄不回去,那个电阻好小.
------------------------------------------------
等会我想试一下,
1>直接把RESET#加12V,如果能写上就OK,否的话试第2
2>去掉RESET#的12V飞线,直接拿掉那个WP#线上的10K电阻,断开这个脚的连接,再刷.(或是这个10K的电阻本身就是上拉电阻?) 偶对电线知识是一窍都不通,只能依葫芦画瓢 汗水!~
如果还是不成功,我就只有把它当作收集品的份了
[ 本帖最后由 天涯 于 2008-11-7 13:56 编辑 ]
天涯
发表于 2008-11-7 21:11:04
我刚回贴,又看到大大写的新内容.看样子,我这个设备是没有折了.只能忘记它,
"忘记她,等于忘一切,等于将....." 歌词不记得了.
ljtcom
发表于 2008-11-7 21:24:15
啥时候能出web刷就好了。。。
天涯
发表于 2008-11-7 21:37:52
DATASHEET文P43
8.6 Hardware Data Protection Methods
The device offers two main types of data protection at the sector level via hardware control:
􀂄 When WP#/ACC is at VIL, the either the highest or lowest sector is locked (device specific).
There are additional methods by which intended or accidental erasure of any sectors can be prevented via
hardware means. The following subsections describes these methods:
8.6.1 WP#/ACC Method
The Write Protect feature provides a hardware method of protecting one outermost sector. This function is
provided by the WP#/ACC pin and overrides the previously discussed Sector Protection/Unprotection
method.
If the system asserts VIL on the WP#/ACC pin, the device disables program and erase functions in the
highest or lowest sector independently of whether the sector was protected or unprotected using the method
described in "Advanced Sector Protection/Unprotection" section.
If the system asserts VIH on the WP#/ACC pin, the device reverts to whether the boot sectors were last set to
be protected or unprotected. That is, sector protection or unprotection for these sectors depends on whether
they were last protected or unprotected.
Note that the WP#/ACC pin must not be left floating or unconnected as inconsistent behavior of the device
may result.
The WP#/ACC pin must be held stable during a command sequence execution.
Note
If WP#/ACC is at VIL when the device is in the standby mode, the maximum input load current is increased.
See Table 11.6 on page 50 for details.
hugebird
发表于 2008-11-7 21:43:46
WP#信号所有的flash应该都是通用的,所以软件会处理好的。 P,M,N三个系列的spansion芯片的有不同的扇区保护方式,可能最直接的方法是用N系列的芯片代换上用JTAG刷,也许是可行的。
原帖由 天涯 于 2008-11-7 13:06 发表 https://www.chinadsl.net/images/common/back.gif
1.大大,我的是P系列的,是不是和M系列一样,可以往RESET#脚加临时的高电压(ACC 12V),刷好后断开. ? 因为我看P系列的DATASHEET文中没有象M系列中的临时解锁的内容.不知道这样理解会不会烧设备?
2.所以我想直接把WP#断 ...