Author Topic: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?  (Read 294349 times)

0 Members and 1 Guest are viewing this topic.

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #150 on: February 19, 2014, 01:14:37 pm »
Excellent! The pins are close to each other, check nearby signals (Y3, W1-W4) - where do they go? This can be much easier than decompiling :)
Decompilation shouldn't be so hard - we don't need entire design in Verilog, just identifiing pins that feed the same piece of logic that our known pins do should be enough.

So that JTAG header is dedicated PROM programming connector. Perhaps there is some debug header that goes to FPGA's JTAG?
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13998
  • Country: gb
    • Mike's Electric Stuff
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #151 on: February 19, 2014, 01:19:41 pm »
Excellent! The pins are close to each other, check nearby signals (Y3, W1-W4) - where do they go? This can be much easier than decompiling :)
Decompilation shouldn't be so hard - we don't need entire design in Verilog, just identifiing pins that feed the same piece of logic that our known pins do should be enough.

So that JTAG header is dedicated PROM programming connector. Perhaps there is some debug header that goes to FPGA's JTAG?
Possibly on that MICTOR connector?
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #152 on: February 19, 2014, 06:35:39 pm »
I have taken these photographs, they can serve as a reference or comparison.
Unfortunately, the legend on the smaller components, can't be read... LOL, I need more megapixels.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #153 on: February 19, 2014, 06:36:43 pm »
Rear side:
« Last Edit: February 19, 2014, 06:38:48 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline taemun

  • Regular Contributor
  • *
  • Posts: 110
  • Country: au
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #154 on: February 19, 2014, 06:37:38 pm »
It's possible (although... insane?) that the FPGA JTAG isn't broken out, and it just reads the bitstream from the XCF chip on boot.  Not sure how they debugged the FPGA in-circuit, or maybe that was all done by the time this board was laid out.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #155 on: February 19, 2014, 06:46:50 pm »
It's possible (although... insane?) that the FPGA JTAG isn't broken out.
The FPGA pins TMS, TDI and TDO are not directly accessible (no via).
No via, but this pins have a PAD, I don't know if that's what you mean.
« Last Edit: February 20, 2014, 11:38:31 am by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline taemun

  • Regular Contributor
  • *
  • Posts: 110
  • Country: au
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #156 on: February 19, 2014, 06:48:15 pm »
Well they'll have a pad for mechanical/soldering reasons - they don't have to be attached to anything else on the board. I meant "broken out" as in "going to a header".
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #157 on: February 19, 2014, 06:53:19 pm »
Well they'll have a pad for mechanical/soldering reasons - they don't have to be attached to anything else on the board. I meant "broken out" as in "going to a header".
Ok, now I understand, but, no idea.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline tesla500

  • Regular Contributor
  • *
  • Posts: 149
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #158 on: February 19, 2014, 07:05:02 pm »
Isn't the config flash chained up with the FPGA JTAG? I seem to recall the platform flash can be programmed directly via JTAG. Is J2600 near the flash the JTAG for the FPGA/flash?
« Last Edit: February 19, 2014, 07:09:19 pm by tesla500 »
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #159 on: February 19, 2014, 07:46:03 pm »
Is J2600 near the flash the JTAG for the FPGA/flash?
J2600 appears to be only for the flash, but it is also connected to the CPU (at least TCK).

I seem to recall the platform flash can be programmed directly via JTAG.
I don't know...

Isn't the config flash chained up with the FPGA JTAG?
Apparently not...



And no idea of what is connected to the MICTOR connector.

« Last Edit: February 19, 2014, 07:51:59 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #160 on: February 19, 2014, 07:51:58 pm »
In theory if everything was debugged on some special debug board, then there is no reason to have that jtag accessible on production version. Just route PROM's jtag to a header for initial/repair programming and to the CPU for regular updates (as I wrote before, CPU uses simple GPIO bitbang XSVF player to update that PROM).
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #161 on: February 19, 2014, 07:54:39 pm »
In theory if everything was debugged on some special debug board, then there is no reason to have that jtag accessible on production version. Just route PROM's jtag to a header for initial/repair programming and to the CPU for regular updates (as I wrote before, CPU uses simple GPIO bitbang XSVF player to update that PROM).
Well that's what it seems they did.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline tesla500

  • Regular Contributor
  • *
  • Posts: 149
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #162 on: February 19, 2014, 09:11:56 pm »
The FPGA JTAG pins are all on the outside edge of the part, so as long as they haven't been grounded, you could possibly insert pin probes at the edge of the FPGA and connect to the JTAG, whether they've been brought to vias or not. Some very fine jig work would be required though.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #163 on: February 19, 2014, 09:15:57 pm »
The FPGA JTAG pins are all on the outside edge of the part, so as long as they haven't been grounded, you could possibly insert pin probes at the edge of the FPGA and connect to the JTAG, whether they've been brought to vias or not. Some very fine jig work would be required though.
Good idea, you're right. I'll try.  :-+
First, I will try to "make" a probe, to do that.



I leave it for today.
Cheers.
« Last Edit: February 19, 2014, 10:28:23 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13998
  • Country: gb
    • Mike's Electric Stuff
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #164 on: February 19, 2014, 11:15:21 pm »
The FPGA JTAG pins are all on the outside edge of the part, so as long as they haven't been grounded, you could possibly insert pin probes at the edge of the FPGA and connect to the JTAG, whether they've been brought to vias or not. Some very fine jig work would be required though.
Good idea, you're right. I'll try.  :-+
First, I will try to "make" a probe, to do that.



I leave it for today.
Cheers.

..or at least use to find where JTAG pins are brought out.
I can't believe they wouldn't have put JTAG somewhere accessible - there's a Mictor trace connector (probably not fitted on later models), and it could be that the JTAG chain passes through other chips, but I'd be highly surprised if it wasn't there - there's just no way anyone would leave such an important interface off such a complex board.
 
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline tesla500

  • Regular Contributor
  • *
  • Posts: 149
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #165 on: February 20, 2014, 12:02:59 am »

..or at least use to find where JTAG pins are brought out.
I can't believe they wouldn't have put JTAG somewhere accessible - there's a Mictor trace connector (probably not fitted on later models), and it could be that the JTAG chain passes through other chips, but I'd be highly surprised if it wasn't there - there's just no way anyone would leave such an important interface off such a complex board.
 
I have to agree, it would be stupid not to wire up the FPGA JTAG. It's easy to confirm if the JTAG pins are chained up with the FPGA or not, just measure from the XCF pins to J2600. Perhaps there's a config bit that makes the FPGA JTAG a passthrough? If it became a passthrough it wouldn't show up in the chain.
« Last Edit: February 20, 2014, 12:04:37 am by tesla500 »
 

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #166 on: February 20, 2014, 09:12:09 am »
The FPGA JTAG pins are all on the outside edge of the part, so as long as they haven't been grounded, you could possibly insert pin probes at the edge of the FPGA and connect to the JTAG, whether they've been brought to vias or not. Some very fine jig work would be required though.

Even no need to go under the edge, those vias at the top side of BGA edges go to underlying two outer ball rows, just scratch the green mask a bit to reveal copper.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #167 on: February 20, 2014, 11:34:10 am »
The probe was a success. Is a piece of enameled wire with a diameter of ~0.3mm, with the tip bent 90ยบ, see attached image (probe.jpg).

Vias and pads are aligned, but the trace that join them not always join the adjacent via with the adjacent pad, see attached image (bga.jpg).
For this reason some of the connections mentioned in my previous posts are incorrect. I'm going to edit these posts, now. Leaving only the connections that are correct for sure.

These are the good news, see attached image (FPGA-JTAG.jpg). Now I just have to follow this traces.
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #168 on: February 20, 2014, 06:04:46 pm »
The FPGA JTAG seems to be forming a chain with the ASICs and CPU JTAG (excluding XCF04S). This chain could be accessed from the Mictor connector, but this circuit (the chain) is not fully implemented. Looks like Agilent only fully assembled this circuit, if necessary, adding and/or removing some components (probably some resistors). I think that the Mictor connector is mounted, because add it manually later must be hard.

The JTAG connector J2600 is exclusively for the XCF04S, but CPU also accesses this port.
The connector J2400, also seems to be connected to the CPU JTAG.

TMS and TDI (FPGA) are connected to the ASICs U29000, TDO ends on a open jumper between the FPGA and the Mictor, and I have been unable to find where TCK goes.
However I don't think that it matters...

Also seems that the front end is controlled only by the CPU (at least a part).
« Last Edit: February 20, 2014, 06:14:34 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13998
  • Country: gb
    • Mike's Electric Stuff
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #169 on: February 20, 2014, 06:25:45 pm »
I think that the Mictor connector is mounted, because add it manually later must be hard.
This connector is probably only for software development/debug - I've only seen it fitted on my early 6034, not on later 6012 or 6034.


Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #170 on: February 20, 2014, 07:05:30 pm »
This connector is probably only for software development/debug - I've only seen it fitted on my early 6034, not on later 6012 or 6034.
Probably.



The input stage (with a bit more detail).





My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 837
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #171 on: February 20, 2014, 09:47:54 pm »
Also seems that the front end is controlled only by the CPU (at least a part).

Do you see any direct CPU-frontend traces there? From sw side it looks more like all channel hw is controlled throught "Ponderosa" chips (ASICs closer to CPU). ADC ("Talon") control paths are seen as long serial shift registers chains attached to Ponderosas.

Talons looks same for all BW options, there is a calibration function that temporary configures them to maximum sample rate regardless of model, takes some measurements, then sets back to model-defined values. So BW limiting should happen somewhere in the frontend. Maybe we should measure and compare levels on 1NB7 pins of 6034 and 6012?
 

Offline Carrington

  • Super Contributor
  • ***
  • Posts: 1202
  • Country: es
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #172 on: February 20, 2014, 11:32:25 pm »
Do you see any direct CPU-frontend traces there?
Yes, some traces go straight from the CPU to the 74ACT174s.

From sw side it looks more like all channel hw is controlled throught "Ponderosa" chips (ASICs closer to CPU). ADC ("Talon") control paths are seen as long serial shift registers chains attached to Ponderosas.
Surely also uses "Ponderosa".

Talons looks same for all BW options, there is a calibration function that temporary configures them to maximum sample rate regardless of model, takes some measurements, then sets back to model-defined values.
Interesting...

So BW limiting should happen somewhere in the frontend.
I also think so.
But the question is: What chip sets the BW? CPU, FPGA, ASCIs or 1NB7-8453. And how? A command, a jumper, ...

Maybe we should measure and compare levels on 1NB7 pins of 6034 and 6012?
Unfortunately the 6012 does not use the 1NB7. The 1NB7-8453 is mounted on the 603*s, 605*s and probably on the 610*.



This frontend is not from a 603*, I don't know to which model belongs.

« Last Edit: February 20, 2014, 11:36:46 pm by Carrington »
My English can be pretty bad, so suggestions are welcome. ;)
Space Weather.
Lightning & Thunderstorms in Real Time.
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13998
  • Country: gb
    • Mike's Electric Stuff
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #173 on: February 20, 2014, 11:47:11 pm »
I had a recollection that there was something odd about the 6104 so I re-read the datasheet and spotted this :
Quote
MSO/DSO601xA/603xA: 2 GSa/sec each channel
MSO/DSO605xA/610xA: 4 GSa/sec half channel*, 2 GSa/sec each channel
....
*  Half channel is when only one of channel 1 or 2 is turned on, and only channel 3 or 4 is turned on.

This would suggest that on both the 6054 and the 6104, it uses the whole ADC, and maybe both input amps for one channel instead of muxing it between 2 channels.
I suspect that the omitted, bypassed, relay on the 6034 is to connect the two inputs together to feed into the two parallel channels. Would be pretty easy to check this.
I think this means that you're probably more likely to be able to upgrade a 6054 to a 6104 than a 6034 to a 6054, however I expect the 6054 and 6104 differ mostly by the frontend - really  looking forward to seeing Tesla500's 6104 pics - make sure you look under those cans (assuming they haven;t soldered them for 1GHz!)

 



Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline tesla500

  • Regular Contributor
  • *
  • Posts: 149
Re: Agilent MSO 5000/6000/7000 - anyone hacked these scopes?
« Reply #174 on: February 21, 2014, 08:15:04 am »
Here's an imgur album of MSO6104A images

http://imgur.com/a/7vAeG

This scope is (I believe) from 2006, I purchased it in 2008 from Newark as a refurbished former demo unit. I figured if it survived being shipped around so much it's probably pretty solid. They stupidly listed a bunch of them on ebay at the same time with no reserves, got it for $5k. All the future auctions had reserve prices after that  ;D They even gave me a free 8M upgrade because the listing said it had that, but it only came with 1M enabled :-DD.

Uses a different hybrid than the others, 1NB7-8477.

Edit:
Found a pic of the hybrid with the top popped off. I wonder what scope that's from, and what they're trying to do with those coax cables soldered onto the outputs?
« Last Edit: February 21, 2014, 08:32:28 am by tesla500 »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf