USB JTAG  

Go Back   USB JTAG > USBJTAG (NT) > Devices > JTAG on Dish Receivers.

Reply
 
Thread Tools Display Modes
  #16  
Old 10-07-2011, 12:18 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

Check your PM.
Reply With Quote
  #17  
Old 10-07-2011, 02:11 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

Quote:
Issuing Processor / Peripheral Reset ... Issuing Processor / Peripheral Reset ... Done Done
Enabling Memory Writes ... Enabling Memory Writes ... Skipped Skipped
Halting Processor ... Halting Processor ... <Processor Entered Debug Mode!> ... <Processor Entered Debug Mode!> ... Done Done
Clearing Watchdog ... Clearing Watchdog ... Done Done
If we know what is done to those commands it will be very easy work.
Reply With Quote
  #18  
Old 10-07-2011, 04:18 PM
digihoe digihoe is offline
Junior Member
 
Join Date: Sep 2011
Posts: 11
Default

Quote:
Originally Posted by usbbdm View Post
If we know what is done to those commands it will be very easy work.
I do not program software but looking at the source code files here http://www.t-hack.com/wiki/images/1/1d/X300t-yamon.zip looks like it might contain the information.


BTW. Thx for the session.
Reply With Quote
  #19  
Old 10-07-2011, 05:51 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

This is not the same code that used in previous post. That should be modified tjtag.
Reply With Quote
  #20  
Old 10-08-2011, 01:41 AM
digihoe digihoe is offline
Junior Member
 
Join Date: Sep 2011
Posts: 11
Default

Modified tjtag source (along with a good cfe.bin) is in this package:
http://download.pristavka.de/azboxhd/Booting.zip

The original russian thread that I found most information (through goggle translate) about JTAG and the same problem http://translate.googleusercontent.c...6HfCp5HKfhSODg

Best regards!
Reply With Quote
  #21  
Old 10-08-2011, 10:30 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

With the cfg, we can modify the xml and it should work.
Reply With Quote
  #22  
Old 10-08-2011, 04:35 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

After modify the xml based on azbox.cfg. We were able to read and write the flash. It is a matter to find the right firmware to debrick the box now.
Reply With Quote
  #23  
Old 10-09-2011, 10:46 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

Here is the xml. The read and write is very fast. digihoe had confirmed he debricked the box after JTAG it. Then he used USB to upgrade the firmware.
Please note, after JTAG program the original boot, you need to remove JTAG to power on the box. When JTAG software is running and JTAG connected, the box will not power on. That is expected since JTAG is still talking to the box and thus regular boot up sequence is not executed.
Attached Files
File Type: rar TAzboxPremium.rar (409 Bytes, 763 views)
Reply With Quote
  #24  
Old 10-09-2011, 11:50 AM
CAPONE CAPONE is offline
Senior Member
 
Join Date: Dec 2008
Posts: 5,002
Default

Quote:
Originally Posted by usbbdm View Post
After modify the xml based on azbox.cfg. We were able to read and write the flash. It is a matter to find the right firmware to debrick the box now.
That Can Be Obtained from a Working Box of same Model.
Reply With Quote
  #25  
Old 10-09-2011, 01:28 PM
digihoe digihoe is offline
Junior Member
 
Join Date: Sep 2011
Posts: 11
Default

Yes flashing the firmware (offical firmware can be downloaded on fw.azbox.com) is the same procedure as always when loading firmware on the box.

The whole procedure of flashing was quite simple
1. Short JTAG enable pins on the board
2. Plugin the USBJTAG NT hardware (usb and box, you need to presolder pins to the board or use springpins)
3. Power on the box
4. Box will stop in "BOOTING" (even if bootloader is OK, since JTAG enable is on)
5. Start USBJTAG NT with TAzboxPremium.xml
6. Press detect in USBJTAG NT (you should see something like CPUID 08630001 and AMD flash, AMD is the protocol the NOR uses so it's OK)
7. Type the command PROGRAM followed by enter/return key
8. Now you can use the USBJTAG NT to read and program the flash in fast mode
9. After you finnish, power off the box, remove USBJTAG NT and remove the short on JTAG enable.
10. Restart the box, it should now be working as before

Thank you USBBDM for all help, you are great!
Reply With Quote
  #26  
Old 01-24-2012, 12:39 AM
akyprian akyprian is offline
Junior Member
 
Join Date: Sep 2011
Posts: 2
Default

Hi,

I 've just activated my USBJTAGNT and tried it on my AZBOX Premium. Unfortunately, I haven't managed to flash it. Please note that my AZBOX uses a S29GL064N flash chip. Also noticed that DEBUG never goes on. After issuing the -program 8c000000 800000 command, it erases the flash but it never proceeds to write to it.

Any ideas ?

akyprian
Attached Thumbnails
Click image for larger version

Name:	AZBOX Premium Output.jpg
Views:	462
Size:	17.8 KB
ID:	755  Click image for larger version

Name:	AZBOX Premium AllFlash.jpg
Views:	320
Size:	19.7 KB
ID:	756  
Reply With Quote
  #27  
Old 01-24-2012, 11:00 AM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

I think you need to use "erase" and "sprogram" in this case.
Reply With Quote
  #28  
Old 01-25-2012, 10:31 AM
akyprian akyprian is offline
Junior Member
 
Join Date: Sep 2011
Posts: 2
Default

thanks. tried your suggestion but still failed.

Copyright (C) 2010,2011,2012
USB JTAG NT 0.55
Target: AzboxPremium
-detect
IDCODE 08630001
ADM Part NotFound 8630
IMPCODE 40414000
EJTAG V2.6
DMA not supoorted
Found Address= 8c000000 CFI S29GL064
-erase cfe
Erase starts...
Erase time 00:00:35 (.615)
C:/Program Files (x86)/usbjtag/usbjtagnt/config/AZBOXHD.bin loaded
-sprogram cfe
Program Starts...

and remains there forever!

Regards,
Reply With Quote
  #29  
Old 01-26-2012, 11:52 PM
usbbdm usbbdm is offline
Administrator
 
Join Date: Jul 2005
Posts: 8,482
Default

Quote:
Originally Posted by akyprian View Post
thanks. tried your suggestion but still failed.

Copyright (C) 2010,2011,2012
USB JTAG NT 0.55
Target: AzboxPremium
-detect
IDCODE 08630001
ADM Part NotFound 8630
IMPCODE 40414000
EJTAG V2.6
DMA not supoorted
Found Address= 8c000000 CFI S29GL064
-erase cfe
Erase starts...
Erase time 00:00:35 (.615)
C:/Program Files (x86)/usbjtag/usbjtagnt/config/AZBOXHD.bin loaded
-sprogram cfe
Program Starts...

and remains there forever!

Regards,
I think you do not have GND connect properly.
In case it is bricked use slower speed and see if it can work.
Reply With Quote
Reply

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 01:22 AM.


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