PL Feature - Boot Flash Loader - Um PDF
PL Feature - Boot Flash Loader - Um PDF
Document information
Info Content
Title BU Feature
Short title (1 line) BU Feature
Subtitle Boot & Flash Loader Software
Short subtitle (1 line) Boot & Flash Loader Software
Author(s) Michel Zamaron, Céline Finet, Martine Da Silva, Julien Beal, Frédéric
Craisson, Alexander Ulitskiy, Laurent Satta
Department BUMP - BLC - PL Feature, Sophia-Antipolis
Document ID PL-FEATURE_BOOT-FLASH-LOADER_UM
Document type User Manual
d
Revision number 01.29
Status Released
se
Security status For internal and customer use only
Keywords Flash, Memory, Download, Loader, Installer
Abstract
ea
Distribution information
el
Additional information: This document explains how to install/uninstall and use the
Flash Loader software that allows to download a code in a memory device embedded
on a platform based on ST-Ericsson baseband families. Refer to Section 1.2
“Flashloader versions and applicable devices”.
Revision history
Rev Date Description Authors
01.29 08 Jun 10 Add precisions on upload command L. Satta
01.28 06 Apr 10 PL_ENTRY OTP: Reading OTP values from file L. Satta
01.27 19 Mar 10 Update PL_ENTRY OTP feature. Add burn/read OTP precedure for L. Satta
PL_ENTRY
01.26 09 Mar 10 Add PL_ENTRY OTP feature L. Satta
01.25 06 Jan 10 Update error codes description J. Beal
01.24 09 Dec 09 Applicable devices section updated and moved to document beginning F. Craisson
Sw backddor added
Target settings section updated (addresses both 7.2 and 7.3)
UART limitations: selection up to COM32
BootNand and SWboot versions section updated
Download in Onenand added
d
Section warning on exec in UART renamed
Main window screenshots updated
se
01.23 28 Oct 09 Security features section updated (explanation on USB dongles) F. Craisson
01.22 27 Oct 09 Add new target PNX4910. L. Satta
ea
01.17 25 May 09 Add chapters for .msi use to un/install Flash Loader Martine Da Silva
01.16 02 Apr 09 Update on upload command F. Craisson
Screenshots updated (taken from 7.2.0)
CS0...CS3 replaced by EBI_CS0... EBI_CS3
01.15 27 Mar 09 Add chapter for Nandflash bad block management M. Zamaron
01.14 17 Mar 09 Update Flash database editor, add Flash parameter in-line help J. Beal
documentation description
01.13 06 Fev 09 Update for signature offset in NOR flash Michel Zamaron
01.12 05 Fev 09 Update for new security protocol between baseband and host for Michel Zamaron
PNX6529
Contact information
For more information, please visit URL: http://www.stericsson.com
or send an email to: michel.zamaron@stericsson.com
d
01.04 26 May 08 Add support PNX6516 Michel Zamaron
se
01.03 6 May 08 Update after doc review Julien Beal
01.02 10 Apr 08 1/Adding single and multiple download MMI latest functionnalities. Julien Beal
2/Update NAND Custom erase for First block specific case
ea
Contact information
For more information, please visit URL: http://www.stericsson.com
or send an email to: michel.zamaron@stericsson.com
1. Introduction
d
– PNX67-07/08/09/10/15
se
– PNX6715_Linux
• Flashloader 7.3 is obsolete
ea
– PNX4910
– PNX6529/6718
R
– PNX6729
1.3 Glossary
Acronym Definition
AES Advanced Encryption Standard
AUXPAR Auxiliary Parallel Interface
BB Baseband
BBM Bad Block Management
CS Chip Select
DLL Dynamic Link Library
EEPROM Electrically Erasable Programmable Read-Only Memory
FB First Block
MSI MicroSoft Installer
Contact information
For more information, please visit URL: http://www.stericsson.com
or send an email to: michel.zamaron@stericsson.com
1
Acronym Definition
2
NFI NAND Flash Interface 3
OTP One Time Programmable 4
5
RAM Random Access Memory 6
RCB Reservoir Control Block 7
SCRAM System Controller RAM 8
9
UART Universal Asynchronous Receiver Transmitter 10
USB Universal Serial Bus 11
12
13
1.4 Definitions 14
15
16
Name Description 17
Bad Block A process to manage Bad Block in a Nand Flash : if a Block is marked as 18
d
Management BAD, it should be re-mapped to a block in the Reservoir Control Block 19
(RCB). A structure in the RCB is duplicated and holds remapping 20
21
se
information: which bad block is remapped to which good block in the RCB.
22
Boot ROM Software launched after hardware Reset or Power-on
23
Boot NAND A small SW programmed in NAND memory (usually in the first 24
ea
1
Name Description
2
Protected device Device with the security features enabled 3
Reservoir Control It is a special area at the end of the NAND flash address that contains 4
Block several blocks to be used in case of Bad Blocks in the normal area space. 5
6
RTG Re Use Technology Group, internal NXP supplier 7
Signature offset Address where to write the flash signature 8
Software reset e.g. a watchdog reset 9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
2. Description 1
2
The Flash Loader is a PC tool that allows to download code into a memory device (flash, 3
RAM, SCRAM, ...) embedded on a platform based on STE PNX baseband families. Refer 4
to Section 1.2 “Flashloader versions and applicable devices”. 5
6
7
8
2.1 Environment 9
In order to use the Flash Loader, the following equipment is required: 10
11
12
13
14
PC Dongle
15
L 16
L
D 17
r 18
e
d
d
a Baseband devices 19
Flash Loader o 20
L PNX…
Software h 21
s
se
la 22
F
23
24
RS232 / USB
ea
25
26
Application files User 27
Loader file 28
el
Config. File 29
Uploaded files 30
31
R
32
33
34
35
36
37
38
Fig 1. Flash Loader environment 39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
20
2.2 General principle of downloading 21
se
After hardware reset, the application part of baseband processor (CPU) starts executing 22
23
code from the on-chip Boot ROM (SCROM). This code initializes baseband processor and
24
checks if there is an external connection from the host PC to the baseband via the UART
ea
25
and/or USB ports. 26
27
If a connection has been detected, the baseband starts communication with the host PC 28
el
according to the protocol embedded in the SCROM. Typically the communication protocol 29
allows the host to ask baseband’s HW and SW versions, make SCROM to execute some 30
simple commands and load arbitrary data (code) to the available not-protected RAM. The 31
R
host PC may use this protocol to upload and pass the control to special embedded SW 32
which will then assist flash programming and other complex operations under the host 33
control. 34
35
If no connection has been detected, the SCROM finishes initialization and jumps to CS0 in 36
case of NOR boot, or copies the first pages of NAND to SCRAM and jumps to SCRAM in 37
38
case of NAND boot.
39
The software uploading process has some minor differences depending on the family of 40
41
chipsets and type of target memory device (NOR flash, NAND flash or RAM) and will be
42
described below. 43
44
2.2.1 PL Feature and PL Entry ICs: UART downloading process differences 45
While PL_FEATURE family of chipsets uploads data in binary format, the SCROM of 46
47
PL_ENTRY family (PNX4908, PNX4910) uploads data in the Intel Hex32 format only. But
48
the same amount of data in the Intel Hex32 format requires ~3 times more time to transfer 49
than in the binary form. Due to this reason and also because of historically taken 50
approach, in case of PL_ENTRY chipsets, the host PC uploads the embedded flash 51
loaders in SCRAM in two steps. First it uploads and runs a small auxiliary loader in the 52
Intel Hex32 format. Then the auxiliary loader makes the necessary CPU initialization and 53
RAM remapping and uses its own protocol to load the embedded flash loader in binary 54
format. 55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
There is no principal difference in the host-target communication protocol between 2
PL_FEATURE and PL_ENTRY families. 3
4
However, for PL_Entry, all the downloads described in the following sections happen only 5
after an auxiliary loader has been loaded. 6
7
8
2.2.2 USB Back Door (for PL Feature basebands) 9
10
2.2.2.1 Hardware backdoor
11
On PL_FEATURE family, in order to make a host to target connection over USB when the 12
flash is not erased, the customer must use a backdoor.This backdoor consists in 13
pressing at the same time any three keys1 on the keyboard during the reset or power 14
ON sequence of the target. When the STOP button, on the Flash Loader MMI appears the 15
16
customer can release the keys. 17
18
2.2.2.2 Software backdoor
d
19
As the hardware backdoor can not be used on final products without keyboards, we have 20
21
se
introduced a software backdoor allowing to update a non-empty flash without pressing at
the same time different keys. That solution is based on an AT-command sent to the device 22
23
by the flashloader. A checkbox button has been added in the main FL window to enable
24
the software backdoor use. It can only work if the program already in flash is compatible
ea
25
with that AT-command: when the board connected to the PC boots, COM ports are 26
created waiting for a given AT-command to come. 27
28
el
29
30
31
R
32
33
34
Fig 2. Software backdoor checkbox 35
36
Note: the current implementation is only compatible with T3G boards and software. 37
38
39
40
2.2.3 Download into external RAM 41
42
The Boot ROM code receives data on the selected link (UART or USB) and copies them 43
directly into the external RAM memory. 44
45
The download of the data in RAM is made in several steps (see Figure 3 “Download in 46
RAM”). 47
48
• Step 0: After hardware Reset or Power-on, execution of the Boot ROM (BB & USB / 49
UART init) 50
51
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 52
53
54
55
56
1. For some ICs, two key press may be sufficient, to be confirmed. 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
• Step 2: The Boot ROM code downloads the binary file into RAM memory
1
2
3
4
5
Platform environment PC environment 6
Boot ROM mapped in 7
0x00000000 for PNX6511/PNX6515/PNX6516/4908/4910 8
0xFFFF0000 for PNX5222/PNX5217/PNX67xx/PRISM
9
10
0 Boot 1 PC tool 11
ROM 12
(Flashloader)
13
14
15
2 16
SCRAM Loader
17
18
d
19
RAM binary file
20
21
(e.g. CS1) binary file
se
22
23
24
ea
25
26
27
28
el
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
2.2.4 Download into SCRAM
3
The download into SCRAM is the same principle as with RAM memory. It is just a different 4
5
base address. The Boot ROM code gets data on the selected link (UART or USB) and
6
copies them directly into SCRAM. 7
8
The download of the data into SCRAM is made in several steps (see Figure 4 “Download
9
into SCRAM”). 10
11
• Step 0: After hardware Reset or Power-on, execution of the Boot ROM (BB, USB / 12
UART init) 13
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 14
15
• Step 2: The Boot ROM code downloads the binary file into SCRAM memory 16
17
18
d
19
Platform environment PC environment 20
21
se
Boot ROM mapped in
0x00000000 for PNX6511/PNX6515/PNX6516 22
0xFFFF0000 for PNX5222/PNX5217/PNX67xx/PRISM 23
24
ea
0 Boot 1
PC tool
25
ROM 26
(Flashloader)
27
28
el
29
30
2 Loader
SCRAM binary file 31
R
32
33
binary file 34
35
36
37
38
39
40
41
42
Fig 4. Download into SCRAM 43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
2.2.5 Download into NOR flash (single file and multiple file programming)
3
NOR Flashes can be programmed in the following ways: 4
5
• with a single file for execution in place (.cla file) 6
7
• starting with Flashloader 7.3 and 6529 ICs, with multiple files including a boot section 8
and partitions (.ptt selected as entry file in Flashloader MMI). The boot section will be 9
shadowed in SCRAM by the bootrom and executed. This is the same concept as 10
used for Nand programming described in Section 2.2.7. 11
12
To download into NOR flash, the principle is more complex and requires first to erase the 13
NOR flash contents (if the NOR flash is not virgin), then to send some write commands to 14
the flash. To do so a special software is needed: the Loader that is first loaded into 15
SCRAM then executed by the system controller. 16
17
18
The Loader allows to:
d
19
20
• Communicate with the host (PC tool) 21
se
• Detect the type of flash memory used 22
23
• Get the flash parameters from the flash database
24
ea
29
Remark: If the device used is a protected device the process is more complex. For more 30
details about this process see Section 2.3.5 “Download into NOR flash with a protected 31
R
The download of the binary file is made in several steps (see Figure 5 “Download into 1
2
NOR flash”).
3
4
Note that for PL_ENTRY Step 2 is not relevant in UART mode and is replaced with a more
5
complex sequence as described in Section 2.2.1 “PL Feature and PL Entry ICs: UART 6
downloading process differences”. Thus Step 2 becomes “The Boot ROM code 7
downloads a first loader into SCRAM” and a Step 2.1 “The first loader downloads the 8
main Loader in SCRAM“ must be added. Then, from Step 3, the sequence is the same as 9
the one describes below. 10
11
• Step 0: After a hardware Reset or Power-on, execution of the Boot ROM (BB, 12
UART/USB init) 13
14
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 15
• Step 2: The Boot ROM code downloads the Loader into internal SCRAM 16
17
• Step 3: Execution of the Loader into SCRAM ( detects NOR flash type, Erase NOR 18
flash, ...)
d
19
• Step 4: The loader downloads either one binary file from the host and program the 20
21
se
NOR Flash (.cla file), or multiple files and program the different binaries in NOR
partitions (.ptt as entry file with a SWboot major version set to 5 and a SWboot minor 22
23
version set to 2)
24
ea
25
26
Platform environment PC environment 27
Boot ROM mapped in 28
el
0 Boot 1
PC tool 32
ROM 33
(Flashloader)
34
35
2 36
SCRAM 3
Loader 37
38
Loader
39
4 40
binary file
41
42
43
44
Ext. Flash 45
(e.g. CS0) binary file 46
47
48
49
Fig 5. Download into NOR flash
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
2.2.6 Download into DDRAM memory
3
To download into DDRAM memory, the principle is more complex and requires first to 4
5
initialize the SDI_SDRAM IP, then to write the data into the DDRAM memory.To do so a
6
special software is needed: the Loader that is first loaded into SCRAM then executed by 7
the system controller. 8
9
The Loader allows to: 10
11
• Communicate with the host (PC tool) 12
• Detect the type and the size of DDRAM memory used 13
14
• Erase or Reset the DDRAM memory (set DDRAM memory to 0xFF) 15
• Write the DDRAM memory 16
17
The download of the binary file is made in several steps (see Figure 6 “Download into 18
d
DDRAM memory”). 19
20
21
se
• Step 0: After a hardware Reset or Power-on, execution of the Boot ROM (BB,
UART/USB init) 22
23
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 24
ea
• Step 2: The Boot ROM code downloads the Loader into internal SCRAM 25
26
• Step 3: Execution of the Loader into SCRAM ( detects DDRAM memory and size, 27
Erase/Reset DDRAM memory, ...) 28
el
29
• Step 4: The Loader downloads the binary file from the host and write DDRAM memory
30
31
R
32
33
Platform environment PC environment 34
Boot ROM mapped in 35
0x00000000 for PNX6511/PNX6515/PNX6516 36
0xFFFF0000 for PNX5222/PNX5217/PNX67xx/PRISM 37
38
0 Boot 1
PC tool 39
ROM 40
(Flashloader)
41
42
2 43
SCRAM 3
Loader
44
45
Loader
46
4 47
binary file
48
49
50
51
Ext. DDRAM
52
(SDI IP) 53
binary file 54
55
56
Fig 6. Download into DDRAM memory 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
Since characteristics (length, block, ...), commands and scenario programming are 20
21
se
different between different NAND flash memories, it is necessary to have parameters set
22
for the generic Flash driver.This parameters are available through the Flash database. 23
24
ea
25
The download of different NAND flash partitions is made in several steps (see Figure 7 26
“Download into NAND flash”). Step 0 to Step 4 are made at Power-ON 27
28
el
Note that for PL_ENTRY Step 2 is not relevant in UART mode and is replaced with a more 29
complex sequence as described in Section 2.2.1 “PL Feature and PL Entry ICs: UART 30
31
R
downloading process differences”. Thus Step 2 becomes “The Boot ROM code
downloads a first loader into SCRAM” and a Step 2.1 “The first loader downloads the 32
main Loader in SCRAM“ must be added. Then, from Step 3, the sequence is the same as 33
34
the one describes below. 35
36
• Step 0: After a hardware Reset or Power-on, execution of the Boot ROM (BB, 37
UART/USB init) 38
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 39
40
• Step 2: The Boot ROM code downloads the Loader into SCRAM 41
• Step 3: Execution of the Loader in SCRAM: 42
43
– Detect Flash type
44
– Get Flash parameters from flash database 45
46
– Set Flash parameters into embedded generic driver
47
– Initialize NAND Flash and get Reservoir Control Block 48
– Get the First Block data (contains BootNand, Partition Table, ..) 49
50
– Test Flash access and driver parameters 51
• Step 4...n: The PC sends sequentially to the Loader all the binaries to be programmed 52
53
into the appropriate partition. If the partition is protected, the header (the first 2 kbytes
54
of a partition first block) is AES encrypted by the Loader and written into the NAND 55
flash. 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
• Step n+1: When the Nand Flash is re-programmed, it is not always necessary to
reprogram its First block (FB). This first block is the block shadowed in SCRAM by the 1
2
Boot ROM and executed to mount the partitions. If an update of the FB is needed
3
(change in BootNand or signature or partition table has been detected), the PC sends 4
to the Loader the FB containing the partition table and the Boot NAND (see Ref. 12 5
“NANDFLASH for Nexperia TM System Solution - Software Interface Specification”) 6
7
8
9
Platform environment PC environment 10
11
Boot ROM mapped in 12
0xFFFF0000 for PNX5222/PNX5217/PNX67xx/PRISM 13
14
0 Boot 1
15
PC tool 16
ROM
(Flashloader)
17
18
d
19
2
20
SCRAM 3
Loader 21
se
Loader 22
4 23
Partition x 24
ea
25
n
26
27
Partition y
28
el
32
Fig 7. Download into NAND flash 33
34
2.2.8 Download into OneNand flash 35
36
Since 7.3 releases the Flashloader supports OneNand flash programming.The principle is 37
the same than the NAND one described in Section 2.2.7. 38
39
In that case, the input file is a partition file (.ptt) with a SWboot major version set to 5 and 40
a SWboot minor version set to 2. 41
42
43
2.3 Security features 44
45
2.3.1 Equipment 46
47
In order to use the security features, some additional equipments are required: 48
49
• USB Dongle supporting AES algorithm and programmed with appropriate key: 50
– customer key kc1 (128-bit constant) for development dongle 51
52
– customer key kc2 (128-bit constant) for production dongle 53
• Customer ID 54
55
• Binary file 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
During the boot process, the Flash Loader requests from the protected device a string of 20
21
se
16 (109 for PNX6529) random bytes. This string is decrypted with the Dongle, completed
22
with the Customer ID and returned to the target (Ref. Section 5.2 “Advanced settings
23
window”.) 24
ea
25
The target checks if this is the correct response of either a development or a production 26
Dongle. In case of a development Dongle, Debug is allowed on the target. 27
28
el
32
During flash programming, the Flash Loader requests from the protected device the flash 33
signature in encrypted form. This signature is decrypted by the Dongle and written into the 34
flash. 35
36
The Flash Loader only supports to write the signature at an address (signature offset) 37
38
included between the beginning and the end of the downloaded binary file. For more
39
details about the flash contents see Ref. 1 for PNX6511, Ref. 2 for PNX5220, Ref. 3 for 40
PRISM / PNX67xx and Ref. 4 for PNX6515 / PNX6516. 41
42
NOTE: 43
44
The signature offset is in the flash parameter section (see the relevant Security, Boot & 45
Download User Manual). The signature offset is automatically computed by the Flash 46
Loader and written into the flash parameters section. 47
48
• For NAND Flash, signature offset is hard-coded in the Flash Loader but can also be 49
found in BootNAND flash parameter section 50
51
• For NOR Flash, signature offset is taken from application binary. The Flash Loader 52
erase the block, corresponding to the signature offset, and rewrite it with the 53
decrypted signature. 54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
The OTP burning is done prior to processing the other commands selected in the main 19
20
window’s ‘Command’ section.
21
se
22
In case of a protected device, the customer id must be first authentified using a properly 23
programmed Dongle (see 2.3.2) in order to put the target in Debug mode. 24
ea
25
For more details about the OTP contents see Ref. 1 for PNX6511, Ref. 2 for PNX5220, 26
Ref. 3 for PRISM / PNX67xx and Ref. 4 for PNX6515 / PNX6516. 27
28
el
2.3.5 Download into NOR flash with a protected device (PL_FEATURE family) 29
30
31
R
To download into NOR flash with a protected device, the principle is the same as with a
non protected device, only that the binary file is split over 2 consecutive downloads and 32
33
that a signature is programmed in Flash. This procedure can also be executed with an
34
unprotected device, by checking the CalcSign check box (see Figure 14 “Flash Loader 35
main window”). 36
37
38
The download of the binary file consists of the following steps (see Figure 8 “Download 39
into NOR flash with a protected device”). 40
41
• Step 0: After hardware Reset or Power-on, execution of the Boot ROM (BB & UART or 42
USB init) 43
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 44
45
• Step 2: The Boot ROM code downloads the Loader into internal SCRAM 46
• Step 3: Execution of the Loader in SCRAM (flash type detection, flash erase, ...) 47
48
• Step 4: The Loader downloads and writes into the flash the first part of the binary file 49
from the beginning of the file to the signature offset 50
51
• Step 5: The Loader downloads and writes into the flash the second part of the binary 52
file from the signature offset + the signature length to the end of the file 53
• Step 6: The Boot ROM is reinitialized by a software reset 54
55
• Step 7: The Boot ROM code checks an eventual connection with a host (PC tool) 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
2 19
SCRAM 3 20
9 Loader
21
se
Loader 22
23
binary file 24
ea
25
5 26
10 27
binary filePart II
28
el
Ext. Flash
(e.g. CS0) Flash Signature 29
binary filePart I 30
4
31
R
32
Fig 8. Download into NOR flash with a protected device 33
34
35
36
2.3.6 Download into NOR flash with a protected device (PL_ENTRY family) 37
38
Not yet supported. 39
40
41
42
2.3.7 Download into NAND flash with a protected device (PL_FEATURE family) 43
44
To download in a NAND flash with a protected device, the principle is the same as with an 45
unprotected device but the FB must be signed. This procedure can also be called with an 46
unprotected device, by checking the CalcSign check box. 47
48
49
The download of the binary file consists of the following steps (see Figure 9 “Download 50
into NAND flash with a protected device”). 51
52
• Step 0: After hardware Reset or Power-on, execution of the Boot ROM (BB & UART 53
54
or USB init)
55
• Step 1: The Boot ROM code checks an eventual connection with a host (PC tool) 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
• Step 2: The Boot ROM code downloads the Loader into internal SCRAM
1
• Step 3: Execution of the Loader in SCRAM (NAND flash type detection, NAND flash 2
partitions erase, ...) 3
• Step 4: The PC uploads and stores the FB 4
5
• Step 5...n: The Loader downloads and programs all the partitions into NAND flash 6
• Step n+1: The PC sends to the Loader the FB (if it changed) containing partition table 7
8
and Boot NAND. The last page of the FB is not programmed
9
• Step n+2: The Boot ROM is reinitialized by a software reset 10
• Step n+3: Flash Loader requests NAND flash signature to SCROM. Signature is 11
12
received encrypted and Flash Loader decrypts it using a dongle.
13
• Step n+4: The Loader is downloaded in SCRAM 14
15
• Step n+5: The Loader is executed in SCRAM 16
• Step n+6: The Loader writes the decrypted NAND flash signature in the last page of 17
the FB at the signature offset (defined by the FB mapping see Ref. 12 ). 18
d
19
20
21
se
Platform environment PC environment 22
23
Boot ROM mapped in 24
ea
n+2 ROM
n+3 (Flashloader) 29
30
31
R
2 32
3 n+5 n+4
SCRAM Loader 33
Loader 34
35
n
Partition x 36
37
NAND Flash 38
5
on NFI 39
Partition y 40
n+6 41
42
Flash Signature 4
43
First Block First block 44
n+1 45
46
Fig 9. Download into NAND flash with a protected device 47
48
49
50
2.3.8 Download into NAND flash with a protected device (PL_ENTRY family) 51
52
Not yet supported. 53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
3. Installation 1
2
3
3.1 Flash Loader installation procedures 4
Follow the instructions below in order to install the Flash Loader 5
There are two ways to install the Flash Loader: 6
7
• Launching the .msi Microsoft Installer (refer to Section 3.1.1 on page 21) 8
9
• or unzipping the .zip package (refer to Section 3.1.2 on page 25) 10
11
Administration rights are required on the host PC to install the USB driver. The person 12
who performs the installation has to be familiar with the general principle of installing a 13
Windows driver to be able to solve unexpected Windows behaviour. 14
15
16
3.1.1 Msi Installer 17
18
d
1. Launch the “FlashLoader_vX.Y.Z.msi“ file to install Flash Loader application and the 19
corresponding USB driver. 20
21
se
This msi file is composed of: 22
23
– “bfloader.exe”: Main executable file of the Flash Loader 24
ea
executable. 29
– “52xdfu.inf, 52xdfu.sys”: DFU driver based on CTO/LIPP USB stack 30
31
R
– “bfldb.csv”: default Flash Database file which stores flash configurations: name, 32
manufacturer id, device id, timing, size,..... 33
– “bfloader.ini, bfloader.log”: dummy log and ini files that will be overwritten by default 34
ones when launching the Flash Loader application. The bfloader.ini file stores 35
36
application configuration settings.
37
NOTE: Upon closing the Flash Loader application, “bfloader.exe” terminates and 38
overwrites two files: the default “bfloader.ini” file to reflect configuration last used by 39
application and the default “bfldb.csv” file with bfldb.csv used by application (.csv 40
possibly updated to add a new memory model). 41
42
2. The following Setup Wizard will be displayed: 43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
• Click ‘Next’, then read carefully the text on the USB driver 32
• Click ‘Next’, then select the folder where to install the Flash Loader application. You 33
34
can keep default path or browse for a custom path 35
• Click ‘Next’, then click ‘Install’ to install the Flash Loader or click ‘Back’ to change 36
settings 37
38
• Once you click ‘Install’, installation will start. If you are running the Setup Wizard on 39
Windows XP, the following popup may appear since the USB driver is not Windows 40
certified. Press ‘Continue Anyway’ to continue installation 41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
Fig 11. Flash Loader Setup Wizard Driver certification warning 28
el
29
• A popup will appear to warn you that the USB device can be attached to the PC later 30
31
R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
Wizard 32
• Shortcuts to the Flash Loader application will be automatically created on desktop 33
and in programs list: 34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Fig 13. Flash Loader application shortcuts 52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
“Flash Loader main window”). Only download via UART is possible at the moment if 20
21
se
no USB driver has been installed yet (see next chapter).
22
23
24
ea
29
In this case the CTO/LIPP USB stack is used by the boot ROM to download loader
30
and by the loader to download application in Flash. 31
R
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Fig 14. Flash Loader main window 50
51
52
53
3.2.1.2 External Loader setting 54
55
• Check the USB box in the main Flash Loader window (see Figure 14 “Flash Loader 56
main window”) 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Fig 15. External Loader 53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
3.2.2 USB driver (CTO/LIPP and external user) install / uninstall / update
1
procedure 2
The installation is only requested once by Windows. 3
4
These two drivers are installed using the “Plug&Play” application from Windows for each 5
USB port: 6
7
• Plug an USB cable into the target and the PC USB port 8
9
• When all the settings are correctly set (Target, USB, command, Application binary 10
file....), press the ’START’ button and switch ON the target 11
12
13
3.2.2.1 USB CTO/LIPP driver (52xdfu) installation 14
15
Upon the target reset, when the “Found New HW Wizard” pops up, select “Search for 16
suitable driver for my device”, then “Specify a location”, then browse and select the file 17
“52xdfu.inf”. 18
d
19
Windows installs the driver “52xdfu.sys” in the Windows environment. In the Windows 20
21
se
device manager (Control Panel -> System -> Hardware -> Device Manager), the following
Properties appears when the Device is connected: 22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Fig 16. USB CTO/LIPP install driver details 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
Now USB can work with the CTO/LIPP USB stack only. Start again the Flash Loader 1
2
(bfloader.exe).
3
4
If you choose the same settings, you can download and flash a binary file on the target 5
board. In MMI, select an “Application binary file” e.g “application.bin” or your own binary 6
file and press ‘START’. Reset the target. See Section 5.6 for the scenario description. 7
8
9
For a “52xdfu.sys” driver already installed on PC, update is required only if version does 10
not match version of DFU driver included in Flash Loader delivery (driver version is 11
specified in Flash Loader delivery notes and in driver property menu once installed on 12
PC). See Section 3.2.2.2 for driver update procedure. 13
14
15
16
17
18
3.2.2.2 USB CTO/LIPP driver (52xdfu) update and uninstall procedures
d
19
20
How to check the version of 52xdfu drivers files: 21
se
Open the 52xdfu.inf file in text mode and read the “DriverVer” parameter: 22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
Fig 17. Check the 52xdfu driver files version 44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
Check 52xdfu device driver instantiation, update or uninstall it (WinXP and Win2K): 2
3
1. Show Hidden devices in Windows Device Manager: 4
5
a. Set “devmgr_show_nonpresent_devices” registry variable using shell command: 6
> set devmgr_show_nonpresent_devices=1 7
b. Start MS Device Manager using shell command: 8
> start devmgmt.msc 9
10
c. In the Device Manager, select “Show Hidden Devices” in “View” menu 11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
Fig 18. Show Hidden devices in MS Windows (XP/2K) Device Manager 40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2. Show one device driver instantiation properties: 2
a. Expand “Universal Serial Bus Controller”, and go to the list of “USB Device with 3
DFU capabilities” 4
5
b. Right-Click on the device driver instantiation to be checked and updated, and 6
select “Properties“. 7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Fig 19. Show driver instantiation properties 47
48
3. Update or Uninstall the Driver instantiation 49
50
To update the driver : the “Driver Version “ is not correct, click on “Update Driver” 51
To uninstall it, select uninstall and then confirm. 52
4. Update the device driver instantiation: 53
54
a. First, in the Update wizard windows, does not select automatic web update 55
b. Then select “Install from a specific location (Advanced)” and click Next. 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
c. Specify the location of the new driver files version and click Next
1
d. The driver is not signed by Microsoft, Select “Continue Anyway” in the popup 2
warning window. 3
e. At the end, click “Finish”, and the Driver Version is updated 4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Fig 20. Update a device driver instantiation 51
52
3.2.2.3 USB CTO/LIPP and external USB drivers install procedure 53
When the customer wants to use an external Loader which uses a different USB stack, 54
55
a second USB driver must be installed.
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
Upon target reset, the USB CTO/LIPP driver is installed (refer to Section 3.2.2.1).
1
2
Upon installation completion (till Windows Properties window appears), close, launch and
3
start again the Flash Loader. The communication is done via USB CTO/LIPP stack with 4
the Boot ROM code to download the user external Loader binary. 5
6
When the external Loader is executed, installation of the associated driver is requested. 7
Follow same USB CTO/LIPP installation instructions but select “<user>.inf” for the INF 8
file. 9
10
11
In the Windows device manager (Control Panel -> System -> Hardware -> Device
12
Manager), the user USB Loader Properties must appear: 13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Fig 21. Example : USB install driver details 47
48
49
50
Now USB can also work with the user USB stack. Start again the Flash Loader 51
(bfloader.exe). 52
53
If you choose the same settings, you can download and flash a binary file on the target 54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
board. Select an “Application binary file” e.g “application.bin” or your own binary file and
press ‘START’. Reset the target. See Section 5.5 for the scenario description. 1
2
3
4
3.3 File interface 5
6
When the Flash Loader is launched, the following actions are performed: 7
8
• The current configuration is updated from the “bfloader.ini“ file. Target, link, memory... 9
configurations are saved in this file. The user can add a target, a memory or change a 10
link by modifying this file. For example in order to change the parity and/or the number 11
of stop bit, you must change, for the selected target, the parity and/or stopbit value in 12
the #xx_link_BR_USER section. The parity value could be 1 (odd) or 2 (even). The 13
stopbit value could be 0 (1 stopbit) or 2 (2 stopbit). 14
15
• If this ini file is not present or is corrupted when the software is initialized, a default 16
configuration file is created. 17
• The current flash database filename is updated from the “bfloader.ini”. If the file exists, 18
d
a flash database is built from this csv file. 19
20
• If this csv file is not present or is corrupted when the software is initialized, a default 21
se
flash database is created. 22
23
When NAND Flashs are programmed, the following actions are performed: 24
ea
25
• The Reservoir Control Block (RCB) is read during initialisation and is saved under 26
C:\Temp\, with the partition name and the product id. Its extension is :“*.before.rcb“ 27
and “*.after.rcb“ respectively for rcb used before erase/write action and after 28
el
erase/write action.The user can check if some invalid blocks have been found while 29
processing commands on the nand flash. 30
31
R
• The Nand First Block is read during initialisation and is saved to a file, in the same 32
folder than the Partition Table (.ptt) file, with the same filename but the extension 33
“.ptt.fb“. The folder contains .bootnand and all the partitions to be programmed in 34
Flash. 35
36
When the Flash Loader exits, the following actions are performed: 37
38
• The current configuration is saved into the “bfloader.ini“ file. 39
40
• The current trace information is saved into the “bfloader.log“ file. 41
• The current Flash database information is saved into the “bfldb.csv” file. 42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
4. Uninstallation 1
2
3
4.1 Uninstall procedures 4
Follow the instructions below in order to uninstall the Flash Loader from your PC. 5
There are two ways to uninstall the Flash Loader: manually and automatically via .msi file. 6
7
4.1.1 Manual uninstall 8
9
• If you used the zip package to install the Flash Loader, remove manually the installed 10
files listed in Section 3.1.2 11
12
• To remove drivers, use uninstall driver procedure described in Section 3.2.2.2. 13
14
15
16
4.1.2 Automatic uninstall 17
If you previously used the .msi to install the Flash Loader, you can uninstall the Flash 18
d
Loader by launching the same .msi Microsoft Installer. It will also uninstall the USB driver. 19
20
21
se
• Launch the “FlashLoader_vX.Y.Z.msi“ file to uninstall Flash Loader application and
the corresponding USB driver. 22
23
• The following Setup Wizard will be displayed: 24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Fig 22. Flash Loader Setup Wizard restart 54
55
• Click ‘Next’, following action list is displayed: 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
performing any action or ‘Remove’ to start uninstalling the Flash Loader from your PC. 32
33
• Once you have pressed ‘Remove’, The Flash Loader application, the shortcuts and 34
the USB driver are removed from your PC. 35
• Press ‘Finish’ to exit the Setup Wizard. 36
37
38
5. User interface 39
40
41
5.1 Main window 42
This window (see Figure 24 “Flashloader main window”) allows to: 43
44
• Set the type of baseband processor embedded in the platform 45
46
• Set the area in memory space where to download the binary file 47
• Set the binary file to download for NOR Flash 48
49
• Access the Partition Table for NAND flash 50
• Select UART or USB communication link 51
52
• Set the PC’s UART communication port and its speed in case of UART selected. 53
• Choose the scenario to execute (set of Erase / Write / Execute commands....) 54
55
• Select the number of devices to execute the scenario on 56
• Start and Stop the download 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
• Display events about download progress and errors for each device
1
• Access to the advanced settings 2
• Access to the flash database editor 3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Fig 24. Flashloader main window 47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
• User defined : The binary file will be downloaded at the address specified by the 20
customer in the “Address“ field (read/write). The memory device shall be a flash or a 21
se
RAM. In case of flash device the Loader is downloaded into SCRAM and run in order 22
to download the binary file 23
24
ea
25
NOTE: The Loader is normally downloaded into SCRAM as it is always available and “at 26
the same location” whatever the customer memory organization. If the user Loader is too 27
big, it will copied into external RAM, usually in ExtBus_CS1 / EBI_CS1. 28
el
29
30
31
R
Specific location type: enabled when the Location is not NAND Interface / NFI_NAND
and not Internal RAM / SCRAM. Three possible choices: “Static RAM”, “Nor Flash” or 1
2
“OneNand Flash”. It gives an indication on the location type. This information can be
3
different from a design to another, thus it has to be checked and modified if necessary. 4
5
Address (Hex): enabled when the Location is “User Defined”, and allows to specify the 6
address where the binary file will be downloaded. 7
8
5.1.2 Scenario settings 9
Each command can be selected separately even if this command has no sense (e.g. 10
11
programming a none blank flash).
12
13
Erase command: This command is only executed if the selected memory device is a 14
NOR flash, DDRAM memory or a NAND flash. The flash is erased with the length 15
specified by the erase option. 16
The NAND flash partitions are erased if ‘Erase’ command is selected in the main window 17
and if the ‘Erase’ and/or ‘Program’ check-boxes are checked in the partition table window. 18
d
19
20
Write command: This command is executed if the selected memory device is a flash or a
21
se
RAM. The memory device is programmed with the binary file. 22
For NAND flash, a partition is programmed if the associated check-box ‘Program’ is 23
selected in the partition table window. 24
ea
25
Execute command: This command is applicable to NOR flash, NAND flash or RAM 26
memory devices. The code downloaded in Flash is executed after a delay (see Section 27
28
el
5.2 “Advanced settings window”). Note for Nand Flash:after the download process ends, a
29
watchdog reset is done and the code is executed via the BootROM.
30
31
R
Upload command: This command is applicable to both flash or RAM memory devices. 32
The number of bytes read at a location specified below the Upload Option (in “Offset Hex” 33
field) is copied in a file whose name and path can be given by the customer in Section 5.2 34
“Advanced settings window”. The flashloader adapts the upload speed to be the fastest 35
according to the memory available on the target and the link protocol (UART/USB). Yet 36
variations in upload time can be noticed depending on the configuration. 37
38
39
Erase option / Upload option: only available if the ‘Erase’ command is selected (then
40
named “Erase option”) or if the ‘Upload’ command is selected (then named ‘Upload 41
option’). Only an erase or upload of the selected area is done: 42
43
• Application size: The flash is erased/uploaded with the length of the selected 44
application (in main window for NOR) or partitions (in partition table window for NAND, 45
in this case all the blocks including the partitions are erased/uploaded and not 46
exactely the partitions binary files). 47
48
• Complete (for Erase only): The flash is completely erased. 49
For NAND flash, only the valid blocks are erased. 50
• Custom: The flash is erased/uploaded from “Address” + “Offset” to “Address” + 51
“Offset” + “Length”. 52
In reality, the granularity is the sector size of the flash and the length is rounded to the 53
54
start address of the next sector.
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
This option is available for a NAND flash device, but not functionnal for the First Block
custom address, because the normal process is to rewrite the First Block after 1
2
program or erase. Refer to the note below.
3
4
NOTES for NAND Flash: The FB is stored in the PC side prior to do any action on the
5
NAND flash. 6
In case of ‘Complete ‘option selected, the FB is erased first before the other blocks and is 7
not rewritten at the end of the process 8
In case of ‘Application size’ selected, the FB is erased only if it changed, after the 9
partitions programming or erasing, to be overwritten. 10
11
CalcSign command: This command allows to order and to get the signature computed 12
by the Boot ROM for an uprotected IC. The returned signature is in unencrypted (plain) 13
14
format.
15
For a protected IC, the signature is automatically requested to the Boot ROM by the tool. 16
In addition, selecting the command triggers the signature display in the trace information 17
window (both in encrypted/plain format for protected IC, plain format only for unprotected 18
d
IC) 19
20
21
se
Verify command (Nand Flash Only): This command allows to verify the data
programmed (page by page verification) or erased in the NAND flash (FFF everywhere). 22
23
Note that it is not available for PNX4910.
24
ea
Crc command (Nand Flash Only): This command allows to compute the Crc on a whole 25
26
partition. This Crc is checked when the partition is programmed into the NandFlash. If the
27
check fails, the download is stopped. This command is applied for all partitions. 28
el
29
BurnOtp command: This command allows to burn the chip One Time Programmable 30
register, using OTP data from the advanced window. 31
R
32
A pop-up window is displayed when the customer presses the ’START’ button in order to 33
confirm the action. 34
35
ReadOtp command: This command, available for PNX4908/10 ICs only, allows to read 36
the One Time Programmable register of the chip. The read values are displayed in the 37
advanced window. Restriction: the BurnOtp and ReadOtp boxes must not be 38
selected together in the same scenario. 39
40
41
42
5.1.3 Communication settings 43
RS232C / USB : This radio button allows to choose the communication link.When USB is 44
selected the COM port and Speed list are disabled. 45
46
47
COM port: This list allows to choose the PC’s UART COM port to use (COM1 to COM32).
48
49
Speed: This list allows to choose the UART communication speed (with Boot ROM and 50
Loader). The maximum speed depends on the software running on the target (Boot ROM 51
or Loader). If the selected speed is not supported by the software running on the target, 52
the previous speed is used. 53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
ROM and Loader softwares i.e. 115200 bauds for all devices.
20
21
Table 3.
se
Additional UART speeds for PNX4908 / 4910 chipsets:
22
Bits per second Boot ROM Loader 23
1152000 X 24
ea
25
1498000 X
26
2996000 X 27
28
el
29
Note that the Boot ROM of PNX4908 and PNX4910 does not support these speeds and 30
always uploads data at 115200 kbps. The other data rates are enabled by means of the 31
R
embedded flash loader after it is uploaded on the target by the host PC. 32
33
Most PCs support all the standard data rates for UART up to 115200 kbps. The speeds 34
above are not necessarily available with standard COM ports but can be easily achieved 35
with USB to UART convertors. This should be considered when setting UART 36
communication speed in the flash loader on the host PC. 37
38
To change the parity and number of stop bits to communicate with the Boot ROM, the 39
values are hereafter: 40
41
• parity = 0 for no parity, 1 for odd parity, 2 for even parity 42
43
• stopbit = 0, 1 for 1 stop bit and 2 for 2 stop bits 44
45
5.1.4 Buttons 46
47
Application binary file: Sets the path of the binary file to download (NOR flash only).
48
49
Start/Stop: This button allows to start the download.
50
Advanced: This button allows to set advanced settings (see Section 5.2 “Advanced 51
52
settings window”).
53
54
FlashDatabase viewer: This button allows to display/edit or modify the flash database
55
settings (see ). 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
20
Device N: Tab view to display events about download progress and errors 21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
Fig 25. Download status frame 43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
Fig 26. Download status frame - Yellow during process
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
Fig 27. Download status frame - Light blue after process 43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
Fig 28. Download status frame - Blue after process
20
21
se
22
5.2 Advanced settings window 23
24
This window allows to set the advanced settings of the Flash Loader.
ea
25
26
Jump delay (BootROM test purpose only): Specify the time the Boot ROM or Loader
27
must wait before executing the application. 28
el
This delay to jump to the application is only applicable in case of ‘Exec’ only or ‘Write’ and 29
‘Exec’ in RAM memory. In case of flash, the delay is applied after the ‘Write’ with the 30
Loader. By default the Jump delay value is zero. 31
R
32
Specify Customer ID (used for secure chipsets only): check this box in order to enter a 33
customer ID (used by security protocol). 34
35
If this option is checked (by default for devices supporting OTP), the customer ID must be
36
specified by the field “Customer ID“ otherwise the customer ID is taken from the binary 37
file. 38
For more details about security features (see Section 2.3 “Security features”). 39
40
Upload settings: Before executing the code in flash or RAM, the boot code can return to 41
the PC a number of bytes specified by the ‘Upload Length’ field. The bytes are copied 42
from the base address until the length specified in the ‘Upload Length’ field. Below select 43
the file in which the bytes will be saved. The base address is derived by the tool from the 44
45
address associated to the ‘Location’ selected in the main window. 46
These fields are active only if the ‘Upload’ command check-box in the main window is 47
enabled. 48
49
Loader binary file: An internal Loader binary file is embedded in the Flash Loader to 50
support the different flash devices. 51
For debug purpose, it is possible to use an external Loader binary file. This is to support a 52
new flash device or update a Loader version. This Loader could be downloaded into 53
54
SCRAM or into external RAM.
55
This choice could be made under control of the ComboBox “Location”. 56
With the ComboBox “Capability”, you must select the link capability of the external loader. 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
OTP data reading: This feature is available only for PL_ENTRY 4908/4910 ICs. 20
21
se
In order to read the OTP registers and lock bits, the ReadOtp box must be selected as a
scenario in the Main window. Then START button shall be pressed to launch the scenario. 22
23
Values are accessible in the advanced window, once “read OTP done” message is
24
displayed in MMI and user has pressed the STOP button (then can access the advanced
ea
25
window). 26
27
FormatBBM (Debug purposes only): It is not recommended for Flash Loader users 28
el
to use this option. This option allows the Flash Loader to re-format the RCB for the BBM. 29
Manufacturer Bad block information (BBI) shall never be re-formatted. To avoid the 30
31
R
manufacturer BBI being reformatted, the user shall ensure that the Flash record in the
32
Flash database contains the manufacturer BBI location information (BBI1 and BBI2 fields
33
to fill in). 34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Fig 29. Advanced window settings for PL_FEATURE 46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Fig 30. Advanced window settings for PL_ENTRY when burn OTP 47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Fig 31. Advanced window settings for PL_ENTRY when read OTP 47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Fig 32. Advanced window settings for PL_ENTRY when read or burn OTP Lock bits 46
47
48
49
50
5.3 Partition Table window 51
52
This window allows to set the partition table of the Flash Loader. The customer can select
53
up to 16 partitions. All the fields are read-only. They are filled from the partition file .ptt set 54
in browser window. 55
56
Name : The name of the partition. 57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
Path: The path where the PC application can find the binary for this partition. 1
2
3
Size: Total size of the partition in bytes, including bytes within invalid blocks and unused 4
(margin) blocks. 5
6
Content: 32-bit total content size, not including bytes within invalid blocks or margin 7
blocks. Data starts at the first byte of the first valid block of the partition and extends in 8
contiguous bytes and blocks for content size bytes. The contiguous arrangement is 9
broken when an invalid block occurs; invalid blocks are re-mapped inside the Reservoir 10
11
Block.
12
13
Margin: The difference between the size and the content size. 14
15
Selected : When this check-box is selected, the partition is erased (if ‘Erase’ selected in 16
the main window) and programmed (if Programm is selected in the main window). The 17
partition table in the first block will then reflect modification if ‘Erase’ only is selected in the 18
d
main window. 19
20
21
se
22
Browse: This button is used to select the .ptt file path/name for the partition table. 23
24
ea
When the user wants to re-program only one partition, it is under the user responsability to 25
check if this new partition could be fit in the old partition in term of size and offset. 26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
Fig 33. Partition Table window settings 37
38
5.3.1 Partition Table File Syntax 39
40
The .ptt file could be built using STE PBuilder tool or using a WordPad editor. The syntax 41
is as follows: 42
up to 16 partitions. All the fields are read-only. They are filled from the partition file .ptt set 43
in browser window. 44
[partition table config start] 45
number_of_partition = “number of partitions defined in this file” 46
BootNand = “path of the BootNand File” 47
bootnand_major_version = ”major bootnand version see Section 5.3.2” 48
49
bootnand_minor_version = “minor bootnand version related to BBM (RCB) used by the
50
bootnand.bin see Section 5.3.3” 51
[partition#01] “description for the partition number 1” 52
partition_id = “id of the partition” 53
partition_name = “name of the partition” 54
partition_path = “path of the binary for this partition” 55
partition_offset = “offset in bytes, in the NandFlash, for this partition” 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
contains SySol volume and it will be formatted if mounts failed 19
20
partition_garbage_collector_enabled_volume=”boolean 0 or 1 to determine if partition
21
se
contains SySol volume and the background garbage collections is enabled for this volume 22
partition_usb_access_volume=”boolean 0 or 1 to determine if partition contains SySol 23
volume and it can be accessed over USB from PC. 24
ea
29
Note: since PNX6529 target has been added to 7.3, we also support in 7.3 a variant 30
version using SWboot instead of Bootnand (all other .ptt lines are the same). 31
R
32
[partition table config start] 33
number_of_partition = “number of partitions defined in this file” 34
SWboot = “path of the SWboot File” 35
SWboot_layout_major_version = ”major SWboot version see Section 5.3.2” 36
SWboot_layout_minor_version = “minor SWboot version related to BBM (RCB) used by 37
38
the swboot.bin see Section 5.3.3”
39
[partition#01] “description for the partition number 1” 40
41
42
43
44
5.3.2 BootNand Major and SWboot Major versions 45
The boornand_major_version can be one of the following values: 2, 3 or 4 46
47
The SWboot_layout_major_version can be of the following values: 5 48
49
Please refer to Ref. 12 for more information 50
51
52
5.3.3 BootNand or SWboot Minor Version
53
The bootnand_minor_version or the SWboot_layout_minor_version must be set as 54
described in following table: 55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
5.3.4 Bad Block Management 20
21
se
Over the lifetime of the device additional Bad Blocks may develop and are identified 22
through: 23
24
ea
• Attempt to program or erase them reports errors in the Nand Flash Status Register. 25
26
• Verify option reports errors: ECC uncorrectable error or read/write comparison 27
mismatch. 28
el
29
A bad block has to be remapped to a valid block in the Reservoir Control Block. The 30
Reservoir Control Block is an area at the end of the Nand Flash that stores the “bad block 31
R
re-mapping to valid block” information and valid blocks used to remap the bad blocks (and 32
so store blocks data). 33
34
The mapping of bad blocks to reservoir blocks is stored in one (BBM v1, v2) or two tables 35
(BBM v3). The table must fit into one block and a copy of it is also available in the RCB. 36
When programming a block, the BBM is used to translate the block logical address (virtual 37
38
block number) into a block physical address (physical block number). The BBM checks if
39
virtual block number corresponds to a bad block, if it does, it will translate it into a mapped 40
physical block number (in reservoir control block), if it does not (block is valid), it will not 41
remap it and only match it to the corresponding physical block number. 42
43
44
45
46
5.4 Flash Database Editor window 47
48
This window allows to display, edit, modify or add a flash device record in the database. 49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
Fig 34. Flash database editor
28
el
29
By expanding the tree view, the user can display, for a selected flash, the Manufacturer ID 30
and the flash device ID0,1,2,3. 31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Fig 35. Flash database editor : Edit menu 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
• Modify the flash parameters in Edit mode.
20
• Display the flash parameters in Display mode. 21
se
• Flash Identification, Capacity, Timings are dedicated for the generic flash parameters 22
23
• Nor Flash Parameters, Nor Flash Command Type, “External Memory 24
ea
• Nand Flash Parameters, “External Parallel Interface” Timings are dedicated for the 29
nand flash parameters 30
31
R
• All the parameters must be found into the flash device datasheet. 32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Fig 36. Flash database display/edit window 50
51
When the user press OK, the flash database check all the parameters, if an error occurs, 52
the specified parameter is colored with a specific color 53
54
• RED : the error is : “PARAM_NOT_SUPPORTED” 55
• ORANGE : the error is : “PARAM_TOOSMALL” 56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
20
21
se
22
23
24
ea
25
26
27
28
el
29
30
31
R
32
33
34
35
36
37
38
39
40
41
42
43
Fig 37. Flash database editor 44
45
46
5.5 Scenario for consecutive dowload execution 47
48
5.5.1 Single & Multiple download over UART or USB 49
1. Select actions to be executed on the Target and number of targets to Flash 50
(multi-download case). 51
52
2. Press the Start Button. 53
54
3. Connect on power on the board(s) device(s). 55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
4. Wait for end of scenario execution : “Slot freed for new download“ in the Download
status frame(s). 1
2
5. Disconnect the board(s) device(s) 3
4
6. Repeat 3/, 4/ and 5/ several times if needed. Be careful to connect the same device 5
family. 6
7
7. Then press Stop Button to finish scenario execution several times per slot. 8
9
10
5.5.2 Power on Sequence
11
In the Flash Loader MMI, press the START button then follow next steps on boards: 12
13
• 651x boards: 14
– Plug USB Cable from PC host to board 15
16
– Force backdoor (if flash is not virgin) by pressing 3 keys 17
– And finally power on the board 18
d
19
• 522x / 67xx boards: 20
21
se
– Force backdoor (if flash is not virgin) by pressing 3 keys
22
– Then, power on the board 23
– And finally, plug USB cable from host to board. 24
ea
25
• 4908, 4910 boards/mobile phones: 26
– Unplug the power from the board/device, connect it to the host PC. 27
28
el
– Start flash loader application on the host PC, select required actions (Erase / 29
Program / Execute etc.), set communication parameters (UART+speed / USB), 30
press “Start” button. 31
R
32
– Insert the battery or connect the device to its external power supply unit.
33
– In case you program mobile phone, you may need to press its power key and hold 34
it until the flash loader application on the host PC displays in the trace window that 35
the “1st loader has been loaded” or an error (if it happens). 36
37
– Release the power key. The rest of the process goes autonomously. 38
39
5.5.3 WARNING for Multiple download over USB 40
IMPORTANT: During download, a device slot number (Tabs “Device N“ in the download 41
42
status frame) corresponds to a USB physical link and the target plugged on it.
43
For next download, the device slot number may not correspond to the previously used 44
45
USB physical link:
46
47
For next download (new detected device), the Flash Loader application uses the
48
first free slot. 49
50
5.5.4 WARNING for a scenario over UART with “EXEC” command 51
IMPORTANT: Consecutive scenario executions without pressing STOP and START 52
buttons are not allowed. 53
54
1. Select actions to be executed on the Target. 55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
d
19
Follow events and indications in the trace (see Figure 25 “Download status frame”). 20
21
se
4. The Flash Loader waits for a connection request from the target: reset the platform to
22
establish the connection. 23
5. The Flash Loader displays the Product ID, SCROM and Chipset versions. 24
ea
25
6. If the device is RAM see step 9, if the device is flash see step 7.
26
7. The Loader is loaded and then run. 27
28
el
32
33
5.7 Scenario for NAND flash 34
35
1. Power on the platform. 36
2. Start the Flash Loader software by running the bfloader.exe file. 37
38
3. When all the parameters are set (see Section 5.1 “Main window” , Section 5.2
39
“Advanced settings window” and Section 5.3 “Partition Table window”), begin the 40
download by clicking on the ’START’ button. Follow events and indications in the trace 41
(see Figure 25 “Download status frame”). 42
4. The Flash Loader waits for a connection request from the target: Reset the platform to 43
44
establish the connection.
45
5. The Flash Loader displays the Product ID, SCROM and Chipset versions. 46
47
6. The Loader is loaded and then run.
48
7. The NAND flash type is detected. 49
8. The FB is downloaded into the PC. 50
51
9. All the partitions with check box ‘Selected’ checked are programmed. 52
A “progress bar” indicates the progression. 53
54
10. If the FB needs an update, it is programmed.
55
56
57
PL-FEATURE_BOOT-FLASH-LOADER_UM © NXP B.V. 2010. All rights reserved.
Once BurnOtp is selected go into the advanced When the advanced window has been opened
window by clicking on the “Advanced...” button. The after a burning run and is closed by pressing the
advance window displays an OTP section with many “Cancel” button, if a new run is started by
tabs that allow to program selected registers or lock pressing the “START” button in the main window,
bit. Each register is identified by its address. Write the the flashloader will try to burn the same registers
d
value to be burnt in the input box near the as in the previous run.
corresponding address and check the box next to the
If you close the advanced window by pressing the
se
input box. If the box is not checked, the corresponding
register will not be burnt. In the example the register “OK” button without having done any modification, the
@227 will not be burnt. It is possible to burn many flasloader will do nothing on a new run because no
registers in the same run. The “OTP lock bits” tab check box are selected.
ea
d
ctrl where lock_keyword is a keyword that
identifies the lock bit and ctrl is 1 if the value must
se
be burnt, 0 if not. The lock keywords are: rtc_lock,
otp_lock, trim_lock, charger_lock,
anti_rollback_lock, arm_jtag_lock,
ea
sec_boot_lock, sec_keys_lock.
target_name PNX4910
0x100 0x12345678 1
R
rtc_lock 1
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
Fig 41. OTP burning status messages: some registers were already written
d
se
ea
el
R
Fig 42. The advanced window will reflect the Device2 registers content
d
se
ea
el
R
d
se
ea
el
R
Fig 44. The advanced window when loading OTP values from a file
d
advanced window, select the other device in the main
window and re-open the advanced window.
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
8. References
R
d
NXP Semiconductors MST-SYSOL, 01
December 2005
se
[12] NANDFLASH for Nexperia TM System
Solution - Software Interface
Specification — VYn_ps18566 - Version 3.0,
ea
9. Appendix
d
105 COMERR_SETEVENT Error during set Event
106 COMERR_CLOSEHANDLE
se Error during close Event
107 COMERR_MEMORYALLOC Error during memory allocation
108 COMERR_INVALIDTARGET Wrong target type
ea
d
601 COMERR_LDSTALL USB STALL message send by the LOADER, the receive
is in DfuIdle state
se
602 COMERR_USBERR USB Error
603 COMERR_ERASE_ONE_BLOCK Error during erase one block for NandFlash
ea
d
800 COMERR_FLASH_NOT_DETECTED The flash memory device is not detected in embedded
se
side : the manufacturer ID is not recognized in the known
list (refer to FL Delivery Note to see known list).
801 COMERR_FLASH_NOT_FOUND The flash memory is recognized in the embedded side
ea
10. Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 3.2.2.2 USB CTO/LIPP driver (52xdfu) update and
1.1 Purpose and scope. . . . . . . . . . . . . . . . . . . . . . 4 uninstall procedures . . . . . . . . . . . . . . . . . . . . 29
1.2 Flashloader versions and applicable devices . . 4 3.2.2.3 USB CTO/LIPP and external USB drivers install
1.3 Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
1.4 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.3 File interface . . . . . . . . . . . . . . . . . . . . . . . . . 34
2 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4 Uninstallation. . . . . . . . . . . . . . . . . . . . . . . . . . 35
2.1 Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 4.1 Uninstall procedures . . . . . . . . . . . . . . . . . . . 35
2.1.1 Software components . . . . . . . . . . . . . . . . . . . . 8 4.1.1 Manual uninstall . . . . . . . . . . . . . . . . . . . . . . . 35
2.1.2 Hardware components . . . . . . . . . . . . . . . . . . . 8 4.1.2 Automatic uninstall. . . . . . . . . . . . . . . . . . . . . 35
2.2 General principle of downloading . . . . . . . . . . . 8 5 User interface . . . . . . . . . . . . . . . . . . . . . . . . . 36
2.2.1 PL Feature and PL Entry ICs: UART downloading 5.1 Main window . . . . . . . . . . . . . . . . . . . . . . . . . 36
process differences. . . . . . . . . . . . . . . . . . . . . . 8 5.1.1 Target settings . . . . . . . . . . . . . . . . . . . . . . . . 38
2.2.2 USB Back Door (for PL Feature basebands) . . 9 5.1.2 Scenario settings . . . . . . . . . . . . . . . . . . . . . . 39
2.2.2.1 Hardware backdoor . . . . . . . . . . . . . . . . . . . . . 9 5.1.3 Communication settings. . . . . . . . . . . . . . . . . 40
2.2.2.2 Software backdoor . . . . . . . . . . . . . . . . . . . . . . 9 5.1.4 Buttons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2.2.3 Download into external RAM . . . . . . . . . . . . . . 9 5.1.5 Download status and Multiple device frame (USB
d
2.2.4 Download into SCRAM . . . . . . . . . . . . . . . . . . 11 / UART) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2.2.5 Download into NOR flash (single file and multiple 5.2 Advanced settings window. . . . . . . . . . . . . . . 44
file programming) . . . . . . . . . . . . . . . . . . . . . . 12
se 5.3 Partition Table window . . . . . . . . . . . . . . . . . . 49
2.2.6 Download into DDRAM memory. . . . . . . . . . . 14 5.3.1 Partition Table File Syntax . . . . . . . . . . . . . . . 51
2.2.7 Download into NAND flash . . . . . . . . . . . . . . . 15 5.3.2 BootNand Major and SWboot Major versions 52
2.2.8 Download into OneNand flash . . . . . . . . . . . . 16 5.3.3 BootNand or SWboot Minor Version . . . . . . . 52
ea
2.3.6 Download into NOR flash with a protected device 5.5.4 WARNING for a scenario over UART with “EXEC”
(PL_ENTRY family) . . . . . . . . . . . . . . . . . . . . 19 command . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
2.3.7 Download into NAND flash with a protected device 5.6 Scenario for RAM and NOR flash . . . . . . . . . 59
(PL_FEATURE family) . . . . . . . . . . . . . . . . . . 19 5.7 Scenario for NAND flash . . . . . . . . . . . . . . . . 59
2.3.8 Download into NAND flash with a protected device 6 Burning and reading OTP. . . . . . . . . . . . . . . . 60
(PL_ENTRY family) . . . . . . . . . . . . . . . . . . . . 20
6.1 Burning OTP on PL_ENTRY targets . . . . . . . 60
3 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.2 Reading OTP on PL_ENTRY targets. . . . . . . 69
3.1 Flash Loader installation procedures . . . . . . . 21 7 Restrictions for Multiple Download feature . 73
3.1.1 Msi Installer. . . . . . . . . . . . . . . . . . . . . . . . . . . 21
7.1 USB Limitations . . . . . . . . . . . . . . . . . . . . . . . 73
3.1.2 Zip package . . . . . . . . . . . . . . . . . . . . . . . . . . 25
7.2 UART Limitations . . . . . . . . . . . . . . . . . . . . . . 73
3.2 USB driver installation procedures . . . . . . . . . 25
3.2.1 Flash Loader setting for USB download . . . . . 25 8 References. . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
3.2.1.1 Internal loader setting . . . . . . . . . . . . . . . . . . . 26 9 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
3.2.1.2 External Loader setting. . . . . . . . . . . . . . . . . . 26 9.1 Error codes list . . . . . . . . . . . . . . . . . . . . . . . . 75
3.2.2 USB driver (CTO/LIPP and external user) install / 10 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
uninstall / update procedure . . . . . . . . . . . . . . 28
3.2.2.1 USB CTO/LIPP driver (52xdfu) installation. . . 28
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R
d
se
ea
el
R