| Author |  Topic  |  | 
              
                | GQ5XSupport
      
 
                104 Posts | 
                    
                      |  Posted - 07/03/2017 :  09:33:26   
 |  
                      | I got quite a lot of questions about "this chip is not supported". In general, all the 48 pin NAND chip should be supported. If it cannot be detected, it is simply a matter of add one line in NAND.txt file.
 Here I will give an example on how to add this line.
 Suppose we want to add chip K9GAG08U0E. Google and find the datasheet first.
 h**p://n2k1.com/n2k1/NB7/PDF/K9GAG08U0E.pdf
 
 On Page 5. These numbers are important
 Organization
 - Memory Cell Array : (2,076M x 110.49K) x 8bit
 - Data Register : (8K + 436) x 8bit
 • Automatic Program and Erase
 - Page Program : (8K + 436)Byte
 - Block Erase : (1M + 54.5K)Byte
 • Page Read Operation
 - Page Size : (8K + 436)Byte
 - Random Read : 400μs(Max.)
 - Serial Access : 30ns(Min.)
 
 Also on page 52 Read ID.
 K9GAG08U0E D5h 84h 72h 50h 42h
 Note the first byte is ech.
 
 Open the NAND.txt
 Find any line with Samsung like this
 Name="K9F2G08U0C",MFG="Samsung",ID1="ech",ID2="dAh",ID3="10h",ID4="15h",ID5="44h",size="10800000h",PageSize="840h",BlockSize="40h"
 Copy it to a new line and start to modify the field.
 Name field or course, K9GAG08U0E
 Change the IDs accordingly. (Based on page 52)
 ID1="ech",ID2="d5h",ID3="84h",ID4="72h",ID5="50h". Ignore ID6 for now.
 
 Now is the difficult part and please read carefully.
 Page size is 8K + 436 for the datasheet which is 1024x8 + 436 = 8628 = 21b4h. (Use Windows calculator and selection programmer mode).
 PageSize="21b4h".
 
 Block size is based on these two lines
 - Page Program : (8K + 436)Byte
 - Block Erase : (1M + 54.5K)Byte
 1024 (1M) / 8 = 128 = 80h
 BlockSize="80h"
 Now calculate the size of the flash.(Memory Cell Array : (2,076M x 110.49K) x 8bit)
 2076 * 128 * 8628 = 2292701184 = 88A7D800h
 
 So the new line should line this
 Name="K9GAG08U0E ",MFG="Samsung",ID1="ech",ID2="d5h",ID3="84h",ID4="72h",ID5="50h",size="88A7D800h",PageSize="21b4h",BlockSize="80h"
 
 I hope people with this chip can verify it. This chip has some odd number in terms of the flash size and if it is not properly defined it might not work well.
 
 |  | 
              
                | Reply #1 anniel
      
 
                2602 Posts | 
                    
                      |  Posted - 07/03/2017 :  11:28:36   
 |  
                      | Bravo! Same detailed explanation should also be made for the GQ-4X. Don't forget to make the topic sticky.
 
 |  
                      |  |  | 
              
                | Reply #2 GQ5XSupport
      
 
                104 Posts | 
                    
                      |  Posted - 07/03/2017 :  17:16:09   
 |  
                      | Please fix this line in NAND.txt. It was wrong. I will soon publish a much larger nand.txt. |  
                      |  |  | 
              
                | Reply #3 anniel
      
 
                2602 Posts | 
                    
                      |  Posted - 07/04/2017 :  06:13:56   
 |  
                      | quote:Originally posted by GQ5XSupport
 
 Please fix this line in NAND.txt. It was wrong. I will soon publish a much larger nand.txt.
 
 
 
 Thank you GQ5XSupport.
 Please don't forget to make the topic sticky.
 |  
                      |  |  | 
              
                | Reply #4 eduardo48
      
 
                Argentina152 Posts
 |  | 
              
                | Reply #5 GQ5XSupport
      
 
                104 Posts | 
                    
                      |  Posted - 07/04/2017 :  19:36:58   
 |  
                      | Updated NAND.txt. Will add more latter.
 
 [b]Download Attachment:[/b]
  [br]10916 |  
                      |  |  | 
              
                | Reply #6 eduardo48
      
 
                Argentina152 Posts
 | 
                    
                      |  Posted - 07/05/2017 :  06:40:14   
 |  
                      | Some time ago I asked, which commands can be added to the definition line, the answer was (help), is not that what I wanted to know, my question is which commands can be used, at the end of the definition, example (Init = "01XX") and what it does. I know, speed, Ce, there's more
 Thank you.
 |  
                      |  |  | 
              
                | Reply #7 GQ5XSupport
      
 
                104 Posts | 
                    
                      |  Posted - 07/05/2017 :  08:51:18   
 |  
                      | You can edit the file under tools->Edit device file. Then th NAND.txt (or SPI.exe) will be opened and you can edit the file. |  
                      |  |  | 
              
                | Reply #8 eduardo48
      
 
                Argentina152 Posts
 | 
                    
                      |  Posted - 07/05/2017 :  11:08:51   
 |  
                      | If I know this, I ask for the commands, at the end of the definition. Example ((speed velocidad de grabar, ce numero de chip)) but others are not (( (Init = "01XX") ))what is
 |  
                      |  |  | 
              
                | Reply #9 GQ5XSupport
      
 
                104 Posts | 
                    
                      |  Posted - 07/05/2017 :  13:09:19   
 |  
                      | Speed values from 0=10. (Default 10). CE pin is how manu ce pins (default 1) Can be 2.4. The init is command to send to initialize the chip. Not very popular.
 |  
                      |  |  | 
              
                | Reply #10 supervizeur
      
 
                462 Posts | 
                    
                      |  Posted - 07/09/2017 :  08:41:57   
 |  
                      | quote:Originally posted by anniel
 
 Bravo! Same detailed explanation should also be made for the GQ-4X.
 Don't forget to make the topic sticky.
 
 
 
 
 +1
 |  
                      |  |  | 
              
                | Reply #11 supervizeur
      
 
                462 Posts | 
                    
                      |  Posted - 07/09/2017 :  08:42:29   
 |  
                      | quote:Originally posted by anniel
 
 
 quote:Originally posted by GQ5XSupport
 
 Please fix this line in NAND.txt. It was wrong. I will soon publish a much larger nand.txt.
 
 
 
 Thank you GQ5XSupport.
 Please don't forget to make the topic sticky.
 
 
 
 +1
 |  
                      |  |  | 
              
                | Reply #12 supervizeur
      
 
                462 Posts | 
                    
                      |  Posted - 07/09/2017 :  08:44:16   
 |  
                      | quote:Originally posted by GQ5XSupport
 
 Updated NAND.txt.
 Will add more latter.
 
 Download Attachment:
   10916
 
 
 
 You should add it to the download center or release a new minor version.
 |  
                      |  |  | 
              
                | Reply #13 supervizeur
      
 
                462 Posts | 
                    
                      |  Posted - 07/09/2017 :  08:45:03   
 |  
                      | quote:Originally posted by eduardo48
 
 If I know this, I ask for the commands, at the end of the definition.
 Example ((speed velocidad de grabar, ce numero de chip)) but others are not (( (Init = "01XX") ))what is
 
 
 
 +1
 |  
                      |  |  | 
              
                | Reply #14 supervizeur
      
 
                462 Posts | 
                    
                      |  Posted - 07/09/2017 :  08:46:30   
 |  
                      | quote:Originally posted by GQ5XSupport
 
 Speed values from 0=10. (Default 10). CE pin is how manu ce pins (default 1) Can be 2.4.
 The init is command to send to initialize the chip. Not very popular.
 
 
 
 Thank you GQ5XSupport.
 More information is always good!
 |  
                      |  |  | 
              
                | Reply #15 anniel
      
 
                2602 Posts | 
                    
                      |  Posted - 07/13/2017 :  07:01:34   
 |  
                      | quote:Originally posted by supervizeur
 
 
 quote:Originally posted by GQ5XSupport
 
 Updated NAND.txt.
 Will add more latter.
 
 Download Attachment:
   10916
 
 
 
 You should add it to the download center or release a new minor version.
 
 
 
 +1
 |  
                      |  |  | 
              
                | Reply #16 anniel
      
 
                2602 Posts | 
                    
                      |  Posted - 07/13/2017 :  07:02:08   
 |  
                      | quote:Originally posted by supervizeur
 
 
 quote:Originally posted by GQ5XSupport
 
 Speed values from 0=10. (Default 10). CE pin is how manu ce pins (default 1) Can be 2.4.
 The init is command to send to initialize the chip. Not very popular.
 
 
 
 Thank you GQ5XSupport.
 More information is always good!
 
 
 
 +1
 |  
                      |  |  | 
              
                | Reply #17 bryan_sourceits
  
 
                1 Posts |  | 
              
                |  |  Topic  |  |