Author Topic: Rigol DS10xxZ firmware re-write  (Read 51448 times)

0 Members and 1 Guest are viewing this topic.

Offline esden

  • Newbie
  • Posts: 3
  • Country: us
    • 1BitSquared
Re: Rigol DS10xxZ firmware re-write
« Reply #50 on: May 01, 2017, 09:31:27 pm »
Hey everyone,

I think this project is very interesting. Might actually push me over the edge so that I finally get one of the Rigol scopes. :)

I really recommend using one of the widely used and proven solutions for open-source project coordination and development like Github organizations or alternatively GitLab to organize code commits and issues. The wiki is maybe not super capable but sufficient for most projects, and allows open coordination of the community effort with good transparency and lot's of useful integrations and tools. I personally would not vote for jira as it will lock the project into the atlassian system, making future migration very difficult. (I speak from experience here)

Just my 2cents. :)

Looking forward to progress in this project and maybe even getting my hands dirty. :)

Cheers,
Esden
 
The following users thanked this post: Kilrah

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3180
  • Country: au
Re: Rigol DS10xxZ firmware re-write
« Reply #51 on: May 02, 2017, 02:49:59 am »
Bookmarked.
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #52 on: May 02, 2017, 02:11:43 pm »
OK, Donor DS1054Z has just arrived...

How do I remove ribbons from mainboard sockets please?

Do I just pull, or do I slide the black plastic retainer first (though gentle persuasion does not release retainer so far)
 

Offline hlavac

  • Frequent Contributor
  • **
  • Posts: 536
  • Country: cz
Re: Rigol DS10xxZ firmware re-write
« Reply #53 on: May 02, 2017, 02:39:06 pm »
Pull out the plastic bit, the cable should pull out easily then
Good enough is the enemy of the best.
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #54 on: May 02, 2017, 02:51:14 pm »
Pull out the plastic bit, the cable should pull out easily then
Thanks, that worked.

Needed a lot of persuasion though. Not looking forward to removing display :(

Ah.... now I get it :)   just flip the black plastic up like a piano lid - much easier and less destructive

So, starting off with the simplest task:
Left hand keypad keys top to bottom are: K5 K12 K13 K11 K9 K2 K4 K3 K1
Left hand keypad ribbon cable listed top=1 to bottom = 8:

ribbon 1 = K5 R , K1 L , K2 L , K3 L , K4 L
ribbon 2 =K9 L , K11 L ,  K12 L , K13 L
ribbon 3 = K5 L , K13 R
ribbon 4 = ground to button PCB ground
ribbon 5 = K4 R, K12 R
ribbon 6 = K3 R , K11 R
ribbon 7 = K2 R
ribbon 8 = K1 R , K9 R

I make that a 2x5 matrix with:
ribbon 1 = row 1 (K1 to K5)
ribbon 2 = row 2 (K9 to K13) K10 not fitted
ribbon 3 = column 5 (K5 K13)
ribbon 4 gnd
ribbon 5 = column 4 (K4 K12)
ribbon 6 = column 3 (K3 K11)
ribbon 7 = column 2 (K2)
ribbon 8 = column 1 (K1 K9)

Dave's teardown seems to suggest that the 8 way side-connector is related to the 8-way key connector nearby, but continuity test shows that the two are not directly connected. My guess is that the positioning is co-incidence.

On to the other keyboard panel with all of the rotary encoders on. I see that there is an ASIC hidden away behind the board, so this board more complex than I first guessed. 

EDIT: Turns out the two keyboards work as one 6x8 matrix - where row 6 has K41 button (CH4) plus K54 through K59 which are the push function of the rotary switches
« Last Edit: May 03, 2017, 07:33:27 pm by hexreader »
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #55 on: May 02, 2017, 04:31:54 pm »
Anyone have any tips on how to get the little black bit of plastic back into the little white connector once it has been ripped out by mistake :(

The 8 way ribbon connector that goes to Rigol left-hand buttons.
 

Online nrxnrx

  • Supporter
  • ****
  • Posts: 68
  • Country: ro
Re: Rigol DS10xxZ firmware re-write
« Reply #56 on: May 02, 2017, 06:39:58 pm »
Anyone have any tips on how to get the little black bit of plastic back into the little white connector once it has been ripped out by mistake :(
The 8 way ribbon connector that goes to Rigol left-hand buttons.

If something broke, just replace it: http://uk.farnell.com/c/connectors/ffc-fpc-board-connectors?no-of-contacts=8contacts
What's the pin spacing on connector footprint? What about the cable?

If nothing broke, it may be possible to just force the bit of plastic back.

Good luck!
 

Offline PhiMX

  • Newbie
  • Posts: 7
  • Country: de
Re: Rigol DS10xxZ firmware re-write
« Reply #57 on: May 02, 2017, 07:35:07 pm »
Are there any open source oscilloscope applications readily available?

If said software has a proper HAL that can be made working with the (not yet synth´d) FPGA it would be loads and loads less work.
At least the said software could be forked to be used with the scope and the whole UI and math part would be already there and to be improved and customized later on.

I have already proposed to use the DSO quad stuff for the beginning which comes with some verilog that could be fiddled for the spartan architecture and customized for the dac. That way the software would already be interfaced. But its far from perfect.
I will have a look if there are better options... anybody got an idea? Tmbinc, whats your preferred way to do it? Write from scratch? You are the boss  :-BROKE  ;)
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28375
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Rigol DS10xxZ firmware re-write
« Reply #58 on: May 02, 2017, 11:12:19 pm »
Anyone have any tips on how to get the little black bit of plastic back into the little white connector once it has been ripped out by mistake :(

The 8 way ribbon connector that goes to Rigol left-hand buttons.
There's normally 2 styles, one that pushes home and clamps/secures the cable in place and the other has a swing over type clamping arrangement. Close inspection can identify each. Removal is simply the reverse of locking it home.
The "push home" retainers have an infuriating habit of not staying completely open for reinsertion and just a brush will partly close them making the ribbon tricky to insert.
You'll work it out.  ;)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #59 on: May 03, 2017, 12:04:40 am »
You'll work it out.  ;)
Yes I did work out that it is the second type, but not until I broke the socket by assuming it was the first kind  :'(

With luck, and the aid of a microscope, I am hoping I can get the black plastic bit back into to white socket.

....Else I will have to replace the whole socket, which with my rotten soldering skills and bad eyesight will not be pretty


If something broke, just replace it: http://uk.farnell.com/c/connectors/ffc-fpc-board-connectors?no-of-contacts=8contacts

Cool link - many thanks - I think I see the right connector near the bottom of first page - but don't have scope open right now to measure pitch. Will add some to my next order, just in case I cannot repair the old socket
« Last Edit: May 03, 2017, 12:31:28 am by hexreader »
 

Offline Fennec

  • Regular Contributor
  • *
  • Posts: 135
  • Country: 00
Re: Rigol DS10xxZ firmware re-write
« Reply #60 on: May 03, 2017, 01:18:04 am »
Holy, make a picture   |O
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #61 on: May 03, 2017, 01:43:26 am »
Holy, make a picture   |O
Dave already posted pictures of Rigol insides, showing the 8-pin key connector - he is not hampered by the picture file size limit that I suffer.

Will continue to post close-up pictures in due course as I progress, since these are within the post size limit, but without the bigger picture (literally) they convey limited information.
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 28375
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Rigol DS10xxZ firmware re-write
« Reply #62 on: May 03, 2017, 01:49:50 am »
Holy, make a picture   |O
Dave already posted pictures of Rigol insides, showing the 8-pin key connector - he is not hampered by the picture file size limit that I suffer.

Will continue to post close-up pictures in due course as I progress, since these are within the post size limit, but without the bigger picture (literally) they convey limited information.
You'd be surprised how much we can zoom in on even quite low res pics to see the details we need.  ;)
Everyone has their favourite program for this of course.  :)

I commonly reduce/shrink them to 100KB and never been asked for larger.
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #63 on: May 03, 2017, 02:02:03 am »
Fair enough,

Close-ups attached.

Doesn't look too hopeful to me, but maybe someone else has experienced a similar fix?

Is it just the 8 solder joints that need de-soldering, or is there hidden solder joints under connector?

Could not get ruler flat to board, but those are 1mm ruler markings, so I guess connector is 1mm pitch?

« Last Edit: May 03, 2017, 02:08:54 am by hexreader »
 
The following users thanked this post: tautech

Offline Fungus

  • Super Contributor
  • ***
  • Posts: 16649
  • Country: 00
Re: Rigol DS10xxZ firmware re-write
« Reply #64 on: May 03, 2017, 02:05:14 am »
I commonly reduce/shrink them to 100KB and never been asked for larger.

You could also increase jpg compression ratio on larger images.
 

Online hexreader

  • Frequent Contributor
  • **
  • Posts: 262
  • Country: england
Re: Rigol DS10xxZ firmware re-write
« Reply #65 on: May 03, 2017, 02:26:45 am »
And since I now have scope opened and microscope plugged in:

Here is the ASIC on the back of "keyboard A" and some kind of identifier...

EDIT: Turns out the two keyboards work as one 6x8 matrix - where row 6 has K41 button (CH4) plus K54 through K59 which are the push function of the rotary switches

Look at Dave's close-up picture of main keyboard A:
Top two connections on rotary switch are for the push button
Top left connector is row 6 of keyboard matrix
Top right connector goes K59 to column 3, K57 col 4, K58 col 5, K55 col 6, K56 col 7, K54 col 8
CH4 button K41 is Row 6 Column 2
Bottom 3 connectors are the encoder with centre wired to Row 6, left connector diode to common A, right connector diode to common B

K1 to K8 are row 1, col 1-8
K9 to K16 row 2, col 1-8
K17 to K24 row 3, col 1-8
K25 to K32 row 4, col 1-8
K33 to K40 row 5, col 1-8

Guessing here, but since LEDs look to be individually connected to ASIC, then I imagine key matrix probably connects to ASIC too?
Still guessing - I imagine that ASIC handles all buttons and rotary encoders and passes information to Mainboard?
« Last Edit: May 03, 2017, 08:00:16 pm by hexreader »
 

Offline Fennec

  • Regular Contributor
  • *
  • Posts: 135
  • Country: 00
Re: Rigol DS10xxZ firmware re-write
« Reply #66 on: May 03, 2017, 03:06:48 am »
Congratulations, the connector is dead. What kind of tools do you use ? Hammer and chisel ?

The pitch is 1.27mm
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2328
  • Country: 00
Re: Rigol DS10xxZ firmware re-write
« Reply #67 on: May 03, 2017, 05:08:38 am »
Let's help with some information consolidation

Here Davi's high res picture of Rigol in one rar file 180 M

http://www.transmissor.com/Rigol1054Z.rar   < Caution 180M on your hard drive compressed

I would offer to maintain a WordPress site for the purpose of this project, where information and pictures will be hosted, for an easier sharing. If at least the working members and contributors agree I will create. otherwise, will forget due to lack of interest
 

Offline cBaer

  • Contributor
  • Posts: 12
  • Country: de
Re: Rigol DS10xxZ firmware re-write
« Reply #68 on: May 03, 2017, 09:49:35 am »
Congratulations, the connector is dead. What kind of tools do you use ? Hammer and chisel ?

The pitch is 1.27mm
Hope that was a joke ;)
The rework can be easely done if you have the right tools and skills. However if you are not used to it, trying DIY could cause more damage. If you want to try to replace it yourself go get some junk electronics and exercise on that first. You'll need a hot air station (to remove the part), solderwick to clean the pads, smd flux, fine solder (leaded should work), a soldering iron with a very fine tip (to solder the new part on) a good tweezer (so you dont block your sight and dont burn your fingers) and a good microscope would be a good idea. There are a lot of videos on Youtube about that. Look for ipad rehab or Lois Rossmann (Warning he's a New Yorker  ;)). Ofc this will not save you from exercise on junk electronic. I think there is nobody in the world who didnt f*ck up on the first try on something like that. Or go find a expert that mastered that kind of stuff.
 

Offline cBaer

  • Contributor
  • Posts: 12
  • Country: de
Re: Rigol DS10xxZ firmware re-write
« Reply #69 on: May 03, 2017, 10:01:07 am »
Is it just the 8 solder joints that need de-soldering, or is there hidden solder joints under connector?
there are two more (left and right outer edge) there are for mechanical stability, there should be no signals on it (GND maybe)
 

Offline Rerouter

  • Super Contributor
  • ***
  • Posts: 4694
  • Country: au
  • Question Everything... Except This Statement
Re: Rigol DS10xxZ firmware re-write
« Reply #70 on: May 03, 2017, 10:19:57 am »
Fennec, if you can tell us where you are, someone nearby can probably swap it for you.
 

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: Rigol DS10xxZ firmware re-write
« Reply #71 on: May 03, 2017, 01:30:05 pm »
Look for ipad rehab or Lois Rossmann.

Please don't, Louis' technique is terrible and he's the first to say so himself. Not the 'go to' guy for a surface mount soldering tutorial.

A soldering iron, flux, wick and solder are all that are strictly necessary. Hot air and a microscope are luxury items unless SMD repair is a regular concern. There is an almost unlimited and inexhaustible supply of existing SMD soldering advice and opinion available on this forum with a simple search, please let's not turn this thread into yet another SMD soldering for newbies tutorial.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 
The following users thanked this post: tooki

Offline Mukrakiish

  • Contributor
  • Posts: 42
  • Country: 00
Re: Rigol DS10xxZ firmware re-write
« Reply #72 on: May 03, 2017, 03:03:47 pm »
Let's help with some information consolidation

Here Davi's high res picture of Rigol in one rar file 180 M

http://www.transmissor.com/Rigol1054Z.rar   < Caution 180M on your hard drive compressed

I would offer to maintain a WordPress site for the purpose of this project, where information and pictures will be hosted, for an easier sharing. If at least the working members and contributors agree I will create. otherwise, will forget due to lack of interest

If for nothing more than a consolidation of all images (and the context of them) I think would be a great way to keep it all together rather than sifting through numerous posts. All of my favorite project compilations that used WP worked well that way vs endless pages of a thread. Just my 2 cents.
 

Offline JJalling

  • Supporter
  • ****
  • Posts: 246
  • Country: dk
Re: Rigol DS10xxZ firmware re-write
« Reply #73 on: May 03, 2017, 05:30:43 pm »
I thinks it's a good idea to collect all the info somewhere. A wiki is preferable IMO. I like the Atlassian tools, but I understand that some people don't.
The important thing is that more than one is able to contribute/edit the pages.

I can provide a server to host whatever, if needed.

BR Jonas
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Rigol DS10xxZ firmware re-write
« Reply #74 on: May 03, 2017, 05:42:22 pm »
What about using xDevs? Various folks here have tracked and documented their test equipment/electronics projects there.

https://dev.xdevs.com/
TEA is the way. | TEA Time channel
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf