Author Topic: New 2ch pocket DSO+SG - Zeeweii DSO2512G  (Read 134328 times)

0 Members and 10 Guests are viewing this topic.

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: nl
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #525 on: October 27, 2023, 11:19:15 am »
very nice Tim.

Is this procedure valid for all soft/firmware versions of DSO2512G?
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #526 on: October 27, 2023, 02:13:02 pm »
Is this procedure valid for all soft/firmware versions of DSO2512G?

This specific/added feature will obviously only work in combination with my modified V1.3.0C firmware. The V1.3.0C firmware might be compatible with all PCB versions. Someone will have to try it.
 
The following users thanked this post: REWEREWE

Offline TEOTEO

  • Newbie
  • Posts: 5
  • Country: it
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #527 on: October 27, 2023, 08:00:19 pm »
hi everyone i wanted to ask if the firmware update can be done on firmware version 1.2.0 with PCB version 8.7 which should be the first release yet SIGPEAK. Or you risk destroying it ??
thanks
 

Offline Aldo22

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: ch
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #528 on: October 27, 2023, 09:26:05 pm »
hi everyone i wanted to ask if the firmware update can be done on firmware version 1.2.0 with PCB version 8.7 which should be the first release yet SIGPEAK. Or you risk destroying it ??
thanks
I once asked the Zeeweii Official Store if I could upgrade V1.2.8C to an improved version. The answer was:
"Hi, we don't recommend you to upgrade it, we only have improved firmware for V1.2.9C version now. Unpredictable errors may occur after other version upgrades."
 

Offline TEOTEO

  • Newbie
  • Posts: 5
  • Country: it
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #529 on: October 27, 2023, 10:27:29 pm »
the software is fine overall, there is just a bug in the NORM trigger mode which is annoying, if it can be fixed. Since from the last posts some DIY modifications can be made, I was also thinking on a functional level.....
 

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: nl
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #530 on: October 28, 2023, 09:46:47 am »
Thanks for your answer, Tim.
I have the old version of the Zeewei software that is tied to the device I have.
Maybe, just maybe, I buy another at the official Zeewei store.
Will your adaptation(s) be in the public domain?

This specific/added feature will obviously only work in combination with my modified V1.3.0C firmware. The V1.3.0C firmware might be compatible with all PCB versions. Someone will have to try it.
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #531 on: October 28, 2023, 10:05:09 am »
I have the old version of the Zeewei software that is tied to the device I have.
Maybe, just maybe, I buy another at the official Zeewei store.

I downgraded to V1.2.8C+ and it seems to work, and it is a known fact that V1.2.8C can be upgraded to V1.2.8C+, so it seems that you can run any firmware version on any hardware revision. It is probably also possible to read/write the SPI flash via USB by using a 10K resistor (to be safe) and pull CS or one of the data lines low so that when you turn on the DSO2512G, it will enter USB FEL mode. I tested USB FEL mode yesterday (by removing the SPI flash and putting it back, since I have it in a DIY socket) and was able to read the SPI flash via USB. You can also write to the SPI flash but I did not test it. If you want to dump your flash using this method, let me know and I will test it first. This method can also be used to write to the SPI flash in case of a bad firmware update.

Will your adaptation(s) be in the public domain?

I will put the firmware asm/c source code on github once I am happy with its current state.
 
The following users thanked this post: battlecoder, REWEREWE, Aldo22

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: nl
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #532 on: October 28, 2023, 10:31:15 am »
Thanks for your quick response, Tim. Your efforts are really appreciated!
 

Offline TEOTEO

  • Newbie
  • Posts: 5
  • Country: it
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #533 on: October 28, 2023, 08:14:40 pm »
HI so the second you the firmware is stored in the flash? the 25q32 ?? if so I can download the memory with the original v1.2.0 program and save it in case the update is not successful. my only doubt is for the FPGA a LATTICE different from the latest versions of the PCB.
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #534 on: October 28, 2023, 11:15:52 pm »
HI so the second you the firmware is stored in the flash? the 25q32 ?? if so I can download the memory with the original v1.2.0 program and save it in case the update is not successful. my only doubt is for the FPGA a LATTICE different from the latest versions of the PCB.

The SPI flash chip contains a bootloader, the original ARM9 firmware, the upgraded ARM9 firmware, the normal FPGA firmware, the overclocked FPGA firmware, calibration values, etc.

If you pull the CS pin to ground using a 47 ohm resistor (to be safe, and 100 ohm or higher won't work) and push the power button, the ARM9 cannot read from SPI flash and will enter USB FEL mode. You can then remove the resistor but you need to keep the power button pressed. As soon as you release the power button, it shuts down. Windows will detect a new USB device. You need to install the WinUSB driver via ZADIG. With sunxi-fel.exe (link) you can read and write the SPI flash chip. Dumping the entire chip will take 45 seconds.

 
The following users thanked this post: battlecoder, REWEREWE

Offline TEOTEO

  • Newbie
  • Posts: 5
  • Country: it
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #535 on: October 29, 2023, 10:00:38 am »
I have an EPROM programmer, I remove the memory from the PCB and program it directly, I just need a file firmware .bin , I think it can be done
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #536 on: October 29, 2023, 10:30:08 am »
I have an EPROM programmer, I remove the memory from the PCB and program it directly, I just need a file firmware .bin , I think it can be done

Yes that will work too. Dump your SPI flash first so I can analyze/test if your old ARM9/FPGA firmware is compatible with my newer PCB version. If it is not then you probably can't upgrade to a newer firmware version. We can chat on Discord if you like, see post 486 for the invite.
 
The following users thanked this post: REWEREWE

Offline TEOTEO

  • Newbie
  • Posts: 5
  • Country: it
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #537 on: October 29, 2023, 10:42:50 am »
Ok thanks
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #538 on: October 29, 2023, 11:20:11 am »
I currently use "long press menu key" to activate drawing of some debug information but I can replace it with a simple text based menu with items that you can select. An item can execute an action (when pressing ok) or changing a setting (by pressing left/right). Much easier to implement than the bitmap based menu system. The menu does not need to be fullscreen and can be drawn on top of everything else, like the debug information.

Secret menu, shhh... don't tell anyone  ;D

 
The following users thanked this post: battlecoder, RAPo, REWEREWE, Aldo22

Offline REWEREWE

  • Newbie
  • Posts: 3
  • Country: aq
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #539 on: November 11, 2023, 02:11:43 pm »
If you want to dump your flash using this method, let me know and I will test it first.
dump hw ver 9.13 sw ver 1.2.8B
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #540 on: November 12, 2023, 05:45:57 pm »
PCB V8.7  => compatible with FW V1.2.0
PCB V9.1 => compatible with FW V1.2.8B (and my modified V1.3.0C)
PCB V9.13 => compatible with FW V1.2.8B (and my modified V1.3.0C)
PCB V9.14 => compatible with FW V1.2.8C / V1.2.8C+ (and probably also V1.2.9C / V1.3.0C)
PCB V9.15 => compatible with FW V1.2.9C / V1.3.0C (and probably also V1.2.8C / V1.2.8C+)

EDIT: You also need to upgrade the FPGA firmware if you upgrade from a firmware older than V1.2.9C to V1.3.0C or else you will have AUTO issues. You can only upgrade the FPGA firmware if you are using my modified V1.3.0C firmware or if you can reprogram the SPI flash chip via either external programmer or USB FEL mode.
« Last Edit: December 07, 2023, 06:32:14 pm by timschuerewegen »
 
The following users thanked this post: battlecoder, REWEREWE, Aldo22, Faissal

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #541 on: November 19, 2023, 02:52:04 pm »
For those who are not on my Discord server, here are a few screenshots to show the progress being made.
 
The following users thanked this post: REWEREWE, Aldo22, Faissal

Offline RAPo

  • Frequent Contributor
  • **
  • Posts: 673
  • Country: nl
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #542 on: November 19, 2023, 03:17:31 pm »
Top work, thanks!
 
The following users thanked this post: Aldo22

Offline Faissal

  • Newbie
  • Posts: 3
  • Country: dz
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #543 on: December 04, 2023, 09:00:31 am »
Hello everyone!
I'm new here  :)

Can i update my scope DSO2512G?
HW: V9.1
firmware: v1.2.8B

to version like v1.2.8C or v1.2.8C+

Thanks for your help.
 

Offline Faissal

  • Newbie
  • Posts: 3
  • Country: dz
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #544 on: December 04, 2023, 10:45:28 am »
PCB V8.7  => compatible with FW V1.2.0
PCB V9.13 => compatible with FW V1.2.8B (and modified V1.3.0C)
PCB V9.14 => compatible with FW V1.2.8C / V1.2.8C+ (and probably also V1.2.9C / V1.3.0C)
PCB V9.15 => compatible with FW V1.2.9C / V1.3.0C (and probably also V1.2.8C / V1.2.8C+)

EDIT: You also need to upgrade the FPGA firmware if you upgrade to V1.3.0C or else you will have AUTO issues. You can only upgrade the FPGA firmware if you are using my modified V1.3.0C firmware or you can reprogram the SPI flash chip via either external programmer or USB FEL mode.

How about my PCB V9.1? is there any chance to update? :)
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #545 on: December 04, 2023, 10:59:02 pm »
How about my PCB V9.1? is there any chance to update? :)
Yes, I think you can upgrade to my modified V1.3.0C firmware (and newer FPGA firmware). First you will have to dump your SPI flash via either an external programmer, or via USB FEL mode. For entering and using USB FEL mode see one of my previous posts. You can also enter USB FEL mode by inserting a microSD card with a special image on it. You can find it here.
 
The following users thanked this post: REWEREWE, Faissal

Offline Faissal

  • Newbie
  • Posts: 3
  • Country: dz
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #546 on: December 06, 2023, 08:52:01 am »
Can you share your modified firmware?
 

Offline timschuerewegen

  • Contributor
  • Posts: 40
  • Country: be
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #547 on: December 06, 2023, 10:08:29 am »
Can you share your modified firmware?
You can find latest modified V1.3.0C firmware on my Discord server. It is a work in progress. See post 486 for the link. I highly recommend that you first dump your SPI flash so that I can check your V1.2.8B firmware and FPGA firmware, and can upgrade the FPGA firmware in your SPI flash dump.
 
The following users thanked this post: Faissal

Offline Dry

  • Newbie
  • Posts: 6
  • Country: ru
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #548 on: December 13, 2023, 09:43:33 pm »
Just have received the thing. Board 9.15, firmware 1.3.0C. Some observations and bugs discovered.
1. The AUTO function doesn’t detect the waveform below 7 Hz. So, if the screen covers the wave only partially, the frequency cannot be displayed. Manual timeline setting should be used.
1952466-01952424-1
2. In two channels mode sometimes after the frequency change in one channel the displayed value and the waveform are completely wrong. For ex. when the wave frequency (meander) is 2 MHz, the shown value is 2,29 Hz (!). If I adjust manually the time value, the waveform changes and the displayed value becomes correct.
1952430-21952436-31952442-4
3. The saved images may change after the capture! If I save a screen with a box over (for ex. when frequency adjusting), the value in the box will be replaced in all saved images with the last one. It looks fantastic, but I rechecked the issue, the oscilloscope changes saved images.
1952448-51952454-6
4. The generator makes good waveform shape, but the frequency is not very accurate. In the Hz range the generated frequency sometimes is 10-15% over or under the selected one.
1952460-7
To note that although the last digit changes the frequency, it cannot be saved and is rounded to the previous one.
5. DC detection is not accurate as well. The difference between the values when the polarity changes grows with the vertical scale value. I calibrated the 0 many times, the best results were obtained when the both channels closed and set to the x100 (probes off). However if the 8,25 V battery at 2.00 V per div. shows +8.33 V and -8.54 V, at 10.0 and 20.0 V per div. it shows near +8.00 -9.00 and +7.50 -9.60 V respectively. My old CRT oscilloscope shows it correctly, regardless of polarity. May be nothing to do with one polarity supply scheme, but one should pay attention on it.

I understand that this model is pretty over, but hope that my observations will be useful not only for its owners but also for the developers, if one could transfer its to them.
« Last Edit: December 15, 2023, 09:07:49 am by Dry »
 
The following users thanked this post: REWEREWE

Offline Aldo22

  • Frequent Contributor
  • **
  • Posts: 834
  • Country: ch
Re: New 2ch pocket DSO+SG - Zeeweii DSO2512G
« Reply #549 on: December 14, 2023, 08:33:09 am »
1. The AUTO function doesn’t detect the waveform below 7 Hz. So, if the screen covers the wave only partially, the frequency cannot be displayed. Manual timeline setting should be used.
That's pretty normal for a DSO.
Quote from: Tektronix
To make automated peak-to-peak amplitude, period and frequency measurements,
the oscilloscope needs to display at least one full cycle of the waveform and have the waveform
fill as much of the vertical axis as possible without the signal going off the top or the bottom of the screen.
This ensures the measurement algorithms have a complete description of the waveform in memory upon which to make
calculations

Hantek does the same with "Autoset", see attached image @5Hz
« Last Edit: December 14, 2023, 09:25:26 am by Aldo22 »
 
The following users thanked this post: REWEREWE


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf