EEVblog Electronics Community Forum

Electronics => Repair => Topic started by: shutto on February 29, 2016, 05:52:59 pm

Title: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: shutto on February 29, 2016, 05:52:59 pm
Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML and similar oscilloscopes Aten, Siglent.
Failure firmware. Photos board
Thank you.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: shutto on March 01, 2016, 04:23:01 pm
Manifestation of a fault in the photo  :(
So after Lecroy WaveAce1xxx firmware  :-[
What is the reason?  |O
Programmed through the JTAG dump different.
Problem still exists.
On firmware for Atten ADS 1102CAl writes - Load Fpga fail.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: Monkeh on March 01, 2016, 04:29:28 pm
What makes you think that's a firmware problem?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: shutto on March 01, 2016, 04:34:10 pm
The problem appeared immediately after the firmware upgrade via USB on Lecroy waveace1xxx_5.01.02.27.ads
On the firmware Siglent worked but slow sweep.  What was the reason for the replacement.
Possible damage CPLD Lattice or Altera?
Thank you for attention.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: rg58 on December 09, 2016, 11:19:01 am
Hi shutto,

Did you make any progress with your repair? Have you managed to find the problem?

I'm facing exactly the same problem with an ATTEN ADS 1102 CAL which should be identical to Siglent SDS 1102 CNL. Upon bootup it shows the error "Load FPGA Failed!".

I bough the scope from someone second hand, so I don't know its history and what has caused the issue. I have tried several firmware versions including a version sent to me from ATTEN.EU on my support enquiry. The flashing went OK, but the problem always remained the same.

I was tearing the thing apart as well but found nothing obvious. Attached you photos.

How can we go about troubleshooting the device? Via JTAG interface? I have identified 2 headers on the board. One of them is JTAG, I'm not sure about the other one.

Anyone else here having the same problem? This thread attracted quite a bit of attention as it was read 491 times, so I assume there could be more people out there with the same issue.

Thanks everyone!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: ManMan on June 07, 2017, 09:32:59 am
Try this flash dump ADS1102CAL
https://yadi.sk/d/0Bf97ZYq3JuBpp

->- I also need Atten ADS1022..ADS1042..ADS1062 or Siglent SDS1022C  Flash dump.. and Siglent SDS1022C latest Firmware -<-
->- Please Help !!! -<-
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: rg58 on June 24, 2017, 03:26:40 pm
Thanks for that, ManMan! Very much appreciate it!

Now the question is: How do I get it in there? Is it safe and possible to do the firmware update via menu? I think as this a dump it might not be possible. I assume this the content of the 'S29GL064N90TFI04' (Spansion) flash memory? I'm afraid I need to take that out for flashing... which I have only limited possibilities for. Or can I do it via JTAG, programming the flash memory 'through' the controller? Sorry, I'm quite new to this digital stuff although into electronics for over 25 years.

Please help! Thanks!

P.S. Can't help with the Flash dumps, but the latest firmware should be here: http://siglent.com/ENs/gjjrj.aspx?id=15 (http://siglent.com/ENs/gjjrj.aspx?id=15) 
Not sure if the CML version is compatible with your scope.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tautech on June 25, 2017, 12:52:06 am
Please be aware any FW for *DS1***C*L is only for 7" display models, models without L are 5" display and use different/older FW versions.
There are also versions 3 and 5 of HW, the coding in the FW version gives some clues as to which they suit.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: ManMan on August 17, 2017, 03:37:21 pm
https://www.eevblog.com/forum/repair/atten-ads1022c-not-work-after-firmware-upgrade/msg1275367/#msg1275367 (https://www.eevblog.com/forum/repair/atten-ads1022c-not-work-after-firmware-upgrade/msg1275367/#msg1275367)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: rg58 on December 24, 2017, 12:22:22 pm
Thanks for that! This was very helpful!

So, I just wanted to let everyone know the outcome.

Firstly, following 'ManMan's instructions, I managed to upload a new firmware via the 'Wiggler' JTAG interface that I built ("In-Air-Technology"). It was horribly SLOW, literally taking me DAYS to complete (in sections), with very unstable clock & data signals on the output of the LPT (jitter), and the software utilizing 100% of my CPU on every computer that I tried. Probably an issue with this 'TopJTAG Flash Programmer' software (which is great otherwise). So I can't recommend the simple Wiggler interface, it was a real pain. Later I tried with a cheap 'Altera' USB Blaster interface from China, but that wouldn't work either as it lost connection to the JTAG everytime after a few seconds. Blame it on this chinese interface as it did the same on another device's JTAG.

So I first dumped the orignal FLASH content of 8MB. Did that a few times and run MD5 hashes until I had enough files that had the same hash, so I could be confident that what I dumped has actually been read successfully several times (I did produce many dumps with errors). The reading from Flash took 1174min (19.5 hours !!!) for 8MB each time (see screenshot), although later I noticed that only the first 2.5MB were occupied with data, so I limited to address range for subsequent reading/writing. Next, the FLASH needs to be erased. The software doesn't allow you to erase the first sector (which fails otherwise), so you need to untick it (screenshot). Then, after writing ManMan's dump to the FLASH and by reading it back again, I confirmed it to be 100% identical to the input file (by MD5 hash) - so the writing was confirmed to be successful. However, the problem REMAINED the same :-BROKE 

I had then tried flashing various other (suitable) Firmware versions via JTAG, but with all of them the problem didn't go away. This whole process took me a few WEEKS to complete as of the slow speed of the wiggler interface and this software. The highest possible clock speed meassured on the LPT was only 22 kHz, no matter the setting in the software (limited by CPU power?).

So I went back troubleshooting the hardware again. I confirmed earlier that the power supply was ok, output voltages were all correct, stable and ripple-free. Then I went on to take several other measurements with another scope and multimeter. Here's what I found out: The 3 AD-Converter ICs on top (and 2 on the bottom) with their writing removed were identified to be most likely AD9288 - at least the pinout matches everything on this PCB. So, probing those ones, I noticed that there are no CLOCK signals on ENCA (Pin 47) and ENCB (Pin 14) - no matter the Time/Div setting. It was hard to follow the copper trails, but I believe the one clock signal (fed into the 5 ADCs via 5x2 1kOhm resistors) comes from the big CYCLONE IV FPGA  :palm:  At this point I gave up. Maybe the FPGA got fried when someone flashed the wrong firmware onto this device? It is however still possible that NONE of the Firmware versions that I tried matched this scope's hardware, who knows.

Hope this helps some of you guys out there who would like to troubleshoot further. I have given up. You can't always win.

MERRY CHRISTMAS !
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: ManMan on December 07, 2019, 10:32:42 pm
https://www.eevblog.com/forum/repair/atten-ads1022c-not-work-after-firmware-upgrade/new/#new (https://www.eevblog.com/forum/repair/atten-ads1022c-not-work-after-firmware-upgrade/new/#new)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 08:59:49 am
Hi tv84, first of all thanks for your help.
Attached there is the Siglent FW that is installed in my scope.
Note that the FPGA in my scope is a CYCLONE III (is this the problem? Old hw?).

Quote from: tv84
Have you tried using the latest CML/CNL firmware 5.01.02.32 (Release Date 07.09.15 )?

Yes, i've tried and the problem is the same.

Thanks...

(https://i.imgur.com/Q8PE5BZl.jpg)

(https://i.imgur.com/sipzaLil.jpg)

Alex,

I think you have a good point in your question!!

What are the CPLDs in these equipments?

Follow me with this scenario:

When you upgrade the FW, it flashes the BF flash mem and the CPLD part. But what happens if the CPLDs are incorrect? You crush the correct config with an inappropriate config.

Rolling back the flash programming doesnt solve the problem because the harm to the CPLD is already done.

Looking at the image screens, I think it can be something like this, since your scope continues to work - which means the Blackfin part is working OK. If not you would be unable to navigate through the menus...

And the CPLD should be used for the processing of the signal to be displayed...

So, assuming this theory is correct, it's impossible to solve the problem with flashing Siglent's FWs (any version) and/or reflashing a previous flash dump.

The solution is to flash again the original Atten .ADS.

Unless Siglent CNL has the same CPLD as Atten CAL...  (and the CML has different...)

OR

All these FWs don't have CPLD programming and they are preprogrammed at factory...

A few years ago I would answer this with more knowledge... :)

Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 09:12:22 am
This is the parsing of SDS1000CML_SSP_V100R005B01D02P32

Code: [Select]
SDS1000CML_SSP_V100R005B01D02P32.ADS  /  CRC32: 68A992F5
File Header Size: 00000048
00000000 - File Checksum: F554D6CF [00000004-00173142] (with only the File Header decrypted)  CKSM OK
00000004 - File Size: 001730FB (without 0x48 bytes of the File Header)
00000008 - # Blocks: 0000881C
0000000C - Blocks Area Size: 000F698B  [0007C770-001730FA]
00000010 - Product_ID: 79
00000026 - Contents:     The help info   
0000003A - USB Host Controller:     ISP1763   
****************************************************
Decrypting the 0x2800 and 0x1400 blocks...
Reversing file...
XORing with 0xFF (incrementing pattern)...
XORing with 0xFF from 0x000B987E until 0x001730FA
****************************************************
00000000 - Section Checksum: FCE1FD30  [00000004-0007C76D]  CKSM OK
00000004 --- 0007C76D  ***** Menus / Help Section *****
****************************************************
0007C770 - Removing block encapsulations from Block Area [0007C770-001730FA]

Total bytes extracted (from the blocks): 000CC0E5    Block area processed OK

Buffer Size: 00006DEA bytes (after converting from 16 to 8 bits)

00000000 ---    0x00000000  DXE 0000 (Data Size: 00006DD4) [00000000-00006DE1]
Processor Type: ADSP-BF533/534/536/537/538/539 (boot address: 0xFFA00000)
Orig Offset: Offset: Block: Target Add: Byte Count: Flags: [  start -   end  ]
00000000 +++ 0x00000000 0000 FF800040 00000004 0012 [0000000A-0000000D]  resvect ignore
0000001C +++ 0x0000000E 0001 FF800000 000022B0 0002 [00000018-000022C7]  resvect
00004590 --- 0x000022C8 0002 FF8022B0 00000010 0003      zero-fill resvect
000045A4 --- 0x000022D2 0003 FF8022C0 00000010 0002 [000022DC-000022EB]  resvect
000045D8 --- 0x000022EC 0004 FF8022D0 0000029E 0002 [000022F6-00002593]  resvect
00004B28 --- 0x00002594 0005 FF80256E 0000000E 0003      zero-fill resvect
00004B3C --- 0x0000259E 0006 FF80257C 000009BA 0002 [000025A8-00002F61]  resvect
00005EC4 --- 0x00002F62 0007 FF802F36 000000AA 0003      zero-fill resvect
00005ED8 --- 0x00002F6C 0008 FF802FE0 0000000C 0002 [00002F76-00002F81]  resvect
00005F04 +++ 0x00002F82 0009 FF902000 00000004 0002 [00002F8C-00002F8F]  resvect
00005F20 --- 0x00002F90 000A FF902004 00000068 0003      zero-fill resvect
00005F34 +++ 0x00002F9A 000B FFA00000 00003E32 0002 [00002FA4-00006DD5]  resvect
0000DBAC +++ 0x00006DD6 000C FFA00000 00000002 000A [00006DE0-00006DE1]  resvect init

0000DBC4 --- ZLIB Decompressed Size: 001EEE90
0000DBCC --- ZLIB Compressed Block Size: 000BE511 [0000DBD4-000CC0E4]
****************************************************
  Section Processed OK


The other ones are similar. I would say that this FW package doesn't have CPLD programming.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 09:19:43 am
Hello tv84, it is indeed more appropriate to discuss this topic here, let me talk about the upgrade process.
1. Atten 1102cal (hw = 3.41.61 sw = 3.01.01.21 sn = 01020100301074) Swipe SDS1000CNL_SSP_V100R005B01D02P13 (neither hw nor sn numbers have changed) is normal.
2. Welding IS61LPS51236A-200TQLI, and then brush SDS1000CML_SSP_V100R005B01D02P22, (the hw and sn numbers have not changed) failure
3. Brush the 29 and 32 version of the ads file, (the hw and sn numbers have not changed) unresolved
4. Flash WaveAce firmware. Unresolved (can't remember the situation of hw and sn).
5. Remove the IS61LPS51236A-200TQLI
6. Remove the S29GL064N90TFI04 chip, flash in "ADS_1102CAL_ok.bin", and restore to atten 1102cal, (hw becomes 10-41-2.1, sn becomes ADS00002122782).
7. Remove the S29GL064N90TFI04 chip, flash into a local 1102cal flash file backed up by a programmer with a programmer, (hw becomes 11-41-2.1, sn becomes ADS00004121834) unresolved.

Looking back at the flashing process, I found that there is a noteworthy place. After the serial number is changed, there is an additional "ADS" character in front of it, which was not there before.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 09:33:25 am
What happens if you maintain the Atten CAL FW and solder the SRAM memory? The scope continues to work normally?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 09:40:35 am
There is no soldering operation in the atten 1102cal mode, only the chip was soldered after upgrading to 1102cnl, the device was normal at the time, but it was not normal after upgrading to 1102cml.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 09:48:54 am
Alex,

If you want to downgrade to Atten CAL 3.01.01.31.16 here is the file.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 27, 2020, 10:11:53 am
This is the parsing of SDS1000CML_SSP_V100R005B01D02P32

****************************************
SDS1000CML_SSP_V100R005B01D02P32.ADS  /  CRC32: 68A992F5

...

Processor Type: ADSP-BF533/534/536/537/538/539 (boot address: 0xFFA00000)


****************************************


(https://i.imgur.com/Z6eq9JWl.jpg)

Hi tv84, i think that you've found the problem: the processor type is different. I've a BF531 processor (and, i think, also routerfan has the same problem: from the photo, he has the same board revision of my oscilloscope).
At this point, i'm thinking that the only solution is to flash the original ATTEN FW.
But... how? The siglent FW won't let me do it ( it says "product id does not match"), and the only firmware I'm sure of is the ATTEN .ADS file that I have, even if it has little bugs in the trigger management (these bugs are why I had upgraded to the SIGLENT CNL version).
What do you think?

THANKS A LOT!!!!!!!!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 10:16:09 am
solder the memory the scope becomes automatically a CML!
It would be nice if I knew that this was the case. S29GL064N90TFI04@TSOP48_20200418_234200.BIN was backed up by a friend's own 1102cal, he sold it, so he do n’t know the specific hardware version and software version have been numbered. After rolling back to 1102cal, the waveform still makes people crash, the machine can run, it makes no sense
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 10:16:44 am
Processor Type: ADSP-BF533/534/536/537/538/539 (boot address: 0xFFA00000)

Forget that. Currently I think that info is incorrect.

I'll try to modify the Atten CAL (Product ID 80) to allow flashing from a Siglent CML/CNL (Product ID 79).
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 10:21:26 am
After rolling back to 1102cal, the waveform still makes people crash, the machine can run, it makes no sense

So, your scope is broken even when you roll back to that Atten CAL dump (from your friend).

Let's try to downgrade Alex scope and see if that helps to explain the situation of both you guys.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 27, 2020, 10:24:06 am
Alex,

If you want to downgrade to Atten CAL 3.01.01.31.16 here is the file.

(https://i.imgur.com/C11DCb7l.jpg)

Quote from: tv84
I'll try to modify the Atten CAL (Product ID 79) to allow flashing from a Siglent CML/CNL (Product ID 80).

THANKS!!!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 10:29:19 am
Indeed, is the 531 processor different from the others?[attachimg=1]
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 10:40:18 am
There is another way to try. 1. Insert the USB flash drive, and make sure that there is only the original ads1102 program on the USB flash drive.
2. Press and hold the two buttons "trig menu / set to 50% '"
3. Turn on

This is some kind of shortcut for forced upgrade. I tried it and it didn't respond. It didn't affect the startup of the machine. I don't know how you are?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 10:58:23 am
Decompile ads file? Very powerful, how to do it? I have atten files (
Includes another DAT format file)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 01:53:50 pm
Thanks tv84! Download and test now!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 02:15:25 pm
Unfortunately, no success!
ATTEN_ADS1000CAL_V100R003B01D01P31R16_ProdId_79.ADS  CRC32 D13B5706
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 02:27:31 pm
 |O

It's referring to the "Product Type" which is SDS1102CNL !

I changed the "Product ID" of the FW.

SHow me what is the response to these SCPI comands:

MD5_CMPY?
MD5_PR?
MD5_SRLN?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 27, 2020, 02:34:25 pm
The level is limited, I have to see how to get the SCPI interface :-BROKE
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 03:40:44 pm
routerfan,

Try flashing this file (through the upgrade method).

If it succeeds, it will change the "Product Type" of your scope to "ADS1102CAL".    I hope...   Then you can flash my previous .ADS.

If it doesn't succeed, don't blame me!  :)

This file was done specifically for you since your are able to recover the flash via programmer, I think you should be able to recover if anything goes wrong.

Edit: remove the file. You can use the Atten official one, in one of the next messages.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 27, 2020, 05:50:31 pm
|O

It's referring to the "Product Type" which is SDS1102CNL !

I changed the "Product ID" of the FW.

SHow me what is the response to these SCPI comands:

MD5_CMPY?
MD5_PR?
MD5_SRLN?

wait please... i will try as soon as possible! THANKS!!!

routerfan,

Try flashing this file (through the upgrade method).

If it succeeds, it will change the "Product Type" of your scope to "ADS1102CAL".    I hope...   Then you can flash my previous .ADS.

If it doesn't succeed, don't blame me!  :)

This file was done specifically for you since your are able to recover the flash via programmer, I think you should be able to recover if anything goes wrong.

I've tried both the version with product_id = 79 and the version with product_id = 80

(https://i.imgur.com/Dn9pSIdl.jpg)

(https://i.imgur.com/EwV8Tcjl.jpg)

(https://i.imgur.com/rI3gCLbl.jpg)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 27, 2020, 06:09:15 pm
Alex,

You upgraded with the .cfg also?

Show me the results of those SCPI commands.

So, you still can't upgrade with the Atten firmware, right?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 27, 2020, 06:26:32 pm
You upgraded with the .cfg also?

YES

Show me the results of those SCPI commands.

OK please wait i've to connect the old pc

So, you still can't upgrade with the Atten firmware, right?

YES, i can't upgrade  :'(
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 27, 2020, 10:47:57 pm

Show me the results of those SCPI commands.


During the driver's installation: as you can see the oscilloscope appears as SDS110X.
I am thinking that this is a form of signature and that it is necessary to replace some wording such as "ADS ..." with "SDS110X" in the ATTEN firmware. What do you think about?

(https://i.imgur.com/XfdMn4Cl.jpg)

(https://i.imgur.com/dLuF9gtl.jpg)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 28, 2020, 01:30:49 am
   Thank you tv84, I will try to use this CFG file to upgrade the configuration after work, and will also try to install Easysysope and use SCPI commands.
 You are right, I can try boldly, because I can recover any file through the programmer, thank you again for your efforts! :clap: :-+
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tautech on April 28, 2020, 01:50:21 am
   Thank you tv84, I will try to use this CFG file to upgrade the configuration after work, and will also try to install Easysysope and use SCPI commands.
Be sure to install EasyScopeX correctly and before connecting the DSO to the PC otherwise Windows can install a generic USB driver and it won't work ! Then you will need to edit/replace the USB driver in Device Manager.

The correct USB connectivity drivers come within the NIVISA Runtime package that needs to be installed alongside EasyScopeX.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 28, 2020, 10:56:18 am
   Thank you tv84, I will try to use this CFG file to upgrade the configuration after work, and will also try to install Easysysope and use SCPI commands.
 You are right, I can try boldly, because I can recover any file through the programmer, thank you again for your efforts! :clap: :-+

Hi routerfan, what is the programmer that you are using? And how do you connect it to the mainboard? Have you the pinout of the programming connectors on board?
Thanks!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 28, 2020, 12:09:36 pm

I successfully connected to the SCPI command interface, but I have not started to refresh the CFG file :-DMM
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 28, 2020, 12:18:57 pm
My programmer is xeltek SUPERPRO / 500, but all I get is a motherboard, I assembled it。As you can see, I purchased an adapter for burning
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 28, 2020, 12:47:12 pm
Let me talk about the good news first, Siglent_CAL.cfg does not make my oscilloscope brick :box:. Siglent_CAL.cfg changed my device type, it is now 1102cal, but the fw of upgrading atten still prompts "Product type does not match", SCPI command interface has been unable to connect . Then I tried to downgrade to ATTEN 1102CAL through the USB port, the file I used was ATTEN_ADS1000CAL_V100R003B01D01P31R16, and then the machine suggested that Product type does not match, as before. I will try to use other files. Thanks TV84 :scared:
I'm thinking about whether SCPI has hidden martial arts secrets, maybe it can help solve my problem >:D
 
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 28, 2020, 01:52:16 pm
Hi, today I can't write: I had a small injury and I have to go to the hospital. Se you soon.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 28, 2020, 02:03:07 pm
I am sorry for that,I wish you recover soon!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 28, 2020, 04:29:33 pm
Routerfan,

Can you make dumps through JTAG?

It would help a lot if we could see the difference in the dumps of the changes we make.

So, now, we've been successful in changing the Product ID of the FW and the Product Type that appears in the scope's screen.

Both changes are useless but, at least, we know they work... :)

We need to discover what needs to be changed. I'll try to have another look.

From both of you it would help if you were able to dump via JTAG!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 28, 2020, 05:58:45 pm
Here is the official .CFG file of Atten CAL scopes.  This will place back all Atten settings, including the splash screen.

Let's try this one.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 28, 2020, 08:24:11 pm
Here is the official .CFG file of Atten CAL scopes.  This will place back all Atten settings, including the splash screen.

Let's try this one.

I'm back, luckily nothing serious.
I've installed your .cfg file and, as you said, almost all the ATTEN settings have been restored. In my opinion, there is a digital signature somewhere: in fact, the scope is viewed as "SDS110X" from the pc, as you can see.
After updating to the ATTEN .cfg file, the bug in trace update in slow time/base settings is not resolved. I'm wondering: is this bug related to the SIGLENT version of fw or not? I'm thinking that also other scope models (rebranding) with only 40k memory have this bug, but i can't know their hw version: have they old CYCLONE III / SAT7.820.681H board?
Can the actually installed SIGLENT fw check this (supposed) digital signature of the old ATTEN fw and block the update?
Thanks.

Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 29, 2020, 12:23:28 am
Yes, I can dumps through JTAG, I am talking about hardware. But I don't quite have the skills in this area, so I need some basic guidance. And I do n’t have JTAG pins installed on my oscilloscope, if I want to do this I have to install them,This will take some time, thank you, TV84!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 29, 2020, 09:21:18 am
Yes, I can dumps through JTAG, I am talking about hardware. But I don't quite have the skills in this area, so I need some basic guidance. And I do n’t have JTAG pins installed on my oscilloscope, if I want to do this I have to install them,This will take some time, thank you, TV84!

Take your time and do a mem dump through JTAG. I wont be able to help as I never dumped a BF but there are some guides here in those threads that you previously quoted (from other guys).

With the mem dump probably we can advance further.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on April 29, 2020, 11:49:36 am
I will try to learn, it should not be very difficult. I will come here to follow the new progress after the dump is completed, thanks again!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 29, 2020, 08:19:57 pm
Tell me the responses to the SCPI commands.

I'm trying and i've little driver problems. Excuse me, please wait...

And try again to flash the Atten FW (ID 79 and 80).

I've tried yesterday both Atten FW: the result is the same... Product type does not match as you can see
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tautech on April 29, 2020, 08:32:40 pm
Tell me the responses to the SCPI commands.

I'm trying and i've little driver problems.
With EasyScopeX ?
Please see attached tips for correcting them.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 29, 2020, 09:37:43 pm
Tell me the responses to the SCPI commands.

I'm trying and i've little driver problems.
With EasyScopeX ?
Please see attached tips for correcting them.

please wait, it's another speech and we will gladly discuss it later.

Actually, i'm using NI driver: I've just reinstalled them, before I've used Keysight IO libraries.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on April 29, 2020, 09:43:54 pm

Tell me the responses to the SCPI commands.


I can't find the commands that you want in this document:

https://siglentna.com/wp-content/uploads/dlm_uploads/2017/10/ProgrammingGuide_forSDS-1-1.pdf

Do you need other special commands?

I think that, if you can, you have to change also product type in ATTEN fw with product_ID=79 (siglent): from ADS1102CAL to SDS1102CNL... what do you think?
Thanks!

Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on April 30, 2020, 09:26:05 pm

Tell me the responses to the SCPI commands.


I can't find the commands that you want in this document:

https://siglentna.com/wp-content/uploads/dlm_uploads/2017/10/ProgrammingGuide_forSDS-1-1.pdf

Do you need other special commands?

I think that, if you can, you have to change also product type in ATTEN fw with product_ID=79 (siglent): from ADS1102CAL to SDS1102CNL... what do you think?
Thanks!

You can't find those commands because Siglent doesn't want to publicize them. They are internal commands.

About the Prod_ID: I included Atten FW in 79 and 80 versions. If that was the filter, it would work. There is another check and I think we need a memdump to find out.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 01, 2020, 12:00:07 pm

Tell me the responses to the SCPI commands.


I can't find the commands that you want in this document:

https://siglentna.com/wp-content/uploads/dlm_uploads/2017/10/ProgrammingGuide_forSDS-1-1.pdf

Do you need other special commands?

I think that, if you can, you have to change also product type in ATTEN fw with product_ID=79 (siglent): from ADS1102CAL to SDS1102CNL... what do you think?
Thanks!

You can't find those commands because Siglent doesn't want to publicize them. They are internal commands.

About the Prod_ID: I included Atten FW in 79 and 80 versions. If that was the filter, it would work. There is another check and I think we need a memdump to find out.

Hi tv84.

Excuse me, i think I expressed myself wrong.
I've tried both version (79 and 80 versions) of your Atten FW.
But the "79" version have PRODUCT_ID field modified, not PRODUCT_TYPE too, or am i wrong?
If i'm not saying wrong things, can you try to modify also "PRODUCT_TYPE" field in "79" version please?

Tell me the responses to the SCPI commands.

You can see the responses in the images attached...

THANKS!



Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 02, 2020, 10:10:04 am
Alex,

See here a parsing of the Atten .ADS FW:
Code: [Select]
ATTEN_ADS1000CAL_V100R003B01D01P31R16.ADS  /  CRC32: 3195554C
File Header Size: 00000048
00000000 - File Checksum: F55C9872 [00000004-0018773E] (with only the File Header decrypted)  CKSM OK
00000004 - File Size: 001876F7 (without 0x48 bytes of the File Header)
00000008 - # Blocks: 0000935B
0000000C - Blocks Area Size: 0010AF87  [0007C770-001876F6]
00000010 - Product_ID: 80
00000026 - Contents:     The help info   
0000003A - Version:     2.0.3.10 
****************************************************
Decrypting the 0x2800 and 0x1400 blocks...
Reversing file...
XORing with 0xFF (incrementing pattern)...
XORing with 0xFF from 0x000C3B7C until 0x001876F6
****************************************************
00000000 - Section Checksum: FD8543B6  [00000004-0007C76D]  CKSM OK
00000004 --- 0007C76D  ***** Menus / Help Section *****
****************************************************
0007C770 - Removing block encapsulations from Block Area [0007C770-001876F6]

Total bytes extracted (from the blocks): 000DCEA4    Block area processed OK

Buffer Size: 00006DEA bytes (after converting from 16 to 8 bits)

00000000 ---    0x00000000  DXE 0000 (Data Size: 00006DD4) [00000000-00006DE1]
Processor Type: ADSP-BF533/534/536/537/538/539 (boot address: 0xFFA00000)
Orig Offset: Offset: Block: Target Add: Byte Count: Flags: [  start -   end  ]
00000000 +++ 0x00000000 0000 FF800040 00000004 0012 [0000000A-0000000D]  resvect ignore
0000001C +++ 0x0000000E 0001 FF800000 000022B0 0002 [00000018-000022C7]  resvect
00004590 --- 0x000022C8 0002 FF8022B0 00000010 0003      zero-fill resvect
000045A4 --- 0x000022D2 0003 FF8022C0 00000010 0002 [000022DC-000022EB]  resvect
000045D8 --- 0x000022EC 0004 FF8022D0 0000029E 0002 [000022F6-00002593]  resvect
00004B28 --- 0x00002594 0005 FF80256E 0000000E 0003      zero-fill resvect
00004B3C --- 0x0000259E 0006 FF80257C 000009BA 0002 [000025A8-00002F61]  resvect
00005EC4 --- 0x00002F62 0007 FF802F36 000000AA 0003      zero-fill resvect
00005ED8 --- 0x00002F6C 0008 FF802FE0 0000000C 0002 [00002F76-00002F81]  resvect
00005F04 +++ 0x00002F82 0009 FF902000 00000004 0002 [00002F8C-00002F8F]  resvect
00005F20 --- 0x00002F90 000A FF902004 00000068 0003      zero-fill resvect
00005F34 +++ 0x00002F9A 000B FFA00000 00003E32 0002 [00002FA4-00006DD5]  resvect
0000DBAC +++ 0x00006DD6 000C FFA00000 00000002 000A [00006DE0-00006DE1]  resvect init

0000DBC4 --- ZLIB Decompressed Size: 001FC96C
0000DBCC --- ZLIB Compressed Block Size: 000CF2D0 [0000DBD4-000DCEA3]
****************************************************
  Section Processed OK

As you can see, the FW header has a Product_ID but it doesnt have a Product_Type! So, I don't know what they can be verifying.

I asked routerfan for a memdump so that we can see what they might be verifying.


BTW, what FW do you have flashed at this moment?

Has to be the Atten FW. Because the Siglent CNL/CML would return something like this:

https://www.eevblog.com/forum/repair/need-full-firmware-(full-dump-flash)-oscilloscope-atten-ads-1062cml/msg3038990/#msg3038990 (https://www.eevblog.com/forum/repair/need-full-firmware-(full-dump-flash)-oscilloscope-atten-ads-1062cml/msg3038990/#msg3038990)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 02, 2020, 01:17:16 pm
As you can see, the FW header has a Product_ID but it doesnt have a Product_Type! So, I don't know what they can be verifying.

 Ok :'(

I asked routerfan for a memdump so that we can see what they might be verifying.

We hope that he will be able to do the memory dump and that we will be able to understand what test is being performed... It will be necessary to fight  :box:

BTW, what FW do you have flashed at this moment?
Has to be the Atten FW. Because the Siglent CNL/CML would return something like this:

No, i've the Siglent CNL FW (the same version of routerfan i think) with the Atten .cfg configuration file that you have posted, as you can see.
However, the keyboard response, in my opinion, is not good (and i've already changed all the encoders).

Thanks!

Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 02, 2020, 09:27:26 pm
OK, Alex.

In that case, let's do an experiment: Flash the CNL .cfg file and try to see the responses to the 3 SCPI commands that I said.

Here is the .cfg file.

Hi tv84,
i've tried, the result is the same as you can see in the images attached.

I've a question: can you see the fw section that manages waveform writing in the buffer in case of long acquisition times? Because i think that the bug that plagues the oscilloscope is there. I imagine some wrong pointer (perhaps because the designer has forgotten that the oscilloscope does not have 2M points but only 40k points).

Thanks.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 02, 2020, 10:26:51 pm
Ok i'm trying  :)

Please, can you write the exact syntax of the commands?
Exactly what you want me to type on the keyboard. Thanks

EDIT:
I can say that with the siglent configuration (siglent.cfg file) the updating of the waveform on the time axis seems to have more bugs than with the atten configuration.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 02, 2020, 11:41:56 pm
And show me the other half of the attributes tab:

With siglent or with atten configuration?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 01:28:44 pm
Can be with Atten or Siglent .CFG.

ok, please wait.

Tell me this:

When you try to upgrade with Atten FW ProdID=79 or Atten FW ProdID=80 the error is exactly the same? About Product Type?

yes

Try flashing this file (Prod_ID=59).

ok, please wait

EDIT

you can see the attributes tab in the images attached.

I've tried with Prod_ID=59, but the result is the same: "PRODUCT TYPE DOES NOT MATCH"
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 02:07:21 pm
SCPI commands: look at the different answers with siglent.cfg file and with atten.cfg file.
The only working SCPI command is SRLN.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 03:11:26 pm
Did you try it after .CFG Atten or .CFG SIGLENT ?

I want that you try it in both.

I've tried in both cases.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 03, 2020, 03:28:00 pm
SCPI commands: look at the different answers with siglent.cfg file and with atten.cfg file.
The only working SCPI command is SRLN.


So, this means only Siglent implements those SCPI commands.

That's good to know.

I think this may represent a GREAT discovery!!!!  :)

-------------------------------------------------------------------------

Running out of ideas...

Flash this .CFG file and then try the Atten .ADS files (79, 80, 59).
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 03:51:50 pm

Running out of ideas...

Flash this .CFG file and then try the Atten .ADS files (79, 80, 59).

Product type does not match  :'(
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 05:03:41 pm
Ok, one moment please

EDIT

I've tried: now, even the IDN command no longer works.

Flashing atten 79, 80, 59: product type does not match.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 06:33:09 pm
With this last .CFG please show a photo of the Hardware version in system menu.

Here is the requested photo.
Thanks for your help!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 03, 2020, 07:11:19 pm
So that you understand what I'm trying to do:

Reversing 1st part of the file [00000000-000000D7]...
XORing with 0xFF (incrementing pattern)...
XORing with 0xFF from 0x0000006C until 0x000000D7

00000000 - Main Checksum: FC5AD47B [00000004-00052517]  CKSM OK
00000004 - Product_Type: ATTEN
00000024 - CFG Type: SDS1204CF
00000038 - Manufacturer: ATTEN
00000043 - CML/CNL flag: 0
00000044 - Product_ID: 79
00000048 - Image Size: 00052440 (112 320 pixels)
0000004C - USBTMC_Product_IDs: EE39 EE38 EE3A
00000052 - USBTMC_Vendor_ID: F4EC
00000054 - Product Family: ADS
00000058 - Manufacturer_Name: Atten Technologies Co,. Ltd.
00000098 - CFG Flags: 01 00 00 00 00 00 00 00 0000 00
000000C8 - ***** Boot Logo image (480x234 RGB24) ***** [000000C8-00052517]  CKSM: FC5AEA31
00052518 - Footer Checksum: FFFF9C53 [0005251C-000525B8]  CKSM OK
00052520 - Model Name 0:
0005252F - Model Name 1:
0005253E - Model Name 2: ADS1062CAL
0005254D - Model Name 3: ADS1102CAL
0005255C - Model Name 4: ADS1152CAL
0005256B - Model Name 5:
0005257A - Model Name 6:
00052589 - Model Name 7:
00052598 - Model Name 8:
000525A7 - Model Name 9:


The .CFG file has some "flags" that seem to influence the way the scope will work. I've tried messing with some of them. Everytime you change one, you have to correct the 1st Checksum.

This list describes the contents of this latest Atten_CAL_all0.cfg.  I changed a lot of flags to 00. To see which influences IDN, for example, we must turn on one by one.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 07:56:59 pm
So that you understand what I'm trying to do:

Excuse me, i've tried to reply, but i've written wrong things.

But... CFG Type should be ADS1102CAL... otherwise some pointers may point to wrong memory addresses: SDS1204CF has 24kpoint memory, ADS1102CAL 40kpoints memory (at this point... i hope).

EDIT

The .cfg file flashed is the first ATTEN file that you have posted.
I've tried to update to 5.01.2.32 fw release, update ok and oscilloscope appear as ADS1102CAL. The fw update did not affect the configuration.

I can confirm that the time update of the track is much better than with SIGLENT.cfg, but it is not regular: some points are lost. I think it depends on the wrong model (SDS1204CF) in .cfg file.
Can you try with SDS1102CNL or ADS1102CAL please?
Thanks.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 03, 2020, 08:51:26 pm
I updated the previous mail.

The green part is fixed in ALL .CFG files. Atten, Lecroy, Siglent...  I think the CF means "Config Format".

The string that decides the scope model are the ones in blue, and are chosen accordingly to the BW of your scope.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tautech on May 03, 2020, 09:06:09 pm
So that you understand what I'm trying to do:

Reversing 1st part of the file [00000000-000000D7]...
XORing with 0xFF (incrementing pattern)...
XORing with 0xFF from 0x0000006C until 0x000000D7

00000000 - Main Checksum: FC5AD47B [00000004-00052517]  CKSM OK
00000004 - Product_Type: ATTEN
00000024 - CFG Type: SDS1204CF
00000038 - Manufacturer: ATTEN
00000043 - CML/CNL flag: 0
00000044 - Product_ID: 79
00000048 - Image Size: 00052440 (112 320 pixels)
0000004C - USBTMC_Product_IDs: EE39 EE38 EE3A
00000052 - USBTMC_Vendor_ID: F4EC
00000054 - Product Family: ADS
00000058 - Manufacturer_Name: Atten Technologies Co,. Ltd.
00000098 - CFG Flags: 01 00 00 00 00 00 00 00 0000 00
000000C8 - ***** Boot Logo image (480x234 RGB24) ***** [000000C8-00052517]  CKSM: FC5AEA31
00052518 - Footer Checksum: FFFF9C53 [0005251C-000525B8]  CKSM OK
00052520 - Model Name 0:
0005252F - Model Name 1:
0005253E - Model Name 2: ADS1062CAL
0005254D - Model Name 3: ADS1102CAL
0005255C - Model Name 4: ADS1152CAL
0005256B - Model Name 5:
0005257A - Model Name 6:
00052589 - Model Name 7:
00052598 - Model Name 8:
000525A7 - Model Name 9:


The .CFG file has some "flags" that seem to influence the way the scope will work. I've tried messing with some of them. Everytime you change one, you have to correct the 1st Checksum.

This list describes the contents of this latest Atten_CAL_all0.cfg.  I changed a lot of flags to 00. To see which influences IDN, for example, we must turn on one by one.
A red flag to me is:
00000024 - CFG Type: SDS1204CF

Unknown old model to me however if it aligns with the later 7" display SDS1204CFL ......2 GSA/s and tiny 24 Kb memory:
https://int.siglent.com/products-overview/sds1000cfl/
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 09:25:00 pm
I updated the previous mail.

The green part is fixed in ALL .CFG files. Atten, Lecroy, Siglent...  I think the CF means "Config Format".

The string that decides the scope model are the ones in blue, and are chosen accordingly to the BW of your scope.

Ok BW... but... memory depth? The bug that plagues my oscilloscope is related to wrong writes in memory with slow time bases... this is why i want to downgrade to an old fw version. I want to verify if in that version there is the same bug.  :'( :'( :'( :'( :'( :'(
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 03, 2020, 10:07:54 pm
Gentlemen,

Look at this image that sums up all the known .CFG files so that you understand what I'm saying.

The SDS1204CFL is a feature in all files. It doesn't have nothing to do with the specific model.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tautech on May 03, 2020, 10:46:00 pm
Ok BW... but... memory depth? The bug that plagues my oscilloscope is related to wrong writes in memory with slow time bases... this is why i want to downgrade to an old fw version. I want to verify if in that version there is the same bug.  :'( :'( :'( :'( :'( :'(
Part of this might just be the memory depth management at differing timebases.
Max mem depth is ~1ms/div and it falls away at both faster and slower timebase settings and also Sampling speed falls at slower timebase settings, all of which are intended for best management of HW performance over the range of operating conditions.
The same principles of memory management are used in latest models for the same reasons however as they are 14+ Mpts the impact on mem depth available has a much lesser effect on what the user can achieve.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 03, 2020, 11:34:44 pm
In this moment i have both oscilloscopes (ADS1102CAL and SDS1102CML) turned on on the bench. I can confirm that the ATTEN version, with atten .cfg file, with a time base of 100ms or more slow, is completely wrong in acquiring the signal  :'(

Tomorrow i will do further test  |O

EDIT

With SDS1102CNL .cfg file the bug seems to be not present in single shot mode. In roll mode (slow time bases) signal representation is completely wrong BUT in single shot mode it seems to be all ok.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 04, 2020, 08:12:14 am
Or test with the CML .CFG file, to see if the CML flag makes any difference.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 04, 2020, 10:48:40 am
Or test with the CML .CFG file, to see if the CML flag makes any difference.

I've tried, but no... the roll mode is completely wrong: the writing of the dots on the screen is too fast (it seems that they are time-random written). I need to try the (very) old atten firmware. And hope well  :'(
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 04, 2020, 11:01:16 am
OK, so we have to regroup and rethink our current situation:

- You confirm that you can flash any Siglent CNL/CML FW, right?
- You can't flash any Atten FW, right?
- The .CFG that provides the best results is the "stock" Siglent_CNL.cfg, right?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 04, 2020, 12:21:26 pm
OK, so we have to regroup and rethink our current situation:

- You confirm that you can flash any Siglent CNL/CML FW, right?
- You can't flash any Atten FW, right?
- The .CFG that provides the best results is the "stock" Siglent_CNL.cfg, right?

Yes to all  :-+
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 04, 2020, 05:00:51 pm
Try this one.

Big hopes...

ok wait please

EDIT

YAHUUUUUUUU  :D ;D :-+

THANKS A LOT!!!!!!!!!

The signals with slow time bases seems to be correct, i've to do some test  :)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 04, 2020, 05:20:23 pm
ALLELUIA!   :popcorn:
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 04, 2020, 05:34:08 pm
ALLELUIA!   :popcorn:

Do you want to buy an oscilloscope? ADS1102CAL   :D
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 04, 2020, 05:37:58 pm
Do you want to buy an oscilloscope? ADS1102CAL   :D

Now it is somewhat recovered, we could try investigate the BW upgrade.

Could you send the 3 SCPI commands and *IDN?  to see their response?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 04, 2020, 08:46:53 pm
Ok, please wait

EDIT

Hi tv84,
i've tried, but the old Atten fw does not implement SCPI commands. Today, i will try the old Easyscope 3 (not Easyscope X), wich uses a proprietary protocol.
If you want, i've also the SDS1102CML on my bench. I've tried the SCPI commands also with it, and only SRLN seems to work.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 07, 2020, 01:55:08 am
Routerfan,

Can you make dumps through JTAG?

It would help a lot if we could see the difference in the dumps of the changes we make.

So, now, we've been successful in changing the Product ID of the FW and the Product Type that appears in the scope's screen.

Both changes are useless but, at least, we know they work... :)

We need to discover what needs to be changed. I'll try to have another look.

From both of you it would help if you were able to dump via JTAG!
I finally exported the firmware of the device through Altera USB Blaster, and I will try to compare other BIN files I can find. But I am not familiar with this.
Warning: The uploaded files are only for research and comparison. Please do not use it for flashing, otherwise it will cause your device to become brick.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 07, 2020, 10:49:16 pm
Do you want to buy an oscilloscope? ADS1102CAL   :D

Now it is somewhat recovered, we could try investigate the BW upgrade.

Could you send the 3 SCPI commands and *IDN?  to see their response?

Hi tv84, sorry for delay.
Yesterday and today i've tried in many ways to send commands to oscilloscope.
I've tried with two PCs: one very old desktop (AthlonXP, 256Mb RAM, WinXP), another recent laptop (i3 8th, SSD, Win10 64bit).
I'e installed Easyscope 3 on the old machine, and NI-MAX on the new machine.

The ATTEN ADS1102CAL does not respond to SCPI commands: it communicates only with EASYSCOPE software, rel 3R001B03D01P11 (the previous version that i have on the supplied CD made me crazy: test connection ok but link failed... one day of test, reinstalling software, controlling pc). In the Atten oscilloscope i've installed, in the end, the fw version with product_id=80 (after your version with product_id=79 that allowed me to downgrade from Siglent fw). I've tried this fw because i've thinked that the connection problems with Easyscope could be caused from the modified version of fw, instead it was Easyscope's faults.

The SIGLENT SDS1102CML respond to SCPI commands: it communicates with NI-MAX. It respond only to the SRLN? command.

How can i help you?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 08, 2020, 12:24:39 pm
Guys, I'll try to answer as soon as I have more time. Thanks
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 08, 2020, 02:38:32 pm
Hi, alexitaly
 Since we have a consistent hardware platform, if you are convenient, can you share with me your full dump flash file.
 I have built a JTAG chain to easily flash any firmware.  I think the ultimate solution to all problems is to find the appropriate dump flash files :popcorn:
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 08, 2020, 02:43:09 pm
Guys, I'll try to answer as soon as I have more time. Thanks
Thanks TV84!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 08, 2020, 09:16:39 pm
Hi, alexitaly
 Since we have a consistent hardware platform, if you are convenient, can you share with me your full dump flash file.
 I have built a JTAG chain to easily flash any firmware.  I think the ultimate solution to all problems is to find the appropriate dump flash files :popcorn:

Hi routerfan.
I'm convenient, but the problem is that i haven't a JTAG programmer (you have a very well Segger). I have only a ST-LINK V2, but i don't know if it can be useful.
I'm thinking to buy a JTAG programmer, but what?
Have you tried the firmware that tv84 has linked? I've tried, and my oscilloscope is as new, with pros and cons.
The bad news is that the keyboard response is not very good, the SCPI commands are not implemented, the USB-memory over 1GB (the old 4GB gold usb key that you can see in some my photo) are not correctly recognised. All these problems are original characteristics of the dso.
If the tv84's last fw doesn't works properly, i think that you could have hw problems: in fact you have soldered and removed a memory chip, but are you sure that the memory chip that you have installed was compatible with our hw revision?

If, after covid epidemic, i won't have any work problems, i'm thinking to change dso with a SDS1202X-E if it hasn't particular problems.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tautech on May 08, 2020, 09:28:09 pm
the USB-memory over 1GB are not correctly recognised. All these problems are original characteristics of the dso.
Some are, some are not, there is no hard and fast rule ..... but cheap USB sticks can give issues.
It is also important the USB stick is formatted as FAT32.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 08, 2020, 09:32:26 pm
the USB-memory over 1GB are not correctly recognised. All these problems are original characteristics of the dso.
Some are, some are not, there is no hard and fast rule ..... but cheap USB sticks can give issues.
It is also important the USB stick is formatted as FAT32.

Hi tautech, thanks for your reply.
The memory stick is the same Verbatim 4GB that you can see in my photos. The Siglent's fw recognise correctly the key, the Atten's fw no. But it's normal, it's a feature that i remember... it's the Atten fw that is very old.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 08, 2020, 09:39:52 pm
Or test with the CML .CFG file, to see if the CML flag makes any difference.

Hi tv84, this .CFG file is compatible with SDS1102CML, hw rev 11-62-3.5?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 08, 2020, 10:14:17 pm
Yes, the CML .CFG should be compatible with all Siglent CML. From what I see in regards to a CNL .CFG the difference is only one byte that the scope tests. I think it's the flag that tells it to use the extra memory.

BTW, we have to do a more detailed analysis of the SCPI commands thing. The Atten has SCPI commands, I can see that in the FW. Of course, not all the ones that we are trying to test. I'll try to get a list.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 08, 2020, 10:27:54 pm
Yes, the CML .CFG should be compatible with all Siglent CML. From what I see in regards to a CNL .CFG the difference is only one byte that the scope tests. I think it's the flag that tells it to use the extra memory.

Ok thanks

BTW, we have to do a more detailed analysis of the SCPI commands thing. The Atten has SCPI commands, I can see that in the FW. Of course, not all the ones that we are trying to test. I'll try to get a list.

I haven't the source code, then i can't say anything, but... are you sure?
I think that, maybe, the commands are similar, but no control software (NI or KEYSIGHT) can see the oscilloscope.
I've tried and re-tried: there isn't VISA driver, and with the old Atten driver (only that works correctly with Atten old fw) neither NI-MAX nor Keysight IO libraries can see the oscilloscope.
Could Easyscope 3 be a primitive attempt of software to dialogue through an embryonic SCPI protocol?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 08, 2020, 10:40:53 pm
Alex,

As I've said in the past, I think the flag bits in the .CFG of the Atten disable the SCPI commands. So we should flash a .CFG that is similar to the Siglent, to see if we can get answers from the commands.

Need time to craft one.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 08, 2020, 10:53:50 pm
Alex,

As I've said in the past, I think the flag bits in the .CFG of the Atten disable the SCPI commands. So we should flash a .CFG that is similar to the Siglent, to see if we can get answers from the commands.

Need time to craft one.

I will gladly wait for the new file. I hope that i can help you  :-+
The only doubt I have is about the drivers and the fact that it is not correctly recognized by NI and Keysight, but... i wait  ;)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 09, 2020, 12:52:48 am
Hi, alexitaly
 Since we have a consistent hardware platform, if you are convenient, can you share with me your full dump flash file.
 I have built a JTAG chain to easily flash any firmware.  I think the ultimate solution to all problems is to find the appropriate dump flash files :popcorn:

Hi routerfan.
I'm convenient, but the problem is that i haven't a JTAG programmer (you have a very well Segger). I have only a ST-LINK V2, but i don't know if it can be useful.
I'm thinking to buy a JTAG programmer, but what?
Have you tried the firmware that tv84 has linked? I've tried, and my oscilloscope is as new, with pros and cons.
The bad news is that the keyboard response is not very good, the SCPI commands are not implemented, the USB-memory over 1GB (the old 4GB gold usb key that you can see in some my photo) are not correctly recognised. All these problems are original characteristics of the dso.
If the tv84's last fw doesn't works properly, i think that you could have hw problems: in fact you have soldered and removed a memory chip, but are you sure that the memory chip that you have installed was compatible with our hw revision?

If, after covid epidemic, i won't have any work problems, i'm thinking to change dso with a SDS1202X-E if it hasn't particular problems.
Yes, ADS_1102CAL_ok.zip has been used by programmers before, and it has been refreshed by JTAG now. Proved to be invalid on my device. The keyboard responded very slowly. I used another file, which was sold by a friend. On the surface, there are no problems with all functions. The keyboard responds quickly, but the waveform is still as bad. I suspect that the loss of verification data caused my problem. In addition, I did not find the ST-LINK option in the TopJTAG Flash Programmer settings, it is estimated that it cannot be used.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 09, 2020, 12:55:17 am
Guys, I'll try to answer as soon as I have more time. Thanks
Thanks TV84!

Have you tried this one?
Yes, I have tried, neither the chip is taken down for burning or burning through jtag has solved my problem
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 09, 2020, 12:04:48 pm
I think I've finally found some answers:

- Both your original HWs (routerfan and alexitaly) are the same: HW 3-41-1.61
- The first number is the most important: 3
- This version is too old for crossflashing to Siglent FWs.

Nobody has ever done a successfull crossflash from a HW 3-x-x to Siglent!!!

All successfull Atten CAL conversions were for FWs: 6-x-x and 11-x-x

routerfan now has flashed the dumps of other guys which changed the HW version BUT, originally, it was 3-41-1.61.

So, the only way to solve routerfan's problem is, for example, to alexitaly make a dump of is own scope.  :)

With that dump we could do more experiments in order to upgrade the bandwidth.


BTW, what PCB references do you see on your PCB boards? I think you don't have any Siglent reference, right?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 09, 2020, 02:02:13 pm
I think I've finally found some answers:

- Both your original HWs (routerfan and alexitaly) are the same: HW 3-41-1.61
- The first number is the most important: 3
- This version is too old for crossflashing to Siglent FWs.

Nobody has ever done a successfull crossflash from a HW 3-x-x to Siglent!!!

All successfull Atten CAL conversions were for FWs: 6-x-x and 11-x-x

routerfan now has flashed the dumps of other guys which changed the HW version BUT, originally, it was 3-41-1.61.

So, the only way to solve routerfan's problem is, for example, to alexitaly make a dump of is own scope.  :)

With that dump we could do more experiments in order to upgrade the bandwidth.


BTW, what PCB references do you see on your PCB boards? I think you don't have any Siglent reference, right?
[/qu
Yes, I very much agree with you. The hardware version of 3.xx is really old, so that no suitable firmware can be returned, but there is indeed the word  Siglent on the motherboard. The earliest product, so I think the ultimate solution to the problem is to find the full dump flash files suitable for the pcb.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 09, 2020, 11:36:47 pm
Hi tv84 and routerfan.

there is no problem for me to dump my oscilloscope's memory, if this can help you. The only drawback is that I don't have a jtag programmer: is there anything inexpensive on amazon or similar on-line stores? Do you have any advice please? Have you the connector's pinout of the oscilloscope mainboard? The board revision is SAT7.820.681H (i think it's very old... about 2011).

Other than that, at THIS (https://www.eevblog.com/forum/repair/need-full-firmware-(full-dump-flash)-oscilloscope-atten-ads-1062cml/msg1227520/#msg1227520) link there could be the firmware that you are looking for.

And, at THIS (https://www.eevblog.com/forum/testgear/atten-ads-1102cal-photos/) link there could be some informations. I hope that, maybe, also "tinhead" could help us.....
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 10, 2020, 10:10:08 am
Alex,

Thanks for helping.

I think you could buy this one: https://www.ebay.com/itm/J-Link-JLink-V8-USB-ARM-JTAG-Emulador-Debugger-Programador-chips-ARM/264086370459 (https://www.ebay.com/itm/J-Link-JLink-V8-USB-ARM-JTAG-Emulador-Debugger-Programador-chips-ARM/264086370459)

Hope it's not fake because it's very good offer. Maybe it's better to hear what routerfan has to say (and what he bought).

Also, I would like you to redo the Siglent conversion in your scope with the:
- SDS1000CNL_SSP_V100R005B01D02P13
- reboot
- flash the Siglent CNL .CFG
- and to a self calibration!   Did you ever do this self calibration?

(https://www.eevblog.com/forum/testgear/atten-ads-1102cal-photos/?action=dlattach;attach=296276;image)

If it worked for bithead (here (https://www.eevblog.com/forum/testgear/atten-ads-1102cal-photos/msg1150094/#msg1150094)) it has to work for you!  :)


Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 11, 2020, 11:02:06 pm
Alex,

Thanks for helping.

No problem... you have helped me and, without your help, my oscilloscope would be ko.
Sorry for the delay with which I reply: I live in countryside and these days I have to cut the grass, so I have little time for electronics  :'(

I think you could buy this one: https://www.ebay.com/itm/J-Link-JLink-V8-USB-ARM-JTAG-Emulador-Debugger-Programador-chips-ARM/264086370459 (https://www.ebay.com/itm/J-Link-JLink-V8-USB-ARM-JTAG-Emulador-Debugger-Programador-chips-ARM/264086370459)

Hope it's not fake because it's very good offer. Maybe it's better to hear what routerfan has to say (and what he bought).

It's impossible that it's original: the price of the original is of about 480euro, but the important is that it works correctly. Have you also the pinout of the connector of my mainboard?

https://it.farnell.com/segger/8-08-00-j-link-base/jtag-emulator-usb-for-arm/dp/2098541 (https://it.farnell.com/segger/8-08-00-j-link-base/jtag-emulator-usb-for-arm/dp/2098541)

Also, I would like you to redo the Siglent conversion in your scope with the:
- SDS1000CNL_SSP_V100R005B01D02P13
- reboot
- flash the Siglent CNL .CFG
- and to a self calibration!   Did you ever do this self calibration?

If it worked for bithead it has to work for you!  :)

I've done the self calibration, but the problem is particular and i think that bithead didn't notice it. If you select a timebase of less than 100ms/div (for example 10us/div) there is no problem. If you select a timebase of 500ms/div and a single shot trigger, there is no problem.
The problem is in roll mode: in fact there is no trigger. In this condition the time scale of the display is completely wrong. The points are (i think) correctly acquired, but wrongly (casually) represented on display.
I can try to make an example:
if the scope acquire two points, y1=y(t1) and y2=y(t2), t2 > t1, they are represented on the display at two time coordinates t_dis_1 and t_dis_2 that are completely wrong: (t2 - t1) <> (t_dis_2 - t_dis_1).
The only right thing is that t_dis_2 > t_dis_1
The problem in roll mode is that the time scale is completely wrong if the siglent fw is installed on old (h version) atten hw.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 12, 2020, 05:16:22 am

Hello everyone, the repair of 1102cal is still going on. Recently I accidentally found the data that was previously backed up with the programmer. Unfortunately, it was backed up after the problem, but it restored me to the hardware version of 3.xx, but not 3. -41-1.61 but 34-1-2.3, my original serial number is back. The system was left by refreshing 1102cnl at that time, and I will try to restore the most original state through the TV84 patch firmware.
  Regarding jlink, I use jlink v8. Of course, it will not be genuine, but it was given by the seller when they bought something. Similar things are very cheap in our place for well-known reasons. The use effect is also very good, it only takes one and a half hours to burn an 8M firmware, compared to WIGGLER CABLE
It's a lot faster. I also have an Altera downloader USB Blaster debugger, I tested it, it can be used on this oscilloscope, alexitaly I can give it to you if necessary, but you are responsible for postage.
   In addition, I contacted domestic resources that can be reached. I got the calibration procedure of the oscilloscope, I think about it again and again, not very good to announce here. If alexitaly you need it, I can send it to you for research. But I haven't used it myself, and the technical risks must be acceptable to you. Thanks!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 12, 2020, 08:41:00 am

Hello everyone, the repair of 1102cal is still going on. Recently I accidentally found the data that was previously backed up with the programmer. Unfortunately, it was backed up after the problem, but it restored me to the hardware version of 3.xx, but not 3. -41-1.61 but 34-1-2.3, my original serial number is back. The system was left by refreshing 1102cnl at that time, and I will try to restore the most original state through the TV84 patch firmware.
  Regarding jlink, I use jlink v8. Of course, it will not be genuine, but it was given by the seller when they bought something. Similar things are very cheap in our place for well-known reasons. The use effect is also very good, it only takes one and a half hours to burn an 8M firmware, compared to WIGGLER CABLE
It's a lot faster. I also have an Altera downloader USB Blaster debugger, I tested it, it can be used on this oscilloscope, alexitaly I can give it to you if necessary, but you are responsible for postage.
   In addition, I contacted domestic resources that can be reached. I got the calibration procedure of the oscilloscope, I think about it again and again, not very good to announce here. If alexitaly you need it, I can send it to you for research. But I haven't used it myself, and the technical risks must be acceptable to you. Thanks!

Routerfan,

which one did you use to make your FW dump? The Altera USB Blaster?

Or you were also able to do a dump with J-Link v8 ?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 12, 2020, 09:09:51 am
Since I am a private individual and do not use it for work, can  this (https://it.farnell.com/segger/8-08-91-j-link-edu-mini/unit-didattica-cortex-m/dp/3106578) be fine?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 12, 2020, 11:16:25 am

Hello everyone, the repair of 1102cal is still going on. Recently I accidentally found the data that was previously backed up with the programmer. Unfortunately, it was backed up after the problem, but it restored me to the hardware version of 3.xx, but not 3. -41-1.61 but 34-1-2.3, my original serial number is back. The system was left by refreshing 1102cnl at that time, and I will try to restore the most original state through the TV84 patch firmware.
  Regarding jlink, I use jlink v8. Of course, it will not be genuine, but it was given by the seller when they bought something. Similar things are very cheap in our place for well-known reasons. The use effect is also very good, it only takes one and a half hours to burn an 8M firmware, compared to WIGGLER CABLE
It's a lot faster. I also have an Altera downloader USB Blaster debugger, I tested it, it can be used on this oscilloscope, alexitaly I can give it to you if necessary, but you are responsible for postage.
   In addition, I contacted domestic resources that can be reached. I got the calibration procedure of the oscilloscope, I think about it again and again, not very good to announce here. If alexitaly you need it, I can send it to you for research. But I haven't used it myself, and the technical risks must be acceptable to you. Thanks!

Routerfan,

which one did you use to make your FW dump? The Altera USB Blaster?

Or you were also able to do a dump with J-Link v8 ?
V84, I used jlink v8 to finish the work. Altera USB Blaster has also been tested by the way, and they all work very well.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 12, 2020, 11:24:57 am
Since I am a private individual and do not use it for work, can  this (https://it.farnell.com/segger/8-08-91-j-link-edu-mini/unit-didattica-cortex-m/dp/3106578) be fine?
Of course there is no problem, PM your mailbox, I will send it to you. It is done through the rs232 interface and a host computer, as I said before, I have not tested it and have no experience in this area. You have to be prepared for failure.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 12, 2020, 12:02:22 pm
Just now https://www.eevblog.com/forum/testgear/atten-lt-gt-siglent-conversionscrossflashes-do-you-still-have-problems/msg3049442/#msg3049442 (https://www.eevblog.com/forum/testgear/atten-lt-gt-siglent-conversionscrossflashes-do-you-still-have-problems/msg3049442/#msg3049442)
For the TV84 patch firmware, I returned ATTEN 1102CAL and found a phenomenon. My hardware version was updated to 3-41-3.63. Before that, it was 3-41-2.1. Of course, the inherent problems still exist and there is no change. :phew:
I try to use Atten_CAL_CFG file to update the configuration file, suggesting that the file format does not match

In addition, the buttons are unresponsive. Cannot self-calibrate. I guess I have to brush it back, through jtag
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 13, 2020, 11:53:51 pm
Of course there is no problem, PM your mailbox, I will send it to you. It is done through the rs232 interface and a host computer, as I said before, I have not tested it and have no experience in this area. You have to be prepared for failure.

Hi routerfan: don't worry. Do not ship anything: there are problems with customs due to covid.
I've buyed this (https://www.amazon.it/Adattatore-Debugger-ICprog-OpenOCD-JTAG/dp/B00J8H9QMO/ref=lp_11597590031_1_1?srs=11597590031&ie=UTF8&qid=1589413612&sr=8-1)
I'm waiting for shipping. I will do everything I can to help you.  :-+

Please post the connectors pinout of the oscilloscope mainboard.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 14, 2020, 01:35:57 am
Of course there is no problem, PM your mailbox, I will send it to you. It is done through the rs232 interface and a host computer, as I said before, I have not tested it and have no experience in this area. You have to be prepared for failure.

Hi routerfan: don't worry. Do not ship anything: there are problems with customs due to covid.
I've buyed this (https://www.amazon.it/Adattatore-Debugger-ICprog-OpenOCD-JTAG/dp/B00J8H9QMO/ref=lp_11597590031_1_1?srs=11597590031&ie=UTF8&qid=1589413612&sr=8-1)
I'm waiting for shipping. I will do everything I can to help you.  :-+

Please post the connectors pinout of the oscilloscope mainboard.

  Thanks alexitaly!
   1、 You need to solder the bf 531 JTAG socket before starting work. This seat does not exist on our motherboard, you need to add it.
   2、Make a cable, taking care to include a 1k resistor.
   3、Make a connection bf531-Lattice-downloader (your Adattatore USB Debugger ICprog OpenOCD JTAG)。Note that the 3.3v on the sco motherboard should be used to power the downloader.
       I am just a rookie in this regard. I will only complete limited work according to the information obtained online, so I used TopFlash to burn the program. The command line of OpenOCD is sealedbook for me. :phew:
   
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 14, 2020, 02:31:26 am
Yesterday,
  I purchased a new RIGOL oscilloscope DS1102Z-E. Because it is a new product release, there are some preferential activities, so I purchased it. Specific parameters:
Model DS1102Z-E
Analog BW 100 MHz
Number of Analog Channels 2
Max. Real-time Sample Rate 1 GSa/s (single-channel), 500 MSa/s (dual-channel)
Max. Memory Depth standard 24 Mpts (single-channel), 12 Mpts (dual-channel)
Max. Waveform Capture Rate 30,000 wfms/s
Hardware Real-time Waveform
Recording and Playback Functions Up to 60,000 frames
Standard Probes Two PVP3150 150 MHz passive HighZ probes

This should be a replacement for ds1102e, with specifications similar to the dual channel 1054z. Maybe in the future there is a chance to hack to 200M ds1202z-e :box:
More resources:
https://int.rigol.com/En/Index/listView/catid/27/tp/2/xl/40/wd/
What makes me happy is the 7-inch large screenand DPO display. I think RIGOL has redefined the specifications of entry-level oscilloscopes.
Of course, ATTEN 1102cal I still want to fix it. |O
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 14, 2020, 10:01:44 pm
Maybe in the future there is a chance to hack to 200M ds1202z-e :box:

That is also an interesting challenge. ;)  That one is non-existent in Europe.

Get me a direct link to download the FW.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 15, 2020, 01:49:08 am
Maybe in the future there is a chance to hack to 200M ds1202z-e :box:

That is also an interesting challenge. ;)  That one is non-existent in Europe.

Get me a direct link to download the FW.
Hi TV84!
 To avoid the trouble of registration, I moved it here.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 15, 2020, 02:13:07 am
  Continuing the discussion of 1102cal, I have burned all the BIN files I can find through JTAG in the past few days. The software I use is TOPFLASH. The 8M capacity is divided into 135 sectors(8kx8sector+64kx127sector=8192kb), but the file of the first sector cannot be deleted. . So I intentionally changed a BIN file. Change the data of the first sector to 0xFF. After burning, read back to the PC and observe that the data has not been changed. Simply put, the data of the first sector cannot be changed by JTAG at present. Is it wrong? (I used the configuration data DSO.topflash in the dso_jtag file package), this problem also exists in other tests in this post.
  I think that this problem will not be solved if the JTAG dump is not resolved.
     I still need to learn a lot :popcorn:
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 16, 2020, 03:35:04 pm
  Continuing the discussion of 1102cal, I have burned all the BIN files I can find through JTAG in the past few days. The software I use is TOPFLASH. The 8M capacity is divided into 135 sectors(8kx8sector+64kx127sector=8192kb), but the file of the first sector cannot be deleted. . So I intentionally changed a BIN file. Change the data of the first sector to 0xFF. After burning, read back to the PC and observe that the data has not been changed. Simply put, the data of the first sector cannot be changed by JTAG at present. Is it wrong? (I used the configuration data DSO.topflash in the dso_jtag file package), this problem also exists in other tests in this post.
  I think that this problem will not be solved if the JTAG dump is not resolved.
     I still need to learn a lot :popcorn:

In your 8MB dump, what is the area that you call 1st sector?  Start and end addresses?
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 20, 2020, 06:34:06 am
  Continuing the discussion of 1102cal, I have burned all the BIN files I can find through JTAG in the past few days. The software I use is TOPFLASH. The 8M capacity is divided into 135 sectors(8kx8sector+64kx127sector=8192kb), but the file of the first sector cannot be deleted. . So I intentionally changed a BIN file. Change the data of the first sector to 0xFF. After burning, read back to the PC and observe that the data has not been changed. Simply put, the data of the first sector cannot be changed by JTAG at present. Is it wrong? (I used the configuration data DSO.topflash in the dso_jtag file package), this problem also exists in other tests in this post.
  I think that this problem will not be solved if the JTAG dump is not resolved.
     I still need to learn a lot :popcorn:

In your 8MB dump, what is the area that you call 1st sector?  Start and end addresses?
Start and end addresses is 0x0000 to 0x1fff   8192k
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 20, 2020, 06:40:06 am

I have been stuck on this issue these past few days. Last night I accidentally discovered that the data of the first sector can be cleared. (I'm still confused about how to do it). The new problem is that the first and second sectors cannot write data. No matter how it is burned, the final data is 0XFF.
 I am considering whether to replace the programming software. But I don't know which one to change.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on May 21, 2020, 09:16:06 pm
Start and end addresses is 0x0000 to 0x1fff   8192k

You mean 8 kB and NOT 8 MB , right?

0x2000 bytes = 8 kBytes!

If that is the case, I think it's no problem because the beginning of the FW can be the same in those bytes.

The first 6 or 7 sectors of 8 kBytes each (of the firmwares) are always the same so that doesn't mater for us! That is where the decompressing function of the firmware resides. And that function is always the same.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 22, 2020, 01:45:10 am
Start and end addresses is 0x0000 to 0x1fff   8192k

You mean 8 kB and NOT 8 MB , right?

0x2000 bytes = 8 kBytes!

If that is the case, I think it's no problem because the beginning of the FW can be the same in those bytes.

The first 6 or 7 sectors of 8 kBytes each (of the firmwares) are always the same so that doesn't mater for us! That is where the decompressing function of the firmware resides. And that function is always the same.
Yes,I compared multiple files, and the data from 0x00 to 0x003FFF are indeed consistent. According to the parameters in the datesheet, they belong to the first 4 sectors. 8192 bytes (8K bytes) per sector, not 8192k bytes.Sorry, I made a mistake in front.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 23, 2020, 09:22:03 pm
Hello tv84 and routerfan  :D
Today the JTAG programmer is arrived!
Which sw should i use to dump osciloscope memories?
Is OpenOCD ok or have you other advice?

  Thanks alexitaly!
   1、 You need to solder the bf 531 JTAG socket before starting work. This seat does not exist on our motherboard, you need to add it.
   2、Make a cable, taking care to include a 1k resistor.
   3、Make a connection bf531-Lattice-downloader (your Adattatore USB Debugger ICprog OpenOCD JTAG)。Note that the 3.3v on the sco motherboard should be used to power the downloader.
       I am just a rookie in this regard. I will only complete limited work according to the information obtained online, so I used TopFlash to burn the program. The command line of OpenOCD is sealedbook for me. :phew:
 

In the photo that you have published, the hw revision of the mainboard is SAT7.820.681.K but, in previous photos of your oscilloscope, the revision is SAT7.820.681.H (the same revision of mine).

What are the differences between the two revisions? Is there any difference in connectors' pinout? And what is your revision? It's very important.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 24, 2020, 01:53:54 am
Hello tv84 and routerfan  :D
Today the JTAG programmer is arrived!
Which sw should i use to dump osciloscope memories?
Is OpenOCD ok or have you other advice?

  Thanks alexitaly!
   1、 You need to solder the bf 531 JTAG socket before starting work. This seat does not exist on our motherboard, you need to add it.
   2、Make a cable, taking care to include a 1k resistor.
   3、Make a connection bf531-Lattice-downloader (your Adattatore USB Debugger ICprog OpenOCD JTAG)。Note that the 3.3v on the sco motherboard should be used to power the downloader.
       I am just a rookie in this regard. I will only complete limited work according to the information obtained online, so I used TopFlash to burn the program. The command line of OpenOCD is sealedbook for me. :phew:
 

In the photo that you have published, the hw revision of the mainboard is SAT7.820.681.K but, in previous photos of your oscilloscope, the revision is SAT7.820.681.H (the same revision of mine).

What are the differences between the two revisions? Is there any difference in connectors' pinout? And what is your revision? It's very important.
Welcome back alexitaly
 My hardware version is SAT7.820.681.H This is the same as yours. JTAG's line sequence is compatible with SAT7.820.681.K, which is no problem. The picture in front of me was found on the Internet, not my machine.
   am not familiar with Linux. I checked the ICprog OpenOCD JTAG data, it seems to be an adapter based on 2232 chip. You can try the Generic FTDI FT2232 option in the TopJTAG Flash Programmer, provided that you must drive it correctly under wiondws.
 
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 24, 2020, 11:34:58 pm
Hi routerfan,
i've installed driver and TopJTAG software. A question: after 20 days from installation, does it stop working if the license is not purchased?
From your electric drawing, bf531 JTAG and Lattice JTAG lines are the same. How do you select the one or the other?
Can you explain me the procedure that you have performed with TopJTAG to dump memories please?
Thanks!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 25, 2020, 05:13:44 am
Hi routerfan,
i've installed driver and TopJTAG software. A question: after 20 days from installation, does it stop working if the license is not purchased?
From your electric drawing, bf531 JTAG and Lattice JTAG lines are the same. How do you select the one or the other?
Can you explain me the procedure that you have performed with TopJTAG to dump memories please?
Thanks!
1. Confirm that the devices below Windows can be recognized normally.
2. Open the TOPJTAG software. Load the setup file (this file defines the plugs of the two chips).
3. Make sure that the two boundary scan files are in their proper locations.
4. Both of the above two can be verified by the verification button in the program to see if the hardware is working properly.
5. Retrieve data.

In addition, there is no need to worry about the selection of bf531 JTAG and Lattice JTAG, the two chips exist through the JTAG chain, as long as the two chips can be found in the inspection chain. Do n’t worry too much about the software usage time. It usually can be used again after reinstalling once it expires (although I have n’t experimented with it). For detailed settings, you can see the pictures in the file package I sent.

https://www.eevblog.com/forum/repair/need-full-firmware-(full-dump-flash)-oscilloscope-atten-ads-1062cml/?action=dlattach;attach=991666 (https://www.eevblog.com/forum/repair/need-full-firmware-(full-dump-flash)-oscilloscope-atten-ads-1062cml/?action=dlattach;attach=991666)
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 25, 2020, 10:31:15 pm
Hi routerfan :-+
Thanks for your help with the .rar file  :D

I'm trying, and i've a question.
I've made the connection cable from programmer to Lattice JTAG connector.
In the oscilloscope mainboard i've not found the connections in red (see the image attached). I not understand if the scheme is of all the connection cable or if i've to made only the connection to the programmer (and the connection between BF531 JTAG and Lattice JTAG connectors are in the mainboard).

Please excuse me for this question, but i haven't any electric scheme of the mainboard, and i don't want to make damages.
Can you help me please?

Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 26, 2020, 07:11:35 am
Hi routerfan :-+
Thanks for your help with the .rar file  :D

I'm trying, and i've a question.
I've made the connection cable from programmer to Lattice JTAG connector.
In the oscilloscope mainboard i've not found the connections in red (see the image attached). I not understand if the scheme is of all the connection cable or if i've to made only the connection to the programmer (and the connection between BF531 JTAG and Lattice JTAG connectors are in the mainboard).

Please excuse me for this question, but i haven't any electric scheme of the mainboard, and i don't want to make damages.
Can you help me please?


Hi alexitaly
 These lines are not ready-made, you need to connect them with a cable, I use DuPont cable.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on May 27, 2020, 11:24:10 pm
Hi routerfan,
i've made and verified the JTAG cable, but the software give me the message "FAILED TO INITIALIZE JTAG CHAIN".
I've controlled the cable and the sw settings, the ftdi drivers, but i haven't obtained any result.
In these days i will continue to try... if someone has any idea i'm grateful.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on May 28, 2020, 01:45:15 am
Hi routerfan,
i've made and verified the JTAG cable, but the software give me the message "FAILED TO INITIALIZE JTAG CHAIN".
I've controlled the cable and the sw settings, the ftdi drivers, but i haven't obtained any result.
In these days i will continue to try... if someone has any idea i'm grateful.
Hi alexitaly,

I don't know at which step you verified the cable. If the cable is normal and the drive is normal, there should be no problem.
 Another thing to note is that ADSP_BF531_LQFP.bsdl and LCMXO256C_XXT100.bsdl have you specified the paths? It's important
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on June 01, 2020, 09:02:57 pm
I hope you are making progress.  :clap:

When you need my help please pm as I might not come here often.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: alexitaly on June 24, 2020, 02:26:24 pm
Hi routerfan, excuse me for the delay with which i answer.
Unfortunately, in this period i got some problems, the last of which is the lost of my work due to covid consequences (there are no job orders in the company where i work).
Because of this, i have to postpone the memory dump: infact, if I make a mistake and do damage, I would have great financial problems to fix, and I need the DSO to do some small jobs that are now useful for taking money.
As soon as I can I will help you, now I hope you will understand me.
Excuse me, thanks for your attention.
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: tv84 on June 25, 2020, 12:56:10 pm
Excuse me, thanks for your attention.

Totally excused!   :(

I wish all the best and good luck in getting a new job.

Stay safe!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: routerfan on July 09, 2020, 06:32:30 am
Excuse me, thanks for your attention.

Totally excused!   :(

I wish all the best and good luck in getting a new job.

Stay safe!

Hi alexitaly
  Life in various industries is not so good this year, I hope you will go through this difficult period smoothly, nothing else matters
  I have set aside the oscilloscope. After all, there are still things to deal with. This may be the trouble for adults. But I still did not give up. Some time ago, an old oscilloscope of this model was on sale. I missed it. But it doesn't matter, there is a chance next time.
  Thank you again, including TV84 for helping me, I will come back to see if I have time.
   Good luck and health!
Title: Re: Need full firmware (full dump flash) oscilloscope Atten ADS 1062CML
Post by: hlj.pycad on April 27, 2023, 03:37:36 am
hi, tv84, I just got this old ads1102cal on a flea market, and I got almost the same system status of "bithead9" got, so I decide to update the oscilloscope.
I download the latest firmware of siglent 1102cnl firmware, which is V6.01.01.21R2, with the name "P21R2.ADS", but the machine refuse to flash the firmware, saying "product type is not accordant"
I wonder where I can download this old "SDS1000CNL_SSP_V100R005B01D02P13.ADS" to give a try... or I just missed some manoeuver to bypass the product type chek?


***EDIT*****
I think the V6.01 is not for CNL, those V5.0 work fine, but the some fireware didn't come with the CFG file and instruction, wandered around a bit before I learn that.