USB JTAG NT 0.39 uploaded.

News to announce.
Locked
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

USB JTAG NT 0.39 uploaded.

Post by usbbdm »

This is a major software change that prepared to support more hardware.
UJmodem 0.23 and USB JTAG NT 0.39 uploaded.

USB JTAG NT 0.39.
1. Fully support old USB BDM.
2. Support Old USB JTAG (SPI read only). This is just to prove that who is the copyright owner. As we stated before, we discontinue the hardware but as proof of concept the old USB JTAG can fully support SPI read. Erase and program is disabled on purpose.

Future hardware might be (not limited)
1. 24M JTAG clock JTAG NT. When we move to different market (Like MIPS gdb support) speed is important and the NT hardware is capable to do 24M JTAG clock with simple CPLD program. This will be supported soon once there is a need. All the modules for JTAG need to re-written to gain the fastest speed.
2. Blackcat (LPT), this will be a proof of concept and I am also interested to see how fast can LPT JTAG do for SPI read. I will expect really fast SPI read.
3. TBD

UJmodem 0.22
1. Add SB6120 SPI read for old USB JTAG.
2. Re-org the SB6120 memory based on new sb6120 xml.

Please note:
If you do not run setup.rar you need to make sure the jtagntwin.dll is updated. Otherwise the old USB JTAG (BDM) will not be recognized.
Koevoet
Junior Member
Posts: 298
Joined: Sat Nov 18, 2006 8:29 am

Post by Koevoet »

Tested on the old Usbjtag using a 6120 on NT and UJ soft, and getting an average speed of 671KB/s so i am very impressed with the true coder of this application.

Regards
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

I already started the blackcat LPT SPI experiment. So far it is in good progress. I hope this feature will be finish during this weekend. Then you will see that blackcat can do SPI read. (Similar to the old USB JTAG the erase and program will be disabled).

The lower level sys does not use the io.sys. Instead it uses giveio.sys. I am not sure if it will be compatible with newer OS like Windows 7. But I am expecting the speed can be fast. But for some reason the blackcat comes with very long cable so I might have to lower the speed or we might get corrupted data. The blackcat does not have extra CS pin so the TMS pin will be used for CS. TRST can be used for ISP.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

I have made blackcat LPT working on XP with GIVEIO.SYS. My initial thought that LPT can be very fast was wrong. The GIVEIO.SYS is making it slow.
Anyway to read the SPI off SB6120 I can get speed of 34KB/s.

Here is the result.

Code: Select all

 Copyright http://www.usbjtag.com 2008,2009,2010
 USB JTAG NT    0.39
-flshdct 0 
 Found Address= 00000000 25FL064A
-ldram BootBlock 
-cmpram BootBlock 
 Time 00:00:03 (.750)
 Compare data OK
-cmpram Image0 
 Time 00:01:53 (.015)
 Compare data OK
In here the 0.39 is not official version. It will be mostly in 0.40.

I have ordered FTDI development module from
http://ca.mouser.com/ProductDetail/FTDI ... 252b4t8%3d

Which is the same chip that so called haxomatic used. When it arrives I will add SPI read support and I am sure it will be faster (in terms of both read speed and the release time). I will expect release the software within one week after I got the module (could be faster)

Saying that when haxomatic comes out you might be able to use USB JTAG NT software and do SPI read on their hardware and compare the speed.
Koevoet
Junior Member
Posts: 298
Joined: Sat Nov 18, 2006 8:29 am

Post by Koevoet »

Ok tested this new version out on a home made b/cat lead minus the chip , on XP i get the following results:

[HTML] Copyright http://www.usbjtag.com 2008,2009,2010
USB JTAG NT 0.39
-flshdct 0
Found Address= 00000000 25FL064A
-getram BootBlock
Time 00:00:03 (.328)
-getram BootParam
Time 00:00:03 (.468)
-getram Image0
Time 00:01:53 (.109)
-getram 0 800000
Time 00:04:05 (.437)[/HTML]

Runs at around 34KB/s on read.

On Win7 the following results:

[HTML] Copyright http://www.usbjtag.com 2008,2009,2010
USB JTAG NT 0.39
-flshdct 0
Found Address= 00000000 25FL064A
-getram U-Boot
Time 00:00:04 (.953)
-getram env1
Time 00:00:02 (.281)
-getram env2
Time 00:00:02 (.343)
-getram UBFI1
Time 00:01:59 (.093)
-getram 0 800000
Time 00:04:24 (.046)[/HTML]

Same PC but the speed is slightly slower Reads at around 31KB/s.

Regards
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Koevoet wrote:Ok tested this new version out on a home made b/cat lead minus the chip , on XP i get the following results:

[HTML] Copyright http://www.usbjtag.com 2008,2009,2010
USB JTAG NT 0.39
-flshdct 0
Found Address= 00000000 25FL064A
-getram BootBlock
Time 00:00:03 (.328)
-getram BootParam
Time 00:00:03 (.468)
-getram Image0
Time 00:01:53 (.109)
-getram 0 800000
Time 00:04:05 (.437)[/HTML]

Runs at around 34KB/s on read.

On Win7 the following results:

[HTML] Copyright http://www.usbjtag.com 2008,2009,2010
USB JTAG NT 0.39
-flshdct 0
Found Address= 00000000 25FL064A
-getram U-Boot
Time 00:00:04 (.953)
-getram env1
Time 00:00:02 (.281)
-getram env2
Time 00:00:02 (.343)
-getram UBFI1
Time 00:01:59 (.093)
-getram 0 800000
Time 00:04:24 (.046)[/HTML]

Same PC but the speed is slightly slower Reads at around 31KB/s.

Regards
Koevoet, Thanks for the testing. Your build is not official. I made change that you need a file to allow blackcat runs for SPI. In the future this same file will be used to allow FT2232H and select the channel and clock. Since this is only "proof of concept" I will not make it perfectly integrated to NT software.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

For testing purpose I wrote the code to erase and program the SPI via blackcat cable. Here is the result. (SB6120)

Code: Select all

 Copyright http://www.usbjtag.com 2008,2009,2010
 USB JTAG NT    0.40
-flshdct 0 
 Found Address= 00000000 25FL064A
-ldram BootBlock 
-program 40000 3b0000 
 Erase starts...
 Erase time 00:00:21 (.296)
 Program Starts...
 Program speed 38.10 KB/s
 Program time 00:01:41 (.796)
 Program pass, if no further programming needed, power off/on the target
-cmpram 40000 3b0000
 Time 00:01:57 (.828)
 Compare data OK
Even though it did not do the speed I expected (All my technique on optimization will not work because the giveio). So effort to make LPT faster will never happen.
My question is "is there any interest to have the LPT cable do the SPI programming"? The "proof of concept" might lead to a useful program.
nunny
Junior Member
Posts: 122
Joined: Mon Feb 05, 2007 7:33 pm
Contact:

Post by nunny »

why not add support to the blackcat usb instead of the lpt most pof the pc these days doesnt have lpt port
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

nunny wrote:why not add support to the blackcat usb instead of the lpt most pof the pc these days doesnt have lpt port
blackcat USB already have the SPI support.
The whole old USB JTAG and blackcat LPT on SPI is to help redesign the code so more hardware can be added. One hardware I will add is the USB JTAG NT 24M version. This will be mostly used for developers whose hardware can handle faster JTAG clock and mostly used for debugging.
CAPONE
Junior Member
Posts: 5011
Joined: Sat Dec 27, 2008 3:25 pm

Post by CAPONE »

usbbdm wrote:blackcat USB already have the SPI support.
The whole old USB JTAG and blackcat LPT on SPI is to help redesign the code so more hardware can be added. One hardware I will add is the USB JTAG NT 24M version. This will be mostly used for developers whose hardware can handle faster JTAG clock and mostly used for debugging.
Is this an New USBJTAG NT You will be Selling?
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

TUNDRA wrote:Is this an New USBJTAG NT You will be Selling?
No plan yet. I do not think this will be of a lot of interest. The difference will only be the clock speed. But I plan to make the GDB work so people who had the target (like PIC32MX) which has stable JTAG clock support can use faster JTAG. If there is a lot of interest I can make it available. The hardware is the same, the software and CPLD is different.
luisgon1
Junior Member
Posts: 1
Joined: Fri May 28, 2010 5:09 pm

old usbjtag

Post by luisgon1 »

hi i have an old usbjtag and i cant get it to work with the new software please help me. It is recognized with the 0.28 version
Koevoet
Junior Member
Posts: 298
Joined: Sat Nov 18, 2006 8:29 am

Post by Koevoet »

The new software that allows old usbjtag to work on SPI ONLY has not been released yet , it is still being worked on.

Regards

EDIT : my mistake i was thinking of LPT
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

Koevoet wrote:The new software that allows old usbjtag to work on SPI ONLY has not been released yet , it is still being worked on.

Regards
0.39 HAS the SPI read for old USB JTAG. So you can plug in and have fun with SPI read on SB6120 modem.

Confirmed he gets the clone and he did not realize that clone hardware was not supported by NT software. I did SPI on it on purpose to show I am the owner.

Sorry you have wasted your $60 which could have well spent.
usbbdm
Junior Member
Posts: 8962
Joined: Mon Jul 18, 2005 9:33 pm

Post by usbbdm »

I have waited one week and the FTDI module arrived today. but the design was bad and the mini module does not work at all. I have to ask for a replacement. The mini USB looks bad and I do not like the mini USB design.
Initially I promise to release 0.40 one week after I receive the FTDI module. I might not be able to wait any more. I do not know how long it will take for the replacement.
Locked

Who is online

Users browsing this forum: No registered users and 10 guests