文档库

最新最全的文档下载
当前位置:文档库 > 88MZ100_Manufacture_ Flash_ Program_CN

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100_Manufacture_ Flash_ Program_CN

For more information, visit our website at: http://www.wendangku.net/doc/5811efaf2b160b4e777fcf34.html

Disclaimer

No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose, without the express written permission of Marvell. Marvell retains the right to make changes to this document at any time, without notice. Marvell makes no warranty of any kind, expressed or implied, with regard to any information contained in this document, including, but not limited to, the implied warranties of merchantability or fitness for any particular purpose. Further, Marvell does not warrant the accuracy or completeness of the information, text, graphics, or other items contained within this document.

Marvell products are not designed for use in life-support equipment or applications that would cause a life-threatening situation if any such products failed. Do not use Marvell products in these types of equipment or applications.

With respect to the products described herein, the user or recipient, in the absence of appropriate U.S. government authorization, agrees:

1) Not to re-export or release any such information consisting of technology, software or source code controlled for national security reasons by the U.S. Export Control Regulations (“EAR”), to a national of EAR Country Groups D:1 or E:2;

2) Not to export the direct product of such technology or such software, to EAR Country Groups D:1 or E:2, if such technology or software and direct products thereof are controlled for national security reasons by the EAR; and,

3) In the case of technology controlled for national security reasons under the EAR where the direct product of the technology is a complete plant or component of a plant, not to export to EAR Country Groups D:1 or E:2 the direct product of the plant or major component thereof, if such direct product is controlled for national security reasons by the EAR, or is subject to controls under the U.S. Munitions List (“USML”).

At all times hereunder, the recipient of any such information agrees that they shall be deemed to have manually signed this document in connection with their receipt of any such information.

Copyright ? 2014. Marvell International Ltd. All rights reserved. Marvell, the Marvell logo, Moving Forward Faster, Alaska, Fastwriter, Datacom Systems on Silicon, Libertas, Link Street, NetGX, PHYAdvantage, Prestera, Raising The Technology Bar, The Technology Within, Virtual Cable Tester, and Yukon are registered trademarks of Marvell. Ants, AnyVoltage, Discovery, DSP Switcher, Feroceon, GalNet, GalTis, Horizon, Marvell Makes It All Possible, UniMAC, and VCT are trademarks of Marvell. Intel Xscale is a trademark or registered trademark of Intel Corporation or its subsidiaries in the United States and other countries. All other trademarks are the property of their respective owners.

http://www.wendangku.net/doc/5811efaf2b160b4e777fcf34.html

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

目录

目录 (2)

1.88MZ100 工厂烧写工具 (3)

1.1硬件和操作系统需求 (3)

1.1.1硬件需求 (3)

1.1.2操作系统 (3)

1.2支持的芯片 (3)

2.使用指南 (4)

2.1主界面 (4)

2.2主要流程 (5)

2.3Setting.ini (5)

2.4Config.ini (7)

2.5ImgFile.txt (8)

2.6日志 (9)

2.7MAC Address 文件 (9)

2.8注意事项 (10)

3.举例 (11)

3.1Setting.ini (11)

3.2Config.ini (11)

3.3ImgFile.txt (12)

4.88MZ100 工厂烧写工具性能 (14)

88MZ100 工厂烧写工具1. 88MZ100 工厂烧写工具

88MZ100 工厂烧写工具是用于88MZ100片内flash的工厂批量生产。它包含以下功能

●支持串口烧写

●支持同时烧写1~8 颗芯片

●支持0~1个hex文件, 0~10 个bin和1 个advanced bin文件

1.1 硬件和操作系统需求

1.1.1 硬件需求

支持的串口:

●PC 标准串口,支持最大波特率:115200.

●USB 转串口,支持最大波特率:115200.

●PCI-E 转串口,支持最大波特率:115200.

1.1.2 操作系统

●32位 Microsoft Windows XP

●32位 Microsoft Windows 7

1.2 支持的芯片

Marvell 88MZ100

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

2. 使用指南

2.1 主界面

图1:88MZ100工厂烧写工具无MAC address 的主界面

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具图2:88MZ100工厂烧写工具有MAC address 的主界面

88MZ100_Manufacture_ Flash_ Program_CN

2.2 主要流程

1. 配置“Setting.ini”

2. 配置“Config.ini”

3. 配置“ImgFile.txt”

2.3 Setting.ini

这个文件是用于配置波特率,芯片个数和MAC address使用情况

格式:

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

Baud_Rate:

Device_Number:

Com_Port:

MAC_ENABLE:

MAC_AUTO_INCREASE:

MAC_INFO:

CUSTOMER_MAC_FILE:

MAC_FAIL_LOG:

###

注释:

1) Baud_Rate: 传输速率

2) Device_Number: 一次烧写的芯片个数

3) Com_Port: 通信的串口号

4) MAC_ENABLE: 0 - 无MAC address

1 - 有 MAC address

5) MAC_AUTO_INCREASE: 0 - MAC address 不自动增加

1 - MAC address 自动增加

2 - 使用“MAC_Information.txt”文件里MAC address

3 - 使用客户自己的MAC 文件

6) MAC_INFO: 格式: [MAC address];[Flash address]

例子: 667788ac123456f8;7FFF0

7) CUSTOMER_MAC_FILE: 格式: [客户MAC文件名]

例子: PAR.txt

8) MAC_FAIL_LOG: 0 - 不生成MAC address烧写失败日志

1 - 生成MAC address烧写失败日志

88MZ100 工厂烧写工具

注意:

1. 串口的个数必须和Device_Number 的值一样。

2. 参数之间无空格。

3. Flash address 是16进制数。

4. 如果MAC_AUTO_INCREASE 开启,MAC address 将会自动加1 并保存到Setting.ini 文件中。

5. 当MAC_AUTO_INCREASE 的类型是使用“MAC_Information.txt”文件里的MAC address,

MAC_FAIL_LOG 这个配置有效。MAC_FAIL_LOG 配置项为不生成MAC address烧写失败日志时,

将会自动删除“MAC_Information.txt”里烧写成功的MAC address。MAC_FAIL_LOG 配置项为生

成MAC address烧写失败日志, “MAC_Information.txt”文件不会有任何改动并且烧写失败的MAC

address 信息将会保存在"MAC_Fail.log"文件中。

2.4 Config.ini

这个文件是用于记录88MZ100加载代码时所需的信息。

●格式:

Uart_Number:

Uart_Location:

Uart_BaudRate:

Boot_Delay:

CRC:

###

●注释

1) Uart_Numbert: 通信使用的Uart类型

0 - Uart1

1 - Uart2

2) Uart_Location: 绑定Uart 功能的GPIO 管脚

Uart1: 0 - GPIO 19, 20

1 - GPIO 2, 3

2 - GPIO 8, 9

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

3 - GPIO 10, 11

4 - GPIO 24, 25

5 - GPIO 26, 27

Uart2: 0 - GPIO 4, 6

1 - GPIO 6, 7

2 - GPIO 21, 22

3) Uart_BaudRate: 下次芯片通信时的波特率

4) Boot_Delay: 加载代码的延时时间

0 - 20ms

1 - 40ms

2 - 1s

3 - 2s

4 - 3s

5) CRC: 代码加载时进行校验

0 - CRC-16-CCITT

1 - CRC-16-IBM

2 - CRC-16-T10-DIF

3 - CRC-32-IEEE

7 - 无校验

注意:

1. 如果烧写的是文件是bin文件,Config.ini 文件无效。

2.5 ImgFile.txt

用于记录要烧写的文件。

Hex

格式:HEX:[文件路径]

88MZ100 工厂烧写工具

例子:HEX:C:\Users\gongy\Desktop\New_folder\New_folder\MyTest_1F_last.hex

●Bin

格式:BIN:[文件路径];[Flash Address]

例子:BIN:C:\Users\gongy\Desktop\readback1.bin;6e000

●Advanced bin

格式:ADVANCED_BIN:[ 文件路径]

例子:ADVANCED_BIN: C:\Users\gongy\Desktop\New_folder\default.bin

注意:

1. 参数之间无空格。

2. Flash Address 是16进制数。

3. 支持0~1个hex 文件,0~10个bin和1个advanced bin文件。

2.6 日志

88MZ100工厂烧写工具会生成两种日志文件。一种是记录整个烧写的信息和结果,另一种是记录MAC address烧写失败的信息。

2.7 MAC Address 文件

该文件是用于MAC 信息包括MAC address 和 Flash address。如果在Setting.ini 文件中将

MAC_AUTO_INCREASE设置为从文件读出,MAC address将会使用MAC_Information.txt里的MAC 信息。MAC_Information.txt保存在“Bin“文件夹中。

2.8 客户MAC 文件

该文件是用于记录灯的类型和MAC 信息。如果在Setting.ini 文件中将MAC_AUTO_INCREASE设置为使用客户MAC文件,MAC address将会使用客户MAC文件里的MAC 信息。客户MAC文件保存在

“CustomerFile“文件夹中。

格式:

Light Type:

Start MAC Address:

End MAC Address:

Flash Address:

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

Current MAC Address:

###

例子:

Light Type:PAR

Start MAC Address:00158d000031782b

End MAC Address:00158d0000317900

Flash Address:7fff0

Current MAC Address:00158d000031782b

###

2.9 注意事项

1. 为保证工具使用成功,要先点击工具上的“Start”按钮,再复位芯片。

88MZ100 工厂烧写工具

3. 举例

本章节给出了一个具体的例子,该实例的配置是同时烧写8个芯片,文件是1个hex文件和一个bin文

件,波特率是 115200。

3.1 Setting.ini

该实例的波特率是115200, 芯片个数8个. MAC address 自动增加。 MAC address 的初始地址是

667788ac123456f8 and MAC address在flash里的地址是 0x7fff0. MAC address将会自动增加。

见图3:

图 3:Setting.ini

88MZ100_Manufacture_ Flash_ Program_CN

3.2 Config.ini

该实例配置Uart2 ,Uart2绑定的管脚是GPIO4,6, 下次通信的波特率是115200,代码加载的延时时间是1s,CRC 校验禁用。见图4:

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

图 4:Config.ini

88MZ100_Manufacture_ Flash_ Program_CN

3.3 ImgFile.txt

该实例烧写一个hex文件和一个bin文件,Bin文件在flash里的起始地址是0x50000。见图 5:

88MZ100 工厂烧写工具图5:ImgFile.txt

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100_Manufacture_ Flash_ Program_CN

88MZ100 工厂烧写工具

4. 88MZ100 工厂烧写工具性能

本文档给出的性能是参考性能。实际的烧写性能与文件大小,电脑本身的性能,串口的速度等等都有关。

测试环境:

●88MZ100 工厂烧写工具的版本:v1.0.0

●主机:台式机

表1: 88MZ100 工厂烧写工具性能

88MZ100_Manufacture_ Flash_ Program_CN

No part of this document may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, for any purpose, without the express written permission of Marvell. Marvell retains the right to make changes to this document at any time, without notice. Marvell makes no warranty of any kind, expressed or implied, with regard to any information contained in this document, including, but not limited to, the implied warranties of merchantability or fitness for any particular purpose. Further, Marvell does not warrant the accuracy or completeness of the information, text, graphics, or other items contained within this document.

Marvell products are not designed for use in life-support equipment or applications that would cause a life-threatening situation if any such products failed. Do not use Marvell products in these types of equipment or applications.

With respect to the products described herein, the user or recipient, in the absence of appropriate U.S. government authorization, agrees:

1) Not to re-export or release any such information consisting of technology, software or source code controlled for national security reasons by the U.S. Export Control Regulations ("EAR"), to a national of EAR Country Groups D:1 or E:2;

2) Not to export the direct product of such technology or such software, to EAR Country Groups D:1 or E:2, if such technology or software and direct products thereof are controlled for national security reasons by the EAR; and,

3) In the case of technology controlled for national security reasons under the EAR where the direct product of the technology is a complete plant or component of a plant, not to export to EAR Country Groups D:1 or E:2 the direct product of the plant or major component thereof, if such direct product is controlled for national security reasons by the EAR, or is subject to controls under the U.S. Munitions List ("USML").

At all times hereunder, the recipient of any such information agrees that they shall be deemed to have manually signed this document in connection with their receipt of any such information.

Copyright ? 2007. Marvell International Ltd. All rights reserved. Marvell, the Marvell logo, Moving Forward Faster, Alaska, Fastwriter, Datacom Systems on Silicon, Libertas, Link Street, NetGX, PHYAdvantage, Prestera, Raising The Technology Bar, The Technology Within, Virtual Cable Tester, and Yukon are registered trademarks of Marvell. Ants, AnyVoltage, Discovery, DSP Switcher, Feroceon, GalNet, GalTis, Horizon, Marvell Makes It All Possible, RADLAN, UniMAC, and VCT are trademarks of Marvell. All other trademarks are the property of their respective owners.