CR4 Help Unknown flash type! Report these values

Newbie post here.
Post Reply
KevvKev
Junior Member
Posts: 22
Joined: Tue Oct 09, 2012 11:38 am

CR4 Help Unknown flash type! Report these values

Post by KevvKev »

-RESET 1
-R
-INIT
-GETRAM CODE
Time 00:00:04 (.916)
-SAVE CODE
C:/Users/DellXPS420/Desktop/Code.bin Saved
-GETRAM NVRAM
Time 00:00:00 (.616)
-SAVE NVRAM
C:/Users/DellXPS420/Desktop/NVRAM.bin Saved
-LDRAM NVRAM
C:/Users/DellXPS420/Desktop/NVRAM.bin loaded
-SETRAM NVRAM
-CMPRAM NVRAM
Time 00:00:00 (.615)
Compare data OK
-FLSHDCT CODE
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0098,00ce

-LDRAM CODE
C:/Users/DellXPS420/Desktop/Code.bin loaded
-PROGRAM CODE
Detect the flash type first!
reset

D0= 00000000 D1= FFFFFFFE D2= 00100008 D3= 00000040
D4= 00100040 D5= 00000000 D6= 00000044 D7= 00005555
A0= 00407D1C A1= 00EC4C92 A2= 004F0000 A3= 0040AAAA
A4= 00FFFA56 A5= 00405554 A6= 00EC4CA0 A7= 00200400

RPC = 00000460 PCC = FFFFFFFF SR = 00002710 USP = FFFFFFFF
SSP = 00200400 SFC = 00000005 DFC = 00000005 ATEMP= 00000005
FAR = 00EFFE0A VBR = 00000000

Ok here I go again with the dct2224's This time it's a CR4 This is what I get Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0098,00ce
If anyone can tell me what im doing wrong please do. And I did cut the c150.
justsomeguy
Junior Member
Posts: 1417
Joined: Wed Jan 28, 2009 4:01 pm

Post by justsomeguy »

i always have better luck setram nvram LAST...

but if you want to know where you went wrong here is where it is in what you typed...just read and you will realize what went wrong
live your life like a beer commericial
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

KevvKev wrote:-RESET 1
-R
-INIT
-GETRAM CODE
Time 00:00:04 (.916)
-SAVE CODE
C:/Users/DellXPS420/Desktop/Code.bin Saved
-GETRAM NVRAM
Time 00:00:00 (.616)
-SAVE NVRAM
C:/Users/DellXPS420/Desktop/NVRAM.bin Saved
-LDRAM NVRAM
C:/Users/DellXPS420/Desktop/NVRAM.bin loaded
-SETRAM NVRAM
-CMPRAM NVRAM
Time 00:00:00 (.615)
Compare data OK
-FLSHDCT CODE
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0098,00ce

-LDRAM CODE
C:/Users/DellXPS420/Desktop/Code.bin loaded
-PROGRAM CODE
Detect the flash type first!
reset

D0= 00000000 D1= FFFFFFFE D2= 00100008 D3= 00000040
D4= 00100040 D5= 00000000 D6= 00000044 D7= 00005555
A0= 00407D1C A1= 00EC4C92 A2= 004F0000 A3= 0040AAAA
A4= 00FFFA56 A5= 00405554 A6= 00EC4CA0 A7= 00200400

RPC = 00000460 PCC = FFFFFFFF SR = 00002710 USP = FFFFFFFF
SSP = 00200400 SFC = 00000005 DFC = 00000005 ATEMP= 00000005
FAR = 00EFFE0A VBR = 00000000

Ok here I go again with the dct2224's This time it's a CR4 This is what I get Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0098,00ce
If anyone can tell me what im doing wrong please do. And I did cut the c150.
Some old model of flash does not support CFI. In this case you need to modify the flash.xml.
This topic had been discussed before, however, still there are only few people know how to use it.
To define a new flash, you need to know the flash ID, protocol (AMD or Intel) and the segment definitions. All these should be able to find in the datasheet of flash.
Open the flash.xml and find one flash def that is similar to what you are using, do slightly modification and this should just work.
In your case you can detect the flash ID but the flash is not defined in the flash.xml. Try to see if you can figure out this by yourself.
Killswitch
Junior Member
Posts: 439
Joined: Tue Mar 23, 2010 6:12 am

Command Sequence

Post by Killswitch »

Yea, sure. Your Moderator Mr. Guy is spot on. Doing a Detect early in the sequence and a Setram Nvram at the tail end will bring the Roses. Find it almost impossible to believe that a Flash for one of the oldest yet solid pieces of hardware hasn't been ID'ed yet. I've seen the list and it's numerous. Kinda remarkable. 2224 and 2244's must've been a successful offering at the time. Mass production personnified.
CAPONE
Junior Member
Posts: 5011
Joined: Sat Dec 27, 2008 3:25 pm

Post by CAPONE »

USBBDM posted on this thread how to fix that problem.
READ POST #4

viewtopic.php?t=1726&highlight=0098
"If you give a man a fish you feed him for a day. If you teach a man to fish you feed him for a lifetime."
KevvKev
Junior Member
Posts: 22
Joined: Tue Oct 09, 2012 11:38 am

Post by KevvKev »

usbbdm wrote:Some old model of flash does not support CFI. In this case you need to modify the flash.xml.
This topic had been discussed before, however, still there are only few people know how to use it.
To define a new flash, you need to know the flash ID, protocol (AMD or Intel) and the segment definitions. All these should be able to find in the datasheet of flash.
Open the flash.xml and find one flash def that is similar to what you are using, do slightly modification and this should just work.
In your case you can detect the flash ID but the flash is not defined in the flash.xml. Try to see if you can figure out this by yourself.
Ok here I go I added This to XML Flash

</block>
</flash>
</flashs>
<id1>0x0098</id1>
<id2>0x00ce</id2>
<name>tc58fvb800</name>
<size>0x100000</size>
<protocol>1</protocol>
<block>
<secnum>8</secnum>
<secsize>0x2000</secsize>
<secnum>15</secnum>
<secsize>0x10000</secsize>
</block>
</flash>
</flashs>


and I get this

-reset 1
-R
-INIT
-LDRAM NVRAM
C:/Users/DellXPS420/Desktop/NVRAM.bin loaded
-SETRAM NVRAM
-CMPRAM NVRAM
Time 00:00:00 (.616)
Compare data OK
-FLSHDCT CODE
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0098,00ce

Im not afraid to fish for my self put I keep getting a tire..
justsomeguy
Junior Member
Posts: 1417
Joined: Wed Jan 28, 2009 4:01 pm

Post by justsomeguy »

it doesn't look like you loaded the code ? you just tried to write it?
live your life like a beer commericial
CAPONE
Junior Member
Posts: 5011
Joined: Sat Dec 27, 2008 3:25 pm

Post by CAPONE »

KevvKev wrote:Ok here I go I added This to XML Flash

</block>
</flash>
</flashs>
<id1>0x0098</id1>
<id2>0x00ce</id2>
<name>tc58fvb800</name>
<size>0x100000</size>
<protocol>1</protocol>
<block>
<secnum>8</secnum>
<secsize>0x2000</secsize>
<secnum>15</secnum>
<secsize>0x10000</secsize>
</block>
</flash>
</flashs>


and I get this

-reset 1
-R
-INIT
-LDRAM NVRAM
C:/Users/DellXPS420/Desktop/NVRAM.bin loaded
-SETRAM NVRAM
-CMPRAM NVRAM
Time 00:00:00 (.616)
Compare data OK
-FLSHDCT CODE
Unknown flash type!
Report these values http://www.usbjtag.com/vbforum 0098,00ce

Im not afraid to fish for my self put I keep getting a tire..
Your still getting the Error highlited in red. You won't be able to proceed UNTILL YOU SOLVE THAT PROBLEM.
"If you give a man a fish you feed him for a day. If you teach a man to fish you feed him for a lifetime."
merkin
Junior Member
Posts: 246
Joined: Thu Jun 28, 2007 8:49 pm

Post by merkin »

usbbdm wrote:This topic had been discussed before, however, still there are only few people know how to use it.
Judging by the responses, "few" might be overstated. Easier to just give the answers than read the untechnical responses that follow...

@kevvkev
Pretty damn close, but you messed up the flash xml delimiters. Also you have protocol "1" (intel), but similiar flash (TC58FVB160) in xml has "0" (AMD)

All you needed to add was this to xml.

Code: Select all

<flash>
<id1>0x98</id1>
<id2>0xce</id2>
<name>tc58fvb800</name>
<size>0x100000</size>
<protocol>0</protocol>
<block>
<secnum>8</secnum>
<secsize>0x2000</secsize>
<secnum>15</secnum>
<secsize>0x10000</secsize>
</block>
</flash>
I would try amd protocol first. ;)
Make sure to copy it right before </flashs> at the bottom of the xml.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

merkin wrote:Judging by the responses, "few" might be overstated. Easier to just give the answers than read the untechnical responses that follow...

@kevvkev
Pretty damn close, but you messed up the flash xml delimiters. Also you have protocol "1" (intel), but similiar flash (TC58FVB160) in xml has "0" (AMD)

All you needed to add was this to xml.

Code: Select all

<flash>
<id1>0x98</id1>
<id2>0xce</id2>
<name>tc58fvb800</name>
<size>0x100000</size>
<protocol>0</protocol>
<block>
<secnum>8</secnum>
<secsize>0x2000</secsize>
<secnum>15</secnum>
<secsize>0x10000</secsize>
</block>
</flash>
I would try amd protocol first. ;)
Make sure to copy it right before </flashs> at the bottom of the xml.
If you can find the datasheet of the flash, then you should tell if it uses AMD or Intel programming protocol.
If the commands at the address of 555 and AAA then it is AMD protocol.
KevvKev
Junior Member
Posts: 22
Joined: Tue Oct 09, 2012 11:38 am

Post by KevvKev »

merkin wrote:Judging by the responses, "few" might be overstated. Easier to just give the answers than read the untechnical responses that follow...

@kevvkev
Pretty damn close, but you messed up the flash xml delimiters. Also you have protocol "1" (intel), but similiar flash (TC58FVB160) in xml has "0" (AMD)

All you needed to add was this to xml.

Code: Select all

<flash>
<id1>0x98</id1>
<id2>0xce</id2>
<name>tc58fvb800</name>
<size>0x100000</size>
<protocol>0</protocol>
<block>
<secnum>8</secnum>
<secsize>0x2000</secsize>
<secnum>15</secnum>
<secsize>0x10000</secsize>
</block>
</flash>
I would try amd protocol first. ;)
Make sure to copy it right before </flashs> at the bottom of the xml.
Ok guy's first let me say Thanks....... @ first I was like ohhh S...t, but I gave it a shot and Nada Zip. went fishing and got a tire again. And was going to give up and sell this box as it was, But i throw the rod back in again and DAMMMMM I got a Fish... I paid attention close attention to what Merkin usbbdm and CAPONE had to say about this Issue. There is one thing I willl be needing to learn if this happens again and I will be PMing Merkin about it. By the way it is a 1 (intel)

Thanks again Guy's Box is testing very well.
merkin
Junior Member
Posts: 246
Joined: Thu Jun 28, 2007 8:49 pm

Post by merkin »

usbbdm wrote:If the commands at the address of 555 and AAA then it is AMD protocol.
According to datasheet its AMD.
http://pdf1.alldatasheet.com/datasheet- ... B800F.html
Why does NT detect this flash with intel algorithm?

@kevvkev
The answers to your questions are on the first three pages of datasheet. See if you can figure it out first. :)

Before flash.xml, it was flash.def. The syntax is different. But now NT supports CFI, so its irrelevant if the flash is CFI compatible.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Software does not detect the intel protocol (it does not use CFI). It is defined in flash.xml. In this case you need to modify it to be AMD.
Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests