Winbond 25x16vsig 16 Mbit (2MB) SPI Flash

Topics about unsupported flash in here. Also please go here regularly to update your flash.def
Locked
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Winbond 25x16vsig 16 Mbit (2MB) SPI Flash

Post by noip »

Hi all!

I've got a Cisco EPC2100r3 modem, it comes with little 8-pin serial flash chip from winbond. The modem comes with 8-pin webstar layout jtag, my USBJTAG NT detects the CPU well, it's same as the 2100r2, BCM3349, but the flash is unknown to USBJTAG NT.

The flash chip is Winbond 25x16vsig, it's a 16 Mbit serial flash ic.

Here's the log:

Code: Select all

Copyright http://www.usbjtag.com 2008,2009,2010
USB JTAG NT 0.34a
-detect 
IDCODE 0334917F
Broadcom BCM3349
IMPCODE 00800904
EJTAG V1, V2.0
DMA supoorted
Unknown flash type!
Report these two value to http://www.usbjtag.com/vbforum 0411,002b
Modem's serial console log:

Code: Select all

Broadcom SPI Bootloader
Cache initialized

SA BootLoader Version: 2.1.7l_R4(S) Release Gnu spiboot reduced DDR drive
Build Date: Dec 26 2008
Build Time: 19:34:32
SPI flash ID 0xef3015, size 2MB, block size 64KB, write buffer 256, busy bit 1


 eCos - hal_diag_init
Init device '/dev/ttydiag'
Init tty channel: 803571a0
Init device '/dev/tty0'
Init tty channel: 803571c0
Init device '/dev/haldiag'
HAL/diag SERIAL init
Init device '/dev/ser0'
BCM 33XX SERIAL init - dev: 0.2
Set output buffer - buf: 0x80387a50 len: 2048
Set input buffer - buf: 0x80388250 len: 2048
BCM 33XX SERIAL config

Reading Permanent settings from non-vol...
Checksum for permanent settings:  0x7f1d83eb
Settings were read and verified.


Reading Dynamic settings from non-vol...
Checksum for dynamic settings:  0xf3a3
And the datasheet of the flash chip is here.
usbbdm
Junior Member
Posts: 8981
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Program SPI chip via JTAG port is not done. I am interest to add this support. Can you tell me where I can get one of those modems? Do not even try until you see I say it support JTAGSPI. The current 0.34b or even 0.35 will not have that support yet.

Another way is to use SPI program but you need to find the ISP pin. I am more interest to ad support on JTAG support. Searched eBay and cannot find this modem.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

I dont know where is the ISP pin, but i can confirm that not a frequent model. I also searched on the internet, i know a people here, he has a lot of this modems. There is no info on the net from the r3. The main difference from the r2 is, it has SPI flash, and the JTAG and Serial console port was rotated 180°. I can shot photos from the board, but i have only 3.2MP AF phone. How can i find the ISP pin? I can flash with method like moto 6120 SPI flashing?
usbbdm
Junior Member
Posts: 8981
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

noip wrote:I dont know where is the ISP pin, but i can confirm that not a frequent model. I also searched on the internet, i know a people here, he has a lot of this modems. There is no info on the net from the r3. The main difference from the r2 is, it has SPI flash, and the JTAG and Serial console port was rotated 180°. I can shot photos from the board, but i have only 3.2MP AF phone. How can i find the ISP pin? I can flash with method like moto 6120 SPI flashing?
Check the design of SB5101u and they should be similar.
http://www.usbjtag.com/jtagnt/modem/sb5101u.php
The same pin can be used as ISP. But I am more interested to add JTAG support to it. Anyway this modem should work same as SB5101u.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

Can i contribute? I can help in some things i think :)
usbbdm
Junior Member
Posts: 8981
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

noip wrote:Can i contribute? I can help in some things i think :)
Take a picture and I might be able to guess where is the ISP pin.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

Gallery with pics

Im thinking about the RAM dump. Thinking about, it is possible to write the ram contents. But can i just dump R2's ram and write onto R3, and run? :) Cause if i have a running code on the CPU, i may can write to flash. But not so easy to flash this monster, anyway. :)
usbbdm
Junior Member
Posts: 8981
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

I think ISP is either on Q104 orQ105. Similar to SB5102u. Shout two pin and you should be able to use SPI to program it.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

Can you draw it on the picture, please? Anyway, the flash part is not in the USBJTAG NT database, can i flash in this case? :) Thanks for the fast reply.
usbbdm
Junior Member
Posts: 8981
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

I am positive that Q104 is the one to use. Check
http://www.usbjtag.com/jtagnt/modem/sb5101u.php
It is almost 100% the same. The diagram is in the page.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

Thanks, i'll give a try today, and share the results with you.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

Right, i managed it to work, but as i mentioned before, here is a little problem with it.

Code: Select all

-flshdct 0 
 Unknown flash type!
 Report these two value to http://www.usbjtag.com/vbforum 00ef,0030
And here is a quote from the boot log:

Code: Select all

SPI flash ID 0x[b]ef30[/b]15, size 2MB, block size 64KB, write buffer 256, busy bit 1
It seems the connection is good, im happy for it. :)
usbbdm
Junior Member
Posts: 8981
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Go to tools and select new type.
Then select copy from and select 25FL0162A.

ID1 ef
id2 30
id3 15

Change the flash name and click OK.
This should add new flash to flash.xml. Backup your current flash.xml.
Restart the app and you should be able to use it. Backup first in case the flash def is not right.
noip
Junior Member
Posts: 21
Joined: Thu Nov 19, 2009 4:24 am
Location: Hungary
Contact:

Post by noip »

Thanks, mate! I can confirm, that this method works fine! After the flash added, it detected very well, and i flashed succesfully. Thank you for your help, i will send you a donate, for the fast help. You saved my life. :)
Locked

Who is online

Users browsing this forum: No registered users and 2 guests