Turbo Writer Tool
User Guide
V2.01.007
Publication Release Date: Mar. 2013
Support Chips:
Support Platforms:
W55FA
Windows
Turbo Writer Tool User Guide
V
2.01.007
- 2 -
The information in this document is subject to change without notice.
The Nuvoton Technology Corp. shall not be liable for technical or editorial errors or omissions
contained herein; nor for incidental or consequential damages resulting from the furnishing,
performance, or use of this material.
This documentation may not, in whole or in part, be copied, photocopied, reproduced, translated,
or reduced to any electronic medium or machine readable form without prior consent, in writing,
from the Nuvoton Technology Corp.
Nuvoton Technology Corp. All rights reserved.
Turbo Writer Tool User Guide
V
2.01.007
- 3 -
Table of Contents
1. Introduction .......................................................................................................... 4
1.1. ISP Introduction ..................................................................................................................... 4
1.2. Turbo Writer Introduction ...................................................................................................... 4
1.3. SDRAM .................................................................................................................................. 7
1.4. Preliminary Definition ............................................................................................................ 8
Image Type ........................................................................................................................................................ 8
Example ............................................................................................................................................................. 8
1.5. NAND Flash ......................................................................................................................... 10
1.6. SD Card ................................................................................................................................ 14
1.7. SPI Flash .............................................................................................................................. 18
1.8. SPI Flash – Raw Data ........................................................................................................... 23
2. Revision History ................................................................................................. 25
Turbo Writer Tool User Guide
V
2.01.007
- 4 -
1. Introduction
1.1. ISP Introduction
W55FA series have two boot flows – one is Normal mode; the other is Recovery mode. If user wants to do
ISP (In System Programming) through USB, the system should be set to Recovery mode.
The boot flow descriptions are as follows
FA91
Normal mode boot flow
NAND boot SD card boot USB boot SPI boot
Recovery mode boot flow (Must Remove the SD card)
SD card boot USB boot SPI boot NAND boot
FA93
Normal mode boot flow
SD card 0 boot NAND boot SPI boot SD card 1 boot USB boot
Recovery mode boot flow
USB boot
FA95
Normal mode boot flow
SD card 0 boot SPI boot (GPA[15:12]/NAND) NAND CS 0 boot
NAND CS1 boot SPI boot (GPD[15:12]) SD card 1 boot SD card 2 boot USB
boot
Recovery mode boot flow
USB boot
FA92
Normal mode boot flow
SD card 0 boot NAND CS 0 boot NAND CS1 boot SD card 1 boot SD card 2
boot USB boot
Recovery mode boot flow
USB boot
1.2. Turbo Writer Introduction
Turbo Writer can program the images into specific flash or download to SDRAM and run. This document
will tell user how to program the Linux kernel into W55FA demo board NAND flash and SD Card by
Turbo Writer. Here we describe the files within the Turbo Writer folder.
[Turbo Writer Version History – ChangeLog.txt]
All Turbo Writer tool and Turbo Writer firmware change history is listed in this file.
[Turbo Writer program – Turbowriter.exe]
Turbo Writer Tool User Guide
V
2.01.007
- 5 -
Turbo Writer PC Tool execution file.
[Turbo Writer extra support NAND ID – NAND ID.ini]
User can add new NAND ID that Turbo Writer doesn’t support without modifying Turbo Writer
firmware.
Ex. If user wants to add H27UAG8T2A to Turbo Writer NAND list without modifying Turbo Writer
firmware, he can add the following information into NAND ID.ini.
[1stID] [2ndID] [3rdID] [4thID] [5thID] [Page per Block] [Block per Flash]
AD D5 94 25 44 128 1024
[Turbo Writer Configuration for W55FA series Boot Code Header – TurboWriter.ini]
IBR supports some user-defined items in Boot code header about boot code executing address, DRAM
clock skew setting, Register writing function (FA95/FA92 only), and delay function (FA95/FA92 only).
After confirming the flash content is for booting, IBR will do corresponding operation according to the
boot code header before reading boot code to destination address. Using FA95/FA92 boot code header,
user can change clock setting, dram setting, engine clock, and so on. The file TurboWriter.ini is for
NAND, SD, SPI flash and SPI flash raw data.
[ADDRESS]
Boot code execution address (FA93/FA95/FA92)
It can be modified if necessary. Generally, it is the
execution address of Loader (SD/NAND/SPI). FA93
has 3 kinds of N3290X, for N32905 (32MB DRAM),
the execution address is 0x900000. For N32903
(8MB DRAM), the execution address is 0x700000.
For N32901 (2MB SDRAM), the execution address
is 0x180000. The execution address of FA95 is
0x900000.
[CLOCK_SKEW]
DQSODS /CKDQSDS values (FA93 only)
[USER_DEFINE]
Register writing / delay function (FA95/FA92 only)
Register writing function Format:
Address = Value
Ex. Set REG_CKDQSDS to 0x00CCDD00
B0003034 = 00CCDD00
Delay function Format:
55AA55AA = Delay time (micro second)
Ex. Set Delay 1 second
55AA55AA = 000F4240
Left figure is an example to change PLL setting to 300MHz and initialize
DRAM again
评论1