USB JTAG  

Go Back   USB JTAG > General > News > Old posts

Closed Thread
 
Thread Tools Display Modes
  #16  
Old 03-13-2010, 04:23 AM
stomperz stomperz is offline
Senior Member
 
Join Date: Nov 2007
Location: Chicago
Posts: 346
Default

Quote:
Originally Posted by usbbdm View Post
Which model is the hotest? I can look on eBay.
The sb5101 for me, older models are being getting eol
sb5120's are getting a lot of attention except for my favorite the sb61xx
  #17  
Old 03-14-2010, 12:39 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

I just finished the embedded script support.
This means you can run script within another script. This is big step.

example will be
script1.usp
Quote:
// any line
run script2 param1 param2
and it will execute script2.usp.

I had also added "goto" command
Quote:
// any lines
goto label1
// any lines
label1:
// anylines
I will then add "if" statement and some extra command like "wait". This will enhance a lot for the programming the device and save a lot of support time.
  #18  
Old 03-15-2010, 01:32 PM
oldnewbie oldnewbie is offline
Member
 
Join Date: Dec 2006
Posts: 41
Default

Hi USBBDM, could you please add or code a function/program to use HDDs with more that 160 Gb on DCT/X/H PVRs decos...

Apparentely someone did it...

http://cgi.ebay.ca/1TB-HDD-Motorola-...-/230424044492


Originally in this post

http://www.usbjtag.com/vbforum/showthread.php?t=4909
  #19  
Old 03-16-2010, 12:01 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

0.35 will release soon.
Here is the script I made for SB5100 include 3.3V debrick

Code:
begin:
cls
/////////////////////////////////////////////
//    SB5100 Script
/////////////////////////////////////////////
echo 1. Backup whole flash.
echo 2. Restore whole flash
echo 3. Debrick the modem (3.3V)
echo 4. Exit
option 1 backup 2 restore 3 debrick 4 end
backup:
echo backup begins
getram 9fc00000 200000
save 9fc00000 200000
goto continue
restore:
echo restore begins
detect
if IDCODE != 0334817F
echo This is not BCM3348 CPU. 
goto end
endif
if IMPCODE != 00800908
echo IMPCODE error
goto end
endif
ldram 9fc00000
checkmdw 9fc00000
if MEMORY != 0BF00004
echo the boot does not seems to be right. Check and try again!!
goto continue
endif
flashchk 9fc00000
if FLASHSET == 0
echo flash not defigned
goto continue
endif
peek 80000000
if PEEK == 3C1A8029
program 9fc00000 200000
else
erase boot
sprogram boot
wait 300
cmpram boot
echo Please power off on the modem
pause
detect
program cfg
program image0
program image1
program log
endif
wait 1000
cmpram 9fc00000 200000
goto continue
debrick:
echo please hold the 3.3V to CE and power on the modem
pause
detect
wait 1500
tap c
tap a ffffffff
wait 1500
if DEBUG != 1
echo Try again
goto continue
goto debrickbegin
endif
debrickbegin:
echo Remove the 3.3V
pause
detect
if FLASHSET == 0
echo flash not defigned. Try again
goto continue
endif
erase boot
ldram boot
echo Please power off on the modem
pause
detect
wait 500
erase boot
wait 500
sprogram boot
wait 300
cmpram boot
echo Please power off on the modem
pause
detect
program cfg
program image0
program image1
program log
wait 1000
cmpram 9fc00000 200000
continue:
pause
goto begin
end:
Here is the screen
Code:
 /////////////////////////////////////////////
 //    SB5100 Script
 /////////////////////////////////////////////
 1. Backup whole flash. 
 2. Restore whole flash 
 3. Debrick the modem (3.3V) 
 4. Exit 
 Please select
You can see the script is now very flexible. You can get an idea how it works. I will create script for each target. SB5100 will be the first one. There will still be enhancement for the script but 0.35 will be the start. Tell me if you have better idea.

Debug the script (above 5100.usp) takes some time. So I hope you will not need remote support with the scripts. I might latter open a script discuss (download) section.
  #20  
Old 03-16-2010, 09:18 AM
stomperz stomperz is offline
Senior Member
 
Join Date: Nov 2007
Location: Chicago
Posts: 346
Default

Quote:
Originally Posted by usbbdm View Post
0.35 will release soon.
Here is the script I made for SB5100 include 3.3V debrick

You can see the script is now very flexible. You can get an idea how it works. I will create script for each target. SB5100 will be the first one. There will still be enhancement for the script but 0.35 will be the start. Tell me if you have better idea.

Debug the script (above 5100.usp) takes some time. So I hope you will not need remote support with the scripts. I might latter open a script discuss (download) section.
Very good job!
With all the old Basic calls it's so easy to write scripts
"Even a cave man can do it"
(sorry I couldn't help that)

Have the script and now v.35
Got 4 5100's to try this on

5101 script should be easy to edit by just make changes to the memory values?


Oh ya the 3.3V is great idea!
  #21  
Old 03-16-2010, 09:47 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

I will release it after DCT2224,DCT700,DCT2500 scripts were tested. Then newbie scripts will be upload allowing them to at least backup first before doing anything.

The DCT2224 script should be able to detect type 1 or type 2 PH6 (CR4) so when doing testing auto flip will be done.

Then I will add more script and maybe 0.36 to make it better.
  #22  
Old 03-16-2010, 12:23 PM
Harry181 Harry181 is offline
Senior Member
 
Join Date: Nov 2006
Posts: 113
Thumbs up Scripts ....

Eggcellent , and may I suggest a nice celebratory award for such a great
idea and development.
__________________
Far East of the Western World
  #23  
Old 03-17-2010, 04:44 PM
kilobit kilobit is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default

I have a couple ideas. What about voip hardware aka vonage ata's ??
I am very interested in this.
  #24  
Old 03-17-2010, 05:20 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

Quote:
Originally Posted by kilobit View Post
I have a couple ideas. What about voip hardware aka vonage ata's ??
I am very interested in this.
I have tested quite a few of Vonage device myself. What do you want?
The VT2xxx,RTP300,WRTP54G VD21 are all supported.

I hope the script enhancement can help a lot for the remote support. Will do DCT2224 today.

Please note that the script post in this thread will not support in 0.34. The script can be downloaded latter.
  #25  
Old 03-17-2010, 10:37 PM
elkora elkora is offline
Senior Member
 
Join Date: Jan 2007
Posts: 271
Default

Quote:
Originally Posted by usbbdm View Post
I will release it after DCT2224,DCT700,DCT2500 scripts were tested. Then newbie scripts will be upload allowing them to at least backup first before doing anything.

The DCT2224 script should be able to detect type 1 or type 2 PH6 (CR4) so when doing testing auto flip will be done.

Then I will add more script and maybe 0.36 to make it better.
can you add the script for blocks programing & backup 6412

Thanks.
  #26  
Old 03-17-2010, 10:45 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

This is I created for DCT2224. It provide the type detect for PH6/CR4/non-PH.
I will create one for DCT2500 and one for DCT700. Then I will release 0.35.
After that I will add more based on feedback.

Please read and see if you think there are any improvements.
Code:
reset 1
init
if DEBUG == 0
echo The DCT2224 does not respond the reset properly. Check your BDM connection
goto end
endif

begin:
cls
/////////////////////////////////////////////
//    DCT2224
/////////////////////////////////////////////
echo 1. Backup flash and nvram
echo 2. Restore flash and nvram
echo 3. Debrick (When normal programming not working)
echo 4. Firmware Testing (PH7/8/9 and type I PH6/CR4)
echo 5. Firmware Testing (Type II PH6/CR4)
echo 6. Detect type for PH6/CR4 and non PH
echo 7. Exit
option 1 backup 2 restore 3 debrick 4 testing1 5 testing2  6 detecttype 7 end
backup:
echo backup flash
getram code
save code
echo back nvram
getram nvram
save nvram
goto continue
restore:
echo restore nvram
ldram nvram
setram nvram
cmpram nvram
if CMPRAM == 0
echo NVRAM write failed
goto continue
endif
echo restore flash
flshdct code
flashchk 400000
if FLASHSET == 0
echo flash not defined
goto continue
endif
ldram code
program code
cmpram code
goto continue
debrick:
r a7 200400
r rpc 468
echo Now you should be able to use restore method to program the box
goto continue
testing1:
getram code
firm
echo 1. Program the flash.
echo 2. Cancel.
option 1 testing11 2 continue
testing11:
flshdct code
flashchk 400000
if FLASHSET == 0
echo flash not defined
goto continue
endif
program 406000 ba000
goto continue
testing2:
getram code
flipfirm
firm
flipfirm
echo 1. Program the flash.
echo 2. Cancel.
option 1 testing21 2 continue
testing21:
flshdct code
flashchk 400000
if FLASHSET == 0
echo flash not defined
goto continue
endif
program code
goto continue
detecttype:
getram nvram
checkmb 234f09 
if MEMORY == 1
echo This is type I
else
echo This is type II
endif
continue:
pause
goto begin
end:
  #27  
Old 03-17-2010, 10:49 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

Quote:
Originally Posted by elkora View Post
can you add the script for blocks programing & backup 6412

Thanks.
What is "blocks programming"? I can do this before I release 0.35. Just define it properly.
  #28  
Old 03-17-2010, 10:53 PM
elkora elkora is offline
Senior Member
 
Join Date: Jan 2007
Posts: 271
Default

like the dvi something like this post of yours
http://www.usbjtag.com/vbforum/showp...70&postcount=5
  #29  
Old 03-19-2010, 11:16 AM
duffy duffy is offline
Senior Member
 
Join Date: Mar 2006
Posts: 103
Wink

If usbjtagnt include new option to scan jtag pin, tdi, tdo and other when the connector does'nt appear on the pcb I will be interrested to buy one...Now we have to put serial resistor (because we are not sure if it's an input or an output), by method try and error it's a pain to do...

Anyway thanks for your hard works to always improve your product usbbdm !
  #30  
Old 03-19-2010, 11:18 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,880
Default

Quote:
Originally Posted by duffy View Post
If usbjtagnt include new option to scan jtag pin, tdi, tdo and other when the connector does'nt appear on the pcb I will be interrested to buy one...Now we have to put serial resistor (because we are not sure if it's an input or an output), by method try and error it's a pain to do...

Anyway thanks for your hard works to always improve your product usbbdm !
I did have pcb to do the JTAG pin scan. It cannot be on existing JTAG CPLD. The CPLD has to be different to do this kind of work.
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 03:07 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.