LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-05-2017, 07:10 AM   #1
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635
Blog Entries: 20

Rep: Reputation: 81
using a raspberry pi as jtag debugger


One of my Seagate dockstars has died and is giving no signs of life to the serial console.
I've checked:
  • all the fuses I could see,
  • all the ref tensions I could find,
  • the SOC xtal
and all seem fine so my next suspect is the flash. I don't want to desolder it and I don't have a programmer for it anyway so I was thinking that maybe I could have a peep via jtag if the sock is trying to read from flash without success.

I don't have a jtag debugger (and I've never used one either) so I was wondering if I could use an rPI as a jtag debugger ?
I know you can run openocd on the PI but can I use the PI's GIPO ports to directly interface with the dockstar's jtag port.

I've done a little searching and found Using a Raspberry Pi as a JTAG Dongle where some dude uses the PI to do more or less what I want to do but on the other end the micro-controller is DUINO.

How much of that is usefull as a starting point for what I want to do ?
How much more on top of that needs to be done to reach my goal ?
 
Old 01-06-2017, 03:54 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Unless you know what you're doing, I advise leaving the hardware. It's easier to damage than repair it. You know about jtag, s I take it you have some knowledge.

I was in the electronic hardware repair business until I was effectively driven out of it by a combination of factors. JTAG is a manufacturing test that verifies connections to devices, and is little use in repair. It's Go/NoGo & not diagnostic. The most effective repair techniques without manufacturer support were Analogue Signature Analysis, and In Circuit Test, which has limited availability.

Usually, it boils down to this: What can I replace? Is that blown? You probably won't be able to get much, because nobody fixes stuff anymore, so stocking parts is rarely profitable.

Manufacturers sometimes have a repair option where repairs are processed through the production line test facilities. Use that if it's available. Otherwise. cry.
 
Old 01-08-2017, 11:32 AM   #3
louigi600
Member
 
Registered: Dec 2013
Location: Italy
Distribution: Slackware
Posts: 635

Original Poster
Blog Entries: 20

Rep: Reputation: 81
If the flash is broken I know it cannot be mended via jtag ... but if it was just wiped I can mend that with jtag.
In any case I'd like to see if the ARM core is still detected from jtag just to make sure that at least the SOC is OK.


I'm not going to cry over it ... I've plenty of other ARM boards to play with.
It would still be interesting to setup a PI to access other ARM hardware via jtag.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] arm kit + jtag + toolchain PoleStar Linux - Embedded & Single-board computer 6 03-04-2011 10:59 AM
Why use JTAG Emulator? kennyfly899 General 5 11-16-2009 03:58 AM
Difference between ICE and JTAG? nesta Programming 2 05-07-2007 11:04 AM
LXer: Real-time Linux adds JTAG/BDM debugger support LXer Syndicated Linux News 0 10-25-2006 01:54 PM
Jtag Cottsay Linux - Hardware 2 03-01-2006 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration