Products > Test Equipment
New 2ch pocket DSO+SG - Zeeweii DSO2512G
RAPo:
Hi Tim,
I wasn't asking for a feature but more for a clarification how far you can "adapt" the scope in terms of menu and associated actions.
I see you from your post that adaption of text based menu is possible.
Can you describe your method in more detail?
--- Quote from: timschuerewegen on October 25, 2023, 05:43:33 am ---I was talking about extending the signal generator by adding extra hardcoded waveforms. To do that I need a 40x20 1bpp bitmap and 256 bytes of waveform data.
I can also change the existing menu bitmaps and add extra things but I rather use my own text based menu (activated by long press menu key) with actions/options.
For instance, one of the actions could create a ramdisk (16MB), write the contents of the SPI flash to "flash.bin" and start USB mass storage mode, so that you can "download" the contents of your SPI flash chip via USB.
--- End quote ---
Aldo22:
--- Quote from: timschuerewegen on October 24, 2023, 07:23:16 pm ---Something like this?
...
https://youtu.be/3B_Uj_5CezU
--- End quote ---
The heart looks great! Well done! :-+
Just a little hint: For me, changing the trigger settings via the menu is tedious.
Fortunately, there is a shortcut for all of them. For example
Power + F1 for switching the trigger level mode ( automatic or manual ).
For more, see the cheat sheet.
timschuerewegen:
--- Quote from: RAPo on October 25, 2023, 07:51:58 am ---Hi Tim,
I wasn't asking for a feature but more for a clarification how far you can "adapt" the scope in terms of menu and associated actions.
I see you from your post that adaption of text based menu is possible.
Can you describe your method in more detail?
--- End quote ---
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.
EDIT: With "action" I mean my own C code, not some predefined "thing".
Aldo22:
@timschuerewegen
I would also be interested to know what is possible in this way.
I'm still tinkering with my screenshot analyzer.
At the moment I am adding features that the DSO2512G does not have.
For example, an automatic rise-time measurement. (Attachment, 9ns).
Math functions might follow.
- Is it possible for you to add such functions to the FW, or are there limits (memory etc.)?
- Is it possible to build a USB-interface to control the DSO2512G from a PC or to retrieve data?
Thanks!
timschuerewegen:
--- Quote from: Aldo22 on October 25, 2023, 02:41:12 pm ---I would also be interested to know what is possible in this way.
I'm still tinkering with my screenshot analyzer.
At the moment I am adding features that the DSO2512G does not have.
For example, an automatic rise-time measurement. (Attachment, 9ns).
Math functions might follow.
- Is it possible for you to add such functions to the FW, or are there limits (memory etc.)?
--- End quote ---
Yes, I think it is possible. The firmware only has the data of what is currently being displayed on the screen, nothing to the left and right, that data simply does not exist in the ARM9 RAM. The firmware (running on ARM9) only receives "visible" data from the FPGA. The firmware basically gives all the parameters (time base, vertical sensitivity, trigger source, trigger type, etc.), to the FPGA and it will aquire the signal which the firmware can then retrieve. In single channel mode for time base 500ns or higher there are actually 4 samples/bytes "per pixel", so 1200 samples/byte in total for one LCD screen (300 pixels). It is on that data that the firmware does its mean/rms/etc. calculations. For time base 5ns there are only ~50 samples/bytes so the firmware uses interpolation to generate a 300 pixel wide waveform. That data is available in the bigger DSO2512G .wav attachments that I shared earlier. You can use those to test/try your math.
--- Quote from: Aldo22 on October 25, 2023, 02:41:12 pm ---- Is it possible to build a USB-interface to control the DSO2512G from a PC or to retrieve data?
--- End quote ---
Yes and no. I can only create a ramdisk (16MB), create files on the ramdisk and start USB mass storage mode (which can only be exited by powering off). That is how you can transfer data to a PC, or even vice versa, like how the firmware update mechanism works, so you could for instance use this to add YOUR own custom waveforms to the firmware by providing a .bin blob that contains X number of 40x20 bitmaps and 256 byte waveforms.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version