;G+ Mass Production Tool Nand Boot Script File 
; Ver: 1.0 
; 
; Value of Chip Type : 
; 	0 = SLC Nand < 128MB(Physical, Small Page) 
; 	1 = SLC Nand = 128MB(Physical, Small Page) 
; 	2 = SLC Nand > 128MB(Physical, 2K Page) 
; 	3 = RAM 
; 	4 = SLC & MLC Data Area 
; 	5 = Nor Flash 
; 	6 = SPI Nor Flash 
; 	7 = MLC 2K Page(Physical) 
; 	8 = MLC 4K Page(Physical) 
; 	9 = SD Card 
; 	10 = MLC & SLC APP Area 
; 	11 = MLC 2k + 64byte(Physical) 
; 	12 = Nand OTP 
; 	13 = AutoWriteBootArea 
; 	14 = Register 
; 	15 = SPIFC 
; 	16 = SPIFC1 
; 
; Value of Action : 
; 	0 = Read 
; 	1 = Write 
; 	2 = Erase 
; 	3 = Jump to Function 
; 	4 = Initial Nand Flash 
; 	5 = Reset Device 
; 	6 = Set Non Mount 
; 	7 = Send Command 
; 	8 = Low Level Format 
; 	9 = Chip Erase 
; 	10 = App Initial 
; 	11 = Set App Variable 
; 	12 = Write Nand Flush 
; 	13 = Erase All Block 
; 	14 = Write Serial Number 
; 	15 = ProbePath 
; 	16 = Backup Serial Number 
; 	17 = DelayStep 
; 	18 = Write To RomCode 
; 
[Version]
Version = 1.0

[CPU]
CPU = GPL32xxx

[Step 1]
	ActionType = 1
	ChipType = 14
	Disabled = 0
	RegisterNum = 7
	REG0_ADDRE = 0xd0200040
	REG0_VALUE = 0x00000711
	REG1_ADDRE = 0xd0200044
	REG1_VALUE = 0x00002000
	REG2_ADDRE = 0xd0200048
	REG2_VALUE = 0x00000f8a
	REG3_ADDRE = 0xd020004c
	REG3_VALUE = 0x000002ec
	REG4_ADDRE = 0xd0200050
	REG4_VALUE = 0x00000006
	REG5_ADDRE = 0xc0000124
	REG5_VALUE = 0x0000ffff
	REG6_ADDRE = 0xd000005c
	REG6_VALUE = 0x00000020
	
[Step 2]
	ActionType = 1
	ChipType = 3
	Disabled = 0
	AutoEraseBeforeWrite = 0
	Address = 20000000
	ReadBackVerify = 1
	ReadbackOption = 0
	CheckSumVerify = 0
	ChecksumOption = 0
	CodeFile = ./code/gpl326xxb_spiusbbin.hdb
	DataLength = 4
	EnableBootWrite = 0
	ChipTypeOption = 3,
	Remark = 02 03 04 05 06 07 08 21
	
[Step 3]
	ActionType = 3
	ChipType = 3
	Disabled = 0
	Address = 20000000
	ChipTypeOption = 3,
	
[Step 4]
	ActionType = 2
	ChipType = 6
	Disabled = 0
	Address = 0
	Length = 6
	AutoEraseBeforeWrite = 0
	ChipTypeOption = 6,
	
[Step 5]
	ActionType = 1
	ChipType = 6
	Disabled = 0
	AutoEraseBeforeWrite = 0
	Address = 0
	ReadBackVerify = 1
	ReadbackOption = 0
	CheckSumVerify = 0
	ChecksumOption = 0
	CodeFile = ../outputbin/gpl326xxb_spi_rom.bin
	DataLength = 4
	EnableBootWrite = 0
	ChipTypeOption = 6,
	
