⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 8051fxxxx的flash下载软件
💻 TXT
字号:
		---------------------------------------------------------
                 Cygnal Integrated Products version 1.5 Readme File
                                           2003
            ---------------------------------------------------------



This document provides information that supplements the Cygnal Command Line Interpreter. 
Place CygUtil.lib and CygUtil.dll in the same directory as the FlashUtilCL.exe program.

The Cygnal Command Line Interpreter provides three different functions. The "download" function 
provides for the download of a single Intel type hex file. The "FLASHErase" function will erase
the FLASH of a device which has been locked. The "MultiDevice" function will program multiple Cygnal 
JTAG devices arranged in a JTAG chain. The function programs one device at a time in the chain, it will 
connect, download, and the disconnect with the specified device. More information on Multi-device JTAG 
programming can be found in AN017 section 3.6.

USAGE: 
	FLASHUtilCL.exe [Function] [Argument 1] [Argument 2] [Argument 3]...

Functions:

	Download [-Option Flags] [file.hex] [COM Port] [Debug Interface] [Baud Rate Index]

	FLASHErase [COM Port] [Debug Interface]
	
	MultiDevice [-Option Flags] [file.hex] [COM Port] [Debug Interface] [DevicesBeforeTarget] [DevicesAfterTarget] 	[IRBitsBeforeTarget] [IRBitsAfterTarget]

COM Port:

	1 - COM1
	2 - COM2
	3 - COM3
	4 - COM4
 	
Debug Interface:

	0 - JTAG Debug Interface
	1 - Cygnal 2-Wire Debug Interface(F3XX devices)

Baud Rate Index:	
	0 - Autobaud
	1 - 115200 kbps
	2 - 57600 kbps
	3 - 38400 kbps
	4 - 9600 kbps
	5 - 2400 kbps

Options: 

	E - Full Erase (Erases all of User Space including Lock Bytes)
	R - Set Run State at download completion (default= halt)
	S - ONLY for use with F02X devices! Use this option if you wish
	    to download your hex file to the Scratchpad Memory on F02X devices.
          Address range is 0000 to 007f.
	B1 - Download to bank 1
	B2 - Download to bank 2
	B3 - Download to bank 3

Devices Before Target:

	The number of devices in the JTAG chain before the Target Device.

Devices After Target:

	The number of devices in the JTAG chain after the Target Device.

IRBits Before Target:

	The sum of the instruction register bits before the Target Device in the JTAG chain.

IRBits After Target:

	The sum of the instruction register bits after the Target Device in the JTAG chain.

Examples: 
	FLASHUtilCL download -RE blink.hex 1 0 0
	FLASHUtilCL download blink.hex 1 1 0
	FLASHUtilCL flasherase 1 0
	FLASHUtilCL multidevice -RE blink.hex 1 0 1 0 16 0
	FLASHUtilCL download -B1R blink.hex 1 0 0
	FLASHUtilCL multidevice -REB1 blink.hex 1 0 1 0 16 0
	



RETURN CODES:

	0	No Errors.
	1	File name or path Error
	2	Com Port Error.
	3	Download Sequence Error.
	4	Reset Sequence Error.
	5	Device Erase Error.
	6	Set Run Mode Error.
	7	Error Closing COM Port
	8	Invalid command line options
	9	Invalid Device Number Error (Multi Device only)
	10	Invalid Instruction Register bit Error (Multi Device only)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -