                           <<<< Read Me First >>>>
                           u-Link NT/u-Link NAND/USBJTAG NT/USBBDM NT
***Disclaimer:     ***
u-Link NT,USBJTAG NT and USBBDM NT are development tools.
Use u-Link NT,USBJTAG NT (USBBDM NT)at your own risk.
We take no responsibility damage or loss.
***Disclaimer Ends ***
*** Please give feedback to the software to improve the software ******
Email to usbbdm@usbjtag.com or go to forum at http://www.usbjtag.com/phpbb3
**************************************************************************
* Jan 11,2026
* 1.89 P08VPW, P10 VPW suport
**************************************************************************
* Dec 17,2025
* 1.88 Add P04 VPW support.
**************************************************************************
* Nov 22,2025
* 1.87 Fix bug in SPC5605, Support unlimited nested script.
**************************************************************************
* Nov 9,2025
* 1.86 Add Writevin command. 
**************************************************************************
* Oct 20,2025
* 1.85 Fix minor bugs.
**************************************************************************
* Sept 17,2025
* 1.84a Fix crash when doing online activation. Cloudflare ddos counter attack
* Add ECUE67ACAN target
**************************************************************************
* Sept 14,2025
* 1.84 Fix the display on dark OS theme. Add checksum compare.
**************************************************************************
* Aug 28,2025
* 1.83 E40 salve programming bug fix. Works under Virtualbox. Fix can bus read/hang issue.
**************************************************************************
* Aug 23,2025
* 1.82 Rebuild 64 bit. u_link NAND support. VPW targets
**************************************************************************
* July 15,2025
* 1.81 Rebuild kernels for can bus stability read.
**************************************************************************
* July 11,2025
* 1.80 Add support for ECU E40 slave read/write
**************************************************************************
* July 3,2025
* 1.79 Fix BAM bug (found in E92). 
* Improve CAN read (halt sometime)
* Add back BDM NT software for MC683XX CPU.
**************************************************************************
* June 7,2025
* 1.78 Add cursor display for hex editor.
* Add ECU E40 CAN.
**************************************************************************
* Mar 18,2025
* 1.76 Add protect flag to protect flash. New T87A unlock.
* Mar 25,2025
* 1.76a Fix minor box of e200 JTAG when DEBUG ON. Add E80 JTAG
**************************************************************************
* Mar 9,2025
* 1.75 Add hex edit feature. Also add CRC32 and checksum display
* Mar 12, 2025
* 1.75a fix the some bugs.
**************************************************************************
* Mar 3,2025
* 1.74 Make MPC5XXX external config. Add scankey.
**************************************************************************
* Feb 18,2025
* 1.73 Fix some crashes on readcan commands
* 1.73a Minor error in readcan command
**************************************************************************
* Feb 9,2025
* 1.72 Fine tuing UI on high res monitor.Default value changes.
**************************************************************************
* Jan 13,2025
* 1.71
* 1. Fix E37 BDM issue.
* 2. RFHUB CAN support.
**************************************************************************
* Dec 30,2024
* 1.70
* 1. Fix JTAG issue on E39/A target. Skip in reading for e200 target.
**************************************************************************
* Dec 27,2024
* 1.69
* 1. Fix issue with Bosch Radar JTAG
* 2. Make the default folder to system document.
**************************************************************************
* Dec 21,2024
* 1.68
* 1. Support 16MHz MCP2515 board.
* 2. Add STOP button for CAN logger and can relay
**************************************************************************
* Dec 19,2024
* 1.67
* 1. Fix the can relay
* 2. Fix the BAM issue.
* 3. Fix run script within script
**************************************************************************
* Dec 15,2024
* 1.66
* 1. Dialog controls using script.
* 2. Add read parameter commands for can bus
* 3. Rearrange the data file to data folder
**************************************************************************
* Nov 26,2024
* 1.65
* 1. RFHUB Can bus support
**************************************************************************
* Oct 26,2024
* 1.64
* 1. 9S12XEG384 EEPROM support
**************************************************************************
* Sept 30,2024
* 1.63
* 1. 9S12XEG384 support. Other 9S12XEGXXX also supported.
**************************************************************************
* Sept 19,2024
* 1.62
* 1. MPC5665, SPC5605,SPC5606,SPC5607 support
* 2. E83 CAN tested.
**************************************************************************
* Aug 29,2024
* 1.61
* 1. MC9S08 support. T87A and E80 slave tested.
**************************************************************************
* Aug 16,2024
* 1.60
* 1. Add MPC5XXXboot can bus target. T87A engineering mode.
**************************************************************************
* July 25,2024
* 1.59
* 1. Fix minor bugs.
* 2. Add can bus relay.
***************************************************************************
* July 10,2024
* 1.58a
* 1. Fix bug with slave programming.
**************************************************************************
* July 4,2024
* 1.58
* 1. MPC5676 and ECU E80 CAN BUS.
* 2. Fix issue with scan algo.
**************************************************************************
* June 1,2024
* 1.57
* 1. Change the canbus config
* 2. Allow config both five bytes seed and two byte seed.
* 3. Add can logger to diag the issue.
**************************************************************************
* May 26,2024
* 1.56
* 1. Add JTAG MPC5674
* 2. GM 5 bytes seed key support.
* 3. E92 Canbus and bam mode.
**************************************************************************
* May 13,2024
* 1.55
* 1. Add auto verify after programming
* 2. Add E67 and E38 master and slave via can bus.
**************************************************************************
* April 25,2024
* 1.54
* 1. Remove older USB JTAG NT and USB BDM NT support
* 2. Add E78 Can and E78 BAM support.
**************************************************************************
* April 19,2024
* 1.53
* E39 and E39A Can programming
**************************************************************************
* Feb 21,2024
* 1.52
* Add CAN bus logger
**************************************************************************
* Oct 9,2023
* 1.51
* Fix bug that cannot adjust clock USB BDM NT or USB JTAG NT
* Add password entery for E200 target
**************************************************************************
* Aug 11,2023
* 1.50
* Add UI for Password for MPC5xxx
* All 95XXX EEPROM
**************************************************************************
* July 8,2023
* 1.49
* Add SPC564
*     SPC5602P
*     Fixed issues with MPC5675K.
*     Add blank check icon.
**************************************************************************
* April 16,2023
* 1.48
* Fix bug for NAND ONFI detection.
**************************************************************************
* Mar 29,2023
* 1.47
* Add MPC5675K. More e200 support 
**************************************************************************
* Dec 19,2022
* 1.46
* Add 24M02 and 5P08 EEPROM 
**************************************************************************
* Nov 3,2022
* 1.45
* Add auto save tab option.
* Better memory init format when clone the target xml.
* TMS470 read.
**************************************************************************
*   Oct 6,2022
*   1.44
*   Add youtube icon
*   Add auto save when read. Also several option for the file name.
**************************************************************************
*   July 10,2022
*   1.43a
*   A minor bug introduced in 1.43 casued multiple detect for the flash.
**************************************************************************
*   June 19,2022
*   1.43
*   Add blkchk command for flash blank check
**************************************************************************
*   May 29,2022
*   1.42
*   EDC16 target. EEPROM read/write. Make the half of the BDM(5xx) pins optional.
**************************************************************************
*   April 11,2022
*   1.41
*   Add JTAGPPC. Target SPC560D40L1
*   Allow filename/folder name with space.
*   93C EEPROM 16 bit support.
**************************************************************************
*   Feb 12,2022
*   1.40
*   Fix crash while doing MR18 programmming.
**************************************************************************
*   Feb 10,2022
*   1.39
*   Fix issue for BDM target doing init need to set slower clock.
**************************************************************************
*   Feb 1,2022
*   1.38
*   Add import xml function
**************************************************************************
*   Jan 12,2022
*   1.37
*   Allow modify existing XML without reboot.
**************************************************************************
*   Dec 19,2021
*   1.36
*   Add Wait for NAND programming.
**************************************************************************
*   Nov 27,2021
*   1.35
*   Add S3C2440Nand flash support. (Arm9)
**************************************************************************
*   Oct 30,2021
*   1.34
*   Fix Audi TCU EEPROM for u-Link NT.
*   Fix the "All flash" missing when "EEPROM" is used.
**************************************************************************
*   Oct 12,2021
*   1.33a
*   Fix the bitware script. Minor fix for dll memory usage
**************************************************************************
*   Oct 1,2021
*   1.33
*   Windows portable. More command support memory range from fdisk.
**************************************************************************
*   Sep 8,2021
*   1.32
*   Add MEC16xx JTAG flash programming.
**************************************************************************
*   Sep 4,2021
*   1.31
*   Add MC68375 flash programming.
**************************************************************************
*   Aug 21,2021
*   1.30
*   Add "fdisk" command for sdcard target. Easier to program bitware
**************************************************************************
*   Aug 13,2021
*   1.29
*   Ldram file from default folder.
**************************************************************************
*   Aug 10,2021
*   1.28
*   Add back the original memory management. Allow emmc to have memory segments
*   Fix script for emmc.
**************************************************************************
*   Aug 02,2021
*   1.27
*   Add SPI KB90XX support.
**************************************************************************
*   July 30,2021
*   1.26
*   Add larger EMMC support . Changed the way to handle EMMC/SDcard memory (file based)
**************************************************************************
*   July 06,2021
*   1.25
*   Add EMMC and SD card target. < 2GB for now
**************************************************************************
*   June 04,2021
*   1.24
*   1. Add Givepower command for NAND target
*   2. Fix speed issue with MPC target (Found in ECU38).
**************************************************************************
*   April 05,2021
*   1.23
*   1. BDM NT support faster clock
*   2. Fix NAND Sprogram script issue.
*   3. Add ECU as category.
**************************************************************************
*   Mar 28,2021
*   1.22a
*   1. Patch to 1.22. There is a bug for BDM in 1.22 caused the flash detect fail.
**************************************************************************
*   Mar 17,2021
*   1.22
*   1. Add SPI NAND programming Tested chip MX35LF1GE4AB
**************************************************************************
*   Feb 26,2021
*   1.21
*   1. Add BDM Byte mode fast programming
*   2. Fix fast programming for ECU 411 target
**************************************************************************
*   Feb 15,2021
*   1.20
*   1. Fix g= and t= command for BDM target
*   2. Only use 8K for BDM fast programming. Work for E40 ECU
**************************************************************************
*   Jan 28,2021
*   1.19
*   1. Allow target name different than the file name.
*   2. Fix ONFI NAND flash detection for some chip. Add some delay
*   3. BDM NT Byte mode.
**************************************************************************
*   Dec 17,2020
*   1.18
*   Fix MPC565 found in E67 ECU programming
**************************************************************************
*   Nov 20,2020
*   1.17
*   Fix NAND verify. Allow  bit error and continue 
*   Unify the activation for all OS.
**************************************************************************
*   Oct 20,2020
*   1.16
*   Add support for NFC target.
*   Fix some bugs on NAND programming.
**************************************************************************
*   Sept 15,2020
*   1.15
*   Add Unlock for HSC12 target
*   NAND flash OFNI support. When cmpram the bit error can be skipped and continue to compare
**************************************************************************
*   Aug 31,2020
*   1.14
*   Add HSC12 BDM. E38 target and MC9S12XS128 tested. 
**************************************************************************
*   July 31,2020
*   1.13
*   Add MPC565 in core flash support. Fix missing element for copy target when create new XML.
**************************************************************************
*   July 24,2020
*   1.12
*   Add MPC55X support. 32 bit wide flash
* On Linux and Mac, fix the u-Link hangs when select different target while it is conencted to USB
**************************************************************************
*   June 20,2020
*   1.11
*   Fix issue when unplug USB while in read/write and replug back in caused 
*      the USB state not update properly.
*   Remove the email activation.
*   Add TSOP  NAND protocol.
**************************************************************************
*   April 11,2020
*   1.10
*   Add hardware diag for u-link and USB JTAG NT
*   Add one wire DS2431 for u-Link NT
**************************************************************************
*   April 1,2020
*   1.09
*   Fix Error for Nor CFI flash detection.
*   Fix the folder selection after drag/drop the file.
*   Some minor bugs.
**************************************************************************
*   Mar 8,2020
*   1.08
*   Fix error when create new SPI flash.
*   Add prompt for SPI lock status
**************************************************************************
*   Mar 5,2020
*   1.07
*   Allow SPI 4K erase/programming.
*   Fix error on testing command
**************************************************************************
*   Feb 29,2020
*   1.06
*   Fix anoter SDFP detect issue.
*   Add endian convert command.
*   Fix conenction display on 4K monitor.
**************************************************************************
*   Feb 20,2020
*   1.05
*   Fix erase flash for u-Link NT. Improve u-Link Speed
*   Fix SDFP detect issue.
*   Add SDFP, CFI log. 
**************************************************************************
*   Feb 06,2020
*   1.04
*   Add 93C EEPROM pinout
*   Fix CPLD display issue.
*   Fix crash on ARM9 target.
**************************************************************************
*   Feb 01,2020
*   1.03
*   Fix issues on pin finder. First working pinfinder
*   Fix crash on ST20 target.
**************************************************************************
*   Jan 26,2020
*   1.02
*   First release support MPC850 CPU
**************************************************************************
*   Jan 22,2020
*   1.01
*   Fix U-Link Activation issue
*   Put back the single JTAG UI. Command window always at bottom.
**************************************************************************
*   Jan 12,2020
*   1.00
*   Add ULink NT to the build
*   Add HiLo command for BDM target
**************************************************************************
*   Dec 26,2019
*   0.91
*   Add stability to ST40 detect. Fix minor bug for ST40 nand target detect
**************************************************************************
*   Dec 08,2019
*   0.90
*   Prevent multiple app from starting.
**************************************************************************
*   Nov 10,2019
*   0.89
*   Restore most of the single JTAG controls. When only one JTAG is used, 
*   all the controls are similar to earlier version.
**************************************************************************
*   Oct 14,2019
*   0.88
*   Support multiple JTAG. You need to plug in all the JTAG before start the software.
**************************************************************************
*   Aug 26,2019
*   0.87
*   1. Fix minor bug for SPI flash detection
**************************************************************************
*   July 26,2019
*   0.86
*   1. Remove legacy USBJTAG code.
*   2. Add MT7621 dual core MIPS support. ER-X router
**************************************************************************
*   Mar 31,2019
*   0.85
*   Add support for Sti5517 target
*   Support SST25FV40B
**************************************************************************
*   July 1,2018
*   0.84
*   Fix bugs on some large flash like N25Q512A
**************************************************************************
*   May 6,2018
*   0.83
*   Fix the new style online activation.
**************************************************************************
*   Mar 6,2018
*   0.82
*   Surface Pro support.
**************************************************************************
*   0.81
*   1. Fix register view missing for BDM target.
**************************************************************************
*   0.80
*   1. Restore the window position when it starts.
*   2. Online activation on new host server.
**************************************************************************
*   May 7,2016
*   0.79
* 1. Revert the optimization for slow programming which caused some AMD programing issue.
* 2. When clone new XML, also clone the init values.
* 3. Fix bug found while debriking the CPEi25150 modem. This is because of the compiler used.
**************************************************************************
*   April 16,2016
*   0.78
* 1. Add split and delete for create XML. View XML before it can be created
* 2. Some minor UI fix for the size of dialogs.
* 3. DLL fix for un-wanted unplug and replug USB when using CyUSB driver.
* 4. Fix the NAND detection for big endian MIPS. (Meraki M18)
**************************************************************************
*   Jan 27 22,2016
*   0.77
*     Add SPI LCD. 
**************************************************************************
*   June 22,2015
*   0.76
*     Restore the add flash feature after split the flash types.
*     Support NOR and SPI flash for now. NAND is not supported yet.
**************************************************************************
*   June 16,2015
*   0.75a
*     1. Fix one minor AMD program algorithm.
**************************************************************************
*   June 11,2015
*   0.75
*     1. Improve the ppc read speed to 190KB/s
*     2. Fix the speed issue for programming ppc. More stable now.
**************************************************************************
*   June 2,2015
*   0.74
*     1. Fix a bug for ppc target to detect flash
**************************************************************************
*   May 18,2015
*   0.73
*     1. DYB lock for S25FL128S erase and program
*     2. Fix a minor bug in 0.72 that each time restart app will do USB 
*        initialization.
**************************************************************************
*   Dec 8,2014
*   0.72
*     1. Add Nand framwork for MIPS. EA2700 tested. Nand routines are in external dat file.
*     2. Splite flash files to nor/nand/spi flash. Take out the flash creating under menu.
*     3. Popup a dialog when switching target to avoid press the command too soon.
**************************************************************************
*   Sep. 17,2014
*   0.71a
*     retain all the window sizes.
**************************************************************************
*   Sep. 07,2014
*   0.71
*     1. Fix bug for SPI flash > 16M in programming
*     2. Allow trigger XML edit using system editor.
**************************************************************************
*   Jul 30,2014
*   0.70
*     1. Restore back RTL8196C support. (Tested on TP-Link R402M)
*     2. Support larger SPI flash.
*     3. CFI like SPI flash detection for unknown flash 
*	  4. Add debug feature for flash detection.
**************************************************************************
*   May 28,2014
*   0.69
*     1. Custom Nor flash for MIPS (AU1550)
*     2. Custom EEPROM for BDM (Audi TCU)
*     3. Change the deployment using MinGW Qt 4.8.6
*     4. BDM Target auto detect the flash when click the ID.
**************************************************************************
*   Jan 19,2014
*   0.68
*     1. Speed up the target selection.
*     2. Smooth the hex screen screen with proper cursor.
**************************************************************************
*   Jan 9,2014
*   0.67
*     1. Fix some spell errors.
*     2. Fix crash when working on PC that had run older versions
**************************************************************************
*   Dec 29,2013
*   0.66
* Minor enhancements
*     1. Allow hex edit to do "finger scroll". Remove the copy and paste of hex data
*     2. File browser now can select the file by click the existing file.
*     3. Defatult to "allflash" instead of the first flash tab.
*     4. Allow save the software window size.
**************************************************************************
*   Dec 6,2013
*   0.65
* This is major release. Please uninstall previous verion and run setup for this one.
*     1. Add title bar for hex display.
*     2. For settings do not use registry. The working folder is now at %appdata%usbjtag (Win32). This makes the log possible for Win 7 and Win8.
*     3. Rebuilt under Qt 4.7.3.
**************************************************************************
*   Sept 27 02,2013
*   0.64
*     1. Fix memory leak when USB JTAG is not connected. jtagntwin.dll update
*     2. Fix text false alarm of "Hardware Error 1". Fix it enumeration USB.
*     3. Better log when error happens.
**************************************************************************
*   July 02,2013
*   0.63
*     Fix bugs in add new flash for SPI.
**************************************************************************
*   April 17,2013
*   0.62
*     Fix bugs in CPLD programming. CPLD was broken from 0.55
**************************************************************************
*   Mar 29,2013
*   0.61
*     Framework for newer DLL.
**************************************************************************
*   Jan 16,2013
*   0.60
*    1. Fix ARM940 issue.
*    2. Add BCM LV mode. BCM4716/BCM4718 SPI (Linksys M20 router)
**************************************************************************
*   Jan 07,2013
*   0.59
*    1. Fix ARM926 issue.
*    2. Add WNR945T Marvell chip support
**************************************************************************
*   Dec 11,2012
*   0.58
*    1. Add Nand flash configuration.
*    2. ST40 Nand support framework.
*    3. Better ST40 detecttion.
**************************************************************************
*   Nov 10,2012
*   0.57a
*    1. Add support of AT25DF641 SPI flash.
*    2. better SPI detect support.
**************************************************************************
*   may 9,2012
*   0.57
*    1. Add clear screen button.
*    2. Several bug fixes.
*    3. More enhancement on ST40. Add "regs" function to ST40 core.
*    4. Some other bug fixes (like read file from recent file list for AllFlash will fail)
**************************************************************************
*   Feb 6,2012
*   0.56a
*    Fix issues on display BDM OFF whilt it should be ON
**************************************************************************
*   Feb 4,2012
*   0.56
*   1. Fix the connection diag image for ST40
*   2. Implement the full programming mode for ST40. Sonicview 8000HD can get
*      const 320+KB/s programming speed on 29GL128
*   3. Significantly improve the read speed. Fast read speed is 384KB/s
**************************************************************************
*   Jan 21,2012
*   0.55
*   1. Add ST40/SH4 support (Soncview 8000HD,Sti5202)
*   2. Better language support. Now support unicode folder and filename
*   3. Category now can be expanded via XML file.
**************************************************************************
*   Oct 1,2011
*   0.54
*   Add CPLD JAM
* Bug fixed. The log now goes to temp directory
**************************************************************************
*   Aug 30,2011
*   0.53
*   Add PPC DM500 support.
**************************************************************************
*   Aug 21,2011
*   0.52
*   1. Add AMD256 support. 
*   2. "erase" and "sprogram" while TRAP ON (MIPS). More buffer flash support
**************************************************************************
*   July 13,2011
*   0.51
*   Sti5105 DCU3 support. XV3300 tested
**************************************************************************
*   Jun 27,2011
*   0.50a
*   Rebuild to solve side-by-side issue.
**************************************************************************
*   Jun 19,2011
*   0.50
*    1. Add read/write EEPROM for Conexant CPU
*    2. Add regular ARM946/ARM920 support.
**************************************************************************
*   May 31,2011
*   0.49
*      Fast programming Conexant CPU read speed 580KB+/s. Programming 
*   speed 150KB-250KB/s
**************************************************************************
*   May 19,2011
*   0.48
*      1. Add recent target for fast taget swiching
*      2. Add recent files 
*      3. Add two Conexant CPU ARM946 and ARM 926
**************************************************************************
*   April 1,2011
*   0.47
*      Add WRT160NL. AR71XX/9XXXX SPI support
**************************************************************************
*   Feb 19,2011
*   0.46
*      Add language support
**************************************************************************
*   Feb 3,2011
*   0.45b
*      Some minor fixes. Fix EEPROM read/write on 301-010
**************************************************************************
*   Dec 12,2010
*   0.45a
*      Fix the force register view for non-BDM devices.
**************************************************************************
*   Dec 11,2010
*   0.45
*     1. Improve the USB performance.
*     2. Add XML target edit.
*     3. Add function to go to config directory (under Help)
*     4. Add command "color"
*     5. Some minor fixes. (eg. Force the register view for BDM).
**************************************************************************
*   Nov 18,2010
*   0.44
*     Minor fix. Make it work better on netbook display.
**************************************************************************
*   Oct 19,2010
*   0.43
*     Several fixed. Major release.
**************************************************************************
*   Oct 12,2010
*   0.42d
*     Fix BDM NT programming with duplicate "erase" prompt.
**************************************************************************
*   Oct 10,2010
*   0.42c
*     Fix MIPS sprogram issue (DMA). Caused by SPI flash with JTAG on 0.36
**************************************************************************
*   Sep 21,2010
*   0.42b
*     Fix backup error on some dpc2100 modems
*     Add some targets.
**************************************************************************
*   Sep 10,2010
*   0.42a
*     1. Fix the crash when the directory is empty.
*     2. Add the per target default directory
**************************************************************************
*   Sep 8,2010
*   0.42
*  1. Add file browser. Allow drag files with in app.
*  2. Fix minor issue when detect CPEi25150
*  3. Fix the file icon
**************************************************************************
*   Aug 24,2010
*   0.41d
*  1. Fix the erase whole flash issue.
*  2. Add file name prompt.
**************************************************************************
*   Aug 23,2010
*   0.41c
*    1. Fix issue on SB4200 programming
*    2. Allow live update the display when read memory. 
**************************************************************************
*   Aug 22,2010
*   0.41b
*    1. Fix the SPI read/verify issue found in some cases.
*    2. Add All flash.
*    3. Fix two minor case that might caused the crash when inproper command is entered
*    4. Improve the hex screen display to speed up the memory read.
**************************************************************************
*   Aug 21,2010
*   0.41a
*     Quick fix the directory issue caused the flash failed if quick launch 
* is clicked.
**************************************************************************
*   Aug 21,2010
*   0.41
*     Major release. Redesign the whole code. For future Linux and Mac support.
**************************************************************************
*   Aug 2,2010
*   0.40d
*     Hot patch for BDM NT programming on old two chip board
**************************************************************************
*   July 24,2010
*   0.40c
*     AR430W Router SPI flash via JTAG support.General Atheros support
**************************************************************************
*   July 20,2010
*   0.40b
*     Private release to support BCM53003 router.
*     More SPI mode added for MIPS core JTAG
**************************************************************************
*   July 12,2010
*   0.40a
*     Hot patch. Auto script off
**************************************************************************
*   July 10,2010
*   0.40
*     1. Add LPT JTAG support for SPI read.
*     2. Improve the activation dialog.
*     3. Add large SPI autodetect.
*     4. When find the target mismatch auto fix it.
**************************************************************************
*   Jun 12,2010
*   0.39
*     Major software change. Be prepared to support more hardware
*     Support Old USB BDM (fully) 
*     Old USB JTAG (SPI read only)
**************************************************************************
*   Jun 3,2010
*   0.38
*     Give error when wrong hardware/target is selected.
**************************************************************************
*   May 2,2010
*   0.37b
*     Hot patch detect (F1 and toolbar) not working when auto detect is enabled
**************************************************************************
*   April 27,2010
*   0.37a
*     Hot patch for DCt2224 auto script.
**************************************************************************
*   April 25,2010
*   0.37
*     1. Allow visually display JTAG speed.
*     2. Allow paste for command.
*     3. Auto script option. Greatly improve the usability.
*     4. Display SPI chip connection.
**************************************************************************
*   Mar 31,2010
*   0.36
*     Support JTAG SPI. Broadcom only for now. WGR614v9 supported.
**************************************************************************
*   Mar 20,2010
*   0.35
*     Major release. Powerful script support.
**************************************************************************
*   Mar 4,2010
*   0.34b
*     Fix bug for BDM flash detect.
**************************************************************************
*   Jan 5,2010
*   0.34a
*     Fix bug for cmpram for big endian device. DCT700 SB510x
**************************************************************************
*   Jan 1,2010
*   0.34
*    Add XBOX support. 256M and 512M nand support. Enhance speed.
*    Add SPI "program" command.
*    Display the latest version in about dialog.
**************************************************************************
*   Dec 19,2009
*   0.33
*    Add XBOX support.
*    Add a few commands for EJTAG debugging.
*    Fix bugs for detect 0000 issue.
**************************************************************************
*   Oct 29,2009
*   0.32
*    Improved activation
**************************************************************************
*   Oct 4,2009
*   0.31
*    TM602G Byte mode support
*    Auto erase when click Write on tool bar for SB4100/SB4200/SB6120
**************************************************************************
*   Sept 9,2009
*   0.30
*   Solve some time the target cannot get detected. Lower the speed a little
*  bit to solve some issue happen on cmpram fail.
**************************************************************************
*   Sept 1,2009
*   0.29b
*   Hot patch, bugs BDM on 1.1 hub. getram code will not work.
**************************************************************************
*   July 29,2009
*   0.29a
*   Hot patch, bugs for the first time runner that the config cannot be saved.
**************************************************************************
*   July 25,2009
*   0.29
*   1. Fix bogs on CFI for Intel chip. Problem on DCT2500
*   2. Allow set the directory for script.
**************************************************************************
*   July 8,2009
*   0.28
*   1. Enhance activation.
*   2. Display latest version when needed.
**************************************************************************
*   June 9,2009
*   0.27a
* Changes
*  Bug fixed.
*   BDM NT does not show activated.
**************************************************************************
*   June 8,2009
*   0.27
* Changes
*  Bug fixed.
*   Memory leak on hex load for PIC32MX
*   Revert back the Intel programming.
*  Feature.
*   First version of hardware breakpoint support.
**************************************************************************
*   May 23,2009
*   0.26
* Changes
*   Big Serial EEPROM support.
*   Fix problems for some lockups when erase/program some Intel like flash.
**************************************************************************
*   April 29,2009
*   0.25
* Changes
*   Serial EEPROM 24LC flash support.
**************************************************************************
*   April 26,2009
*   0.24
* Changes
*   Better UI on tab selection.
**************************************************************************
*   April 7,2009
*   0.23
* Changes
*   major UI upgrade.
**************************************************************************
*   Mar 21,2009
*   0.22a
* Changes
*   One minor bug found on some BDM box that the read the code wrong after 
*  detect the flash. (On some flashes)
**************************************************************************
*   Mar 7,2009
*   0.22
* Changes
*   1. Major support PIC32MX family.
*   2. Disable CFI for flash less equal of 2M if found in the database.
*      This is due to some AMD chip the erase blaock was inproperly set
**************************************************************************
*   Feb 16,2009
*   0.21
* Changes
*   1. Fixed the script problem caused by CFI
*   2. Fix some error by some flash giving the wron CFI info on 
*      buffered programming,
**************************************************************************
*   Feb 15,2009
*   0.20
* Changes
*   1. Enable the SGetram sSetram Scmpram command.
*   2. Add log command support.
*      Usage: log 1 start logging append to file name "usbjtagnt.log"
*             log 0 stop the logging.
**************************************************************************
*   Feb 14,2009
*   0.19
* Changes
*   1. Add MIPS 64 buffer programming
*   2. Add SGetram sSetram Scmpram command.
*   3. Slow programming on little endian device
**************************************************************************
*   Feb 6,2009
*   0.18
* Bug fixed
*   On USB 1.1 hub, the detect flash was broken due to CFI.
*   Enhance slow program for Intel chip with buffer.
**************************************************************************
*   Feb 6,2009
*   0.17
* Bug fixed
*   Slow program for Intel chip.
* Bug still exist
*   Slow program for AMD with buffer. Exist on some VOIP device with big 
*   AMD flash 4-8M. Possible some routers
**************************************************************************
*   Jan 31,2009
*   0.16
* Feature added
*  1. Add VOIP category
*  2. Add CFI for MIPS 32 and BDM.
**************************************************************************
*   Jan 5,2009
*   0.15
* Bug fixed
*  On BDM NT MTF28F160C3B programming failed.
**************************************************************************
*   Jan 3,2009
*   0.14
* Buf fixed
*  New architecture. Program NFusion FTA box.
**************************************************************************
*   Dec 21,2008
*   0.13
* Buf fixed
*   Activation with space caused not activated.
*  Feature added.
*   Add "trap" comand to debrick SB4x00.
**************************************************************************
*   Dec 15,2008
*   0.12
*  Bug fix
*     Major feature to allow trap. Allow cmpram right after program
*     One bug fixed for not getram properly after detect the flash.  
**************************************************************************
*   Dec 7,2008
*   0.11
*  Bug fix
*      Crash when "getram" and "setram" with no parameter
*  Major feature
*      Add flash entry with GUI.    
**************************************************************************
*   Nov 13,2008
*   0.10
*   Fix problems with script. One possible crash for BDM.
**************************************************************************
*   Nov 13,2008
*   0.09
*   Fix problem that test dll command missing.
**************************************************************************
*   Nov 9,2008
*   0.08
*   Add "tap" command for more powerful debrick,
**************************************************************************
*   Oct 27,2008
*   0.07
*   Fix DCT700 sometime get unzip error.
*   Add SPI flash support.
**************************************************************************
*   Oct 27,2008
*   0.06 
*   Fix BDM on slow device
**************************************************************************
*   Oct 23,2008
*   0.05 
*   Fix when reset 1 for BDM
*   Add "speed" function.
**************************************************************************
*   Oct 19,2008
*   0.04 Fix bugs on IRD 013
**************************************************************************
*   Oct 15,2008
*   0.03 Add ST20 support. 
*   Fix minor error bugs.
**************************************************************************
*   Oct 10,2008
*   0.02 DLL API change for DCT2224.DLL
*   Remove DCT2224PH7.xml. Add DCT2224.xml
**************************************************************************
*   Oct 9,2008
*   0.01
* Initial release. Support USBJTAG NT and USBBDM NT hardware
**************************************************************************

The readme file here gives you the steps to use USBJTAG NT.

1. Hardware.
    Include in the package are
    One USBJTAG NT module with 14 pin flat cable attached.

IMPORTANT!!
	Every time you connect JTAG to target board, make sure both JTAG and target board is power off. 
	Fail to do that can damage your JTAG module or target!!!

2. Software,
    a. USB JTAG NT drivers are download separately at www.usbjtag.com.
    b. Readme.txt. This file.  Updated every time a newer version is issued.
    d.configuration files under config direcotry. Can be upgraded separately.
    e. usbjtagnt.exe Main excutable to access the target board.

3. Software setup.
   a.Extract files to your hard drive. If you download the test dll put them under dll directory.
   b. Plug in USB and select the drivers.
   c. Activation, when first time you run the application, when USBJTAG NT (USBBDM NT) plugged in, 
      it will popup dialog asking for you r email and activation code. Go to the shopping page and 
      retrieve your activation by entering your hardware ID displayed on the screen.
   d. The USB needs initialize. The JTAG connect status is shown on the bottom status bar.
   e. If something goes wrong, unplug the USB cable, exit application and start again.
   f. USB cable can plug in any time in the application.
   g. You need to setup the target under Tools->Config.


4. Run the application you will see three windows.
   a. Command window. Accept command from the keyboard and some output
result there.
   b. Memory tabs on top window. 
   c. File browser window.

5.Type "help" in your command window will list all the command available.
Type "help command" will show the usage of the command.
  eg. help reset.

6. Up, Down arrow keys can be used to go through the command history in command window.

7. Bottom right status indicates DEBUG status. 


