A Home cinema forum. HomeCinemaBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HomeCinemaBanter forum » Home cinema newsgroups » UK digital tv
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

JTAG-ing - Anyone able to advise?



 
 
Thread Tools Display Modes
  #21  
Old September 24th 14, 09:59 PM posted to uk.comp.os.linux,uk.tech.digital-tv
Dave Farrance
external usenet poster
 
Posts: 1,003
Default JTAG-ing - Anyone able to advise?

Andy Burns wrote:

Java Jive wrote:

For example (quite expensive) ...
http://www.diygadget.com/tiao-usb-mu...2c-serial.html


Looks like a handy card to have around, especially as I've mislaid my
USB to TTL level RS232 dongle, there is a cheaper "lite" version of the
TUMPA

http://vgshop.ecrater.co.uk/p/157748...otocol-adapter


Mind you, USB TTL cables cost £1 if you don't mind waiting the few weeks
for one to turn up from China.

http://www.ebay.co.uk/itm/251586127898

I use one for Arduino Pro microcontroller card clones, which cost £1.36
inc P&P, which seems an impossible price. But they work fine.

http://www.ebay.co.uk/itm/131268582572
  #22  
Old September 24th 14, 10:13 PM posted to uk.comp.os.linux,uk.tech.digital-tv
Andy Burns[_9_]
external usenet poster
 
Posts: 389
Default JTAG-ing - Anyone able to advise?

Dave Farrance wrote:

Arduino Pro microcontroller card clones, which cost £1.36 inc P&P,
http://www.ebay.co.uk/itm/131268582572


I suppose at that price, you can understand why the "row needles didn't
welding", it comes to something when a bit of soldering would break the
economics of the product, even at Chinese labour rates ...

  #23  
Old September 25th 14, 11:17 AM posted to uk.comp.os.linux,uk.tech.digital-tv
Geo[_4_]
external usenet poster
 
Posts: 29
Default JTAG-ing - Anyone able to advise?

On Wed, 24 Sep 2014 21:13:06 +0100, Andy Burns
wrote:


I suppose at that price, you can understand why the "row needles didn't
welding", it comes to something when a bit of soldering would break the
economics of the product, even at Chinese labour rates ...


Noticed that - think it is more to do with the packaging - instead of
couple of mm thickness it becomes 15-20mm with sharp spikes...
  #24  
Old September 25th 14, 02:58 PM posted to uk.comp.os.linux,uk.tech.digital-tv
Theo Markettos
external usenet poster
 
Posts: 22
Default JTAG-ing - Anyone able to advise?

In uk.comp.os.linux Geo wrote:
On Wed, 24 Sep 2014 21:13:06 +0100, Andy Burns
wrote:

I suppose at that price, you can understand why the "row needles didn't
welding", it comes to something when a bit of soldering would break the
economics of the product, even at Chinese labour rates ...


Noticed that - think it is more to do with the packaging - instead of
couple of mm thickness it becomes 15-20mm with sharp spikes...


The rest of the board is single-sided SMD, so will do fully automated
assembly: sheet of boards on conveyor into pick and place machine, P&P from
reels of about a dozen components, into reflow oven, dice them up, done.
The pins would probably be hand soldered, which is an extra manual step, and
there are a lot of joints for each board.

Something like that can probably do a hundreds/thousand an hour, on a fairly
cheap and basic line. If you're lucky they might put them on a test jig,
but I wouldn't count on it...

Theo
  #25  
Old September 25th 14, 05:43 PM posted to uk.comp.os.linux,uk.tech.digital-tv
R. Mark Clayton
external usenet poster
 
Posts: 1,394
Default JTAG-ing - Anyone able to advise?


"Bill Wright" wrote in message
...
Java Jive wrote:
I have a QNAP NMP-1000, it's a network media player. It's no' bad,


Can we avoid this sort of pseudo-Scottish idiom from now on? If you're
going to remain as part of the UK I think it would be better if you
communicated in Home Counties English only.

Bill


Eeh bah gum Bill, dae they ken that oop in't [Yorkshire] dales?


  #26  
Old September 26th 14, 01:13 AM posted to uk.comp.os.linux,uk.tech.digital-tv
Java Jive[_3_]
external usenet poster
 
Posts: 1,892
Default JTAG-ing - Anyone able to advise?

On 24 Sep 2014 19:18:24 +0100 (BST), Theo Markettos
wrote:

In uk.comp.os.linux Java Jive wrote:

One thing that worries me is that the pitch seems to be exactly 2mm,


It's a fairly common item, such as:
http://uk.farnell.com/samtec/tmm-107...way/dp/1668542
(which is way expensive for what it is, but never mind)
You can buy these on strips and cut them down to length if you need.


Always been a bit wary of Farnell, but nevertheless tried to order.
Turned out minimum CC order is £20, which reminded me why I was
sceptical about them! Will have to look elsewhere, perhaps he

http://www.topqualitytools.co.uk/hea...107-01-g-d-sm/

Just use leaded solder. Tack two corners of the connector down to hold it
in place with a small amount of solder, then solder each of the pins.


You make it sound so simple :-)

I would imagine the various upgrade images available from QNAP would
be entire and complete, and would work, if I can just get the JTAG
hardware side of things together.


If it does a 'dd' into the partitions you're OK, if it untars things then
maybe not.


Had a look at two. Could only find clear text in the last 60-70 or so
bytes, so I suspect they're tar-ed and/or encrypted. See below ...

For example (quite expensive) ...
http://www.diygadget.com/tiao-usb-mu...2c-serial.html

...
Likewise it looks like OpenOCD supports
the FT2232 like in the first board.


After some reading around, beginning to favour this more expensive
option.

The other things you need to find:
Will OpenOCD work with your SoC? Is there a boundary scan pin definition file
about?


Pretty close. The OpenOCD download includes an SMP8634 definition
file, as appended, which hopefully will do. Would have expected to
find such essential data on the Sigma website, but there is barely a
mention of the SMP8635 there, actually there is more about the
SMP8634. I do hate it when manufacturers clear from their sites
essential data relating to legacy products.

Is there a script/code to flash the Spansion flash chip via the boundary
scan?


No progress on this yet, but have found a datasheet for it:

http://www.spansion.com/Support/Data...S29GL-P_00.pdf

Can you assemble an image of what the flash should look like? This is a raw
reflash, so it knows nothing about partitions for instance.


If not, I could just put Debian or Slackware on it, probably to be
loaded off a USB stick, with either Open NMP or XBMC.

OpenOCD's smp8634.cfg
================
# script for Sigma Designs SMP8634 (eventually even SMP8635)

if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
set _CHIPNAME smp8634
}

if { [info exists ENDIAN] } {
set _ENDIAN $ENDIAN
} else {
set _ENDIAN little
}

if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
set _CPUTAPID 0x08630001
}

adapter_nsrst_delay 100
jtag_ntrst_delay 100

reset_config trst_and_srst separate

# jtag scan chain
# format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask,
IDCODE)
jtag newtap $_CHIPNAME cpu -irlen 5 -ircapture 0x1 -irmask 0x1

set _TARGETNAME $_CHIPNAME.cpu
target create $_TARGETNAME mips_m4k -endian $_ENDIAN -variant
--
================================================== =======
Please always reply to ng as the email in this post's
header does not exist. Or use a contact address at:
http://www.macfh.co.uk/JavaJive/JavaJive.html
http://www.macfh.co.uk/Macfarlane/Macfarlane.html
  #27  
Old September 26th 14, 06:05 PM posted to uk.comp.os.linux,uk.tech.digital-tv
Folderol[_2_]
external usenet poster
 
Posts: 3
Default JTAG-ing - Anyone able to advise?

On Fri, 26 Sep 2014 00:13:45 +0100
Java Jive wrote:

Always been a bit wary of Farnell, but nevertheless tried to order.
Turned out minimum CC order is £20, which reminded me why I was
sceptical about them! Will have to look elsewhere, perhaps he


I think you'll find that just for free delivery. They used to do free delivery
on all orders, but there were so many people taking the **** with 50p worth of
resistors etc. that they were actually losing money. They are now in line with
firms like RS, who have always had a £20 min for free delivery.

--
W J G

  #28  
Old September 26th 14, 08:45 PM posted to uk.comp.os.linux,uk.tech.digital-tv
Java Jive[_3_]
external usenet poster
 
Posts: 1,892
Default JTAG-ing - Anyone able to advise?

No, it's the minimum order for a non-trade account.

On Fri, 26 Sep 2014 17:05:40 +0100, Folderol
wrote:

I think you'll find that just for free delivery.

--
================================================== =======
Please always reply to ng as the email in this post's
header does not exist. Or use a contact address at:
http://www.macfh.co.uk/JavaJive/JavaJive.html
http://www.macfh.co.uk/Macfarlane/Macfarlane.html
  #29  
Old September 27th 14, 01:27 AM posted to uk.comp.os.linux,uk.tech.digital-tv
Theo Markettos
external usenet poster
 
Posts: 22
Default JTAG-ing - Anyone able to advise?

In uk.comp.os.linux Java Jive wrote:
Always been a bit wary of Farnell, but nevertheless tried to order.
Turned out minimum CC order is £20, which reminded me why I was
sceptical about them! Will have to look elsewhere, perhaps he


CPC are the bit of Farnell with free delivery, but they don't carry that
part.

http://www.topqualitytools.co.uk/hea...107-01-g-d-sm/


That's just someone who orders from Farnell and resells - postage is
excessive but it's an option. I didn't try looking elsewhere, there are
probably other places too.

Can you assemble an image of what the flash should look like? This is a raw
reflash, so it knows nothing about partitions for instance.


If not, I could just put Debian or Slackware on it, probably to be
loaded off a USB stick, with either Open NMP or XBMC.


You'd still need to assemble a valid flash image, including missing
bootloader.

OpenOCD's smp8634.cfg


That just tells it what kind of CPU it has. You need data that says how
to wiggle each pin in the thousands-bit boundary scan chain. For example:

--BSC group 208 for unused pad
"624 (BC_4, *, internal, X)," &
"625 (BC_4, *, internal, 1)," &
"626 (BC_4, *, internal, X)," &

--BSC group 209 for I/O pin 67
"627 (BC_4, IO67, input, X)," &
"628 (BC_1, *, control, 1)," &
"629 (BC_1, IO67, output3, X, 628, 1, Z)," &

--BSC group 210 for I/O pin 66
"630 (BC_4, IO66, input, X)," &
"631 (BC_1, *, control, 1)," &
"632 (BC_1, IO66, output3, X, 631, 1, Z)," &

which is taken from this BSDL file (for a randomly selected Altera chip):
ftp://ftp.altera.com/outgoing/downlo...M1270ZT144.bsd

It's possible to use the file you have to access the CPU's debug unit and
load bare-metal code in from there, and then get that to do the reflash, but
it would have to be code that knows about how to write flash on the SMP8635
- more complex than using JTAG bounary scan to wiggle the pins.

Unless you can find someone who has done this before and described the
process, or decent data on the chip, I think you're out of luck I'm
afraid.

Theo
  #30  
Old October 7th 14, 10:04 PM posted to uk.comp.os.linux,uk.tech.digital-tv
Andy Burns[_9_]
external usenet poster
 
Posts: 389
Default JTAG-ing - Anyone able to advise?

Andy Burns wrote:

Java Jive wrote:

http://www.diygadget.com/tiao-usb-mu...2c-serial.html


Looks like a handy card to have around, especially as I've mislaid my
USB to TTL level RS232 dongle, there is a cheaper "lite" version of the
TUMPA


Just to mention, I id order one of of the tumpa-lite cards, and it
arrived today, I've still got to solder on its connector pins, then I'll
have a play with JTAGing an old router ... could be the sort of card I
hardly ever use, but cheap enough to have around in case it ever saves
the day ...

 




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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTA JTAG CABLE KIT $6 SHIPPED Domotronix Satellite tvro 0 January 2nd 08 05:31 AM
Advise Please Mel UK digital tv 10 June 20th 05 09:50 AM
SOLDERLESS JTAG 4 SALE cuddles4u Satellite dbs 0 September 23rd 03 01:29 AM
SOLDERLESS JTAG FOR SALE cuddles4u Satellite tvro 0 August 9th 03 09:36 PM
SOLDERLESS JTAG FOR SALE cuddles4u Satellite dbs 0 August 9th 03 09:34 PM


All times are GMT +1. The time now is 09:30 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2004-2021 HomeCinemaBanter.
The comments are property of their posters.