DSO203 GCC APP - Community Edition (2.51+SmTech1.8+Fixes)

I recommend this one:

https://launchpad.net/gcc-arm-embedded



It’s very similar to the codesourcery one, but you don’t have to register anywhere to download it.

Thanks for the link jpa!



Had troubles finding the CodeSourcery one for windows.

He’s selling his firmware, and it’s closed source. I can’t post a link yet, because I’m a new user, and the forum won’t let me post it.

have any questions?

Is it based on the existing GPL code? If so, have you released the source?


functions that I implemented are not based on GPL,
Where are your sources, I want to see your firmware version for DSO, possible without the source code.


you firmware are based on free communiti code
you don't have any rights to sale it

I am ashamed of what makes my former compatriots.

[i]Таких как ты мы в детстве называли курками. Это от слова куркуль. Руки им никто не подавал.[/i]




как же называются те кто ничего не делает , и хочет пользоваться бесплатно тем что другие делают?



а самое главное я платил за осциллограф вместе с ( открытой прошивкой ) деньги и как оказалось с кучей багов , за что надо возвращать товар, и до сих пор официальная прошивка непригодна для использования.



я знаю много людей которые покупали осциллограф только из-за моей прошивки, так скажите кому я сделал плохо, кроме тех кого жаба давит?

Люди здесь делятся наработками бесплатно. Но тебя это делать никто не заставляет - написал мод, сиди и жмись сколько угодно.

А вот продавать его ты не имеешь права. Хочешь продавать - пиши всё с нуля, иначе это элементарная торговля краденым.

если я увеличиваю кол-во продаж осциллографа , то у кого я что украл?

You added some functions to GPL code. So the whole thing is GPL. You are in violation if you don’t release your changes.

[code]
v1.26

  • readme changes

v1.25

  • Patch for Process.c to correct problem with (A-B) calculation. (dementianati)
    [/code]
    Latest download: https://github.com/pmos69/dso203_gcc/zipball/master

    If you just want the APP, get it here: http://pmos69.net/dso203/APP_G251.hex

[code]
v1.27

  • FFT (channel A or Channel B) and Spectrograms (channel A or Channel B) now accessible in the Channel 4 menu
  • Merged all contributions from Wildcat:
    INTERFACE:
    - Variable repeat rate for toggles, slow for menus, fast for verniers, etc.
    - Main Menu will stop at left (CH-A), and at right on Time Vernier or Volume adj, will not “go around”.
    - Program will attempt to set triggering to relevant channel, if shutting off a channel with trigg set,
    will move trigger source to last selected ch.
    - Will not time out into standby if USB power plugged in.
    - “SCAN” mode renamed “TrOFF”. Trigger levels/vernier do not show in this mode.
    - “NorCL” (Normal-Clear) mode added (simulates regular CRT type scope, clears display if no trigger)
    - Single shot trigg mode automatically goes into full size buffer mode.
    - Digital channels meter default displays changed to show only relevant meters (no volt meters)
    - Trigg verniers disabled for digital channels (preset at 1/2)
    - X_Y-A and X_Y-S removed, now only X_Y. Mode is triggered in AUTO mode to allow meters to work correctly. (Move trigg
    source to unused ch to disable triggering if desired).
    TRIGGERING:
    - Re-sequencing of triggering functions to allow proper time for reset to bring up start flag before attempting to read
    FIFO, allows analog channels to trigger properly on slow/random signals at fastest timebases.
    - Fixed a problem in the mid-range time bases where display would freeze or trigger very sporadically
    - Implementation of proper triggering in single screen buffer mode.
    - Various functions optimizing triggering for different timebases, triggering modes, etc.
    - “SCAN” mode (now renamed “TrOFF”) optimized with different routines for fast and slow time bases.
    - Single screen buffer mode now resets immediately after right edge of screen, also is available at all time bases.
    - Auto trigger fix to eliminate condition in some cases where device could not trigger because trigg level was too far
    away from wave and auto function could not find wave because device was not triggering.
    CALIBRATION:
    - Gain calibration now modifies signal in relation to signal zero point, rather than screen bottom. Prevents
    interfering with offset calibration and Y positioning.
    - Signed variables now used to allow values at bottom of screen, which can be pushed up by offset calibration, and
    then be below zero, to be read properly.
    - ADC operating point shifted away from non-linearity at the bottom of screen. Allows calibration routine to
    work more accurately.
    - Fix for an error in FPGA where the 2 least significant bits of CH-B are swapped.
    - Fix for an error in saving parameters to disk where CH-B offset compensation could be corrupted if CH-A’s value was
    negative.
    - Signal gain calibration now switchable ON/OFF (Screen only, does not affect meters. Improves wave quality by removing
    correction “steps”, if present).
    FILES:
    - Fixed BMP header. Header was missing a row of digits causing improper file and image size to be listed.
    - Added several additional parameters to be saved in “save config”. (Config file still compatible with previous versions)
    METERS:
    - Values now corrected by calibration in reference to signal zero point, rather than screen bottom. Prevents offsets and
    Y positioning from affecting accuracy.
    - Time measurements in process completely re-written, eliminating the inclusion of partial waves before triggering. While
    this only affected accuracy slightly in full frame buffer mode, it introduced major inaccuracies in single screen buffer
    mode where at times only a few waveforms are considered in the measurements.
    - Frequency meter fixed so it works past ~2Mhz. This worked OK in original program, but had wrong suffix. Subsequent fix for
    improper readout caused meter to malfunction past around 2Mhz.
    - Fixed Time and Voltage Vernier meter readouts so they display properly at very large and very small time/voltage settings.
    GENERATOR:
    - Shifting of amplitude variation from signal’s zero point rather than screen bottom, eliminates distortion at lower levels
    where bottom of wave is clipped. Note that this results in an unchanging DC offset as level is varied… (use AC coupling
    to display properly)
    - Changed division ratios so proper frequency is produced/displayed without needing a special SYS version (should work OK with
    it as well) Only issue with this is the innability to produce 20Khz (produces 25Khz instead) Readout shows correct value.
    DISPLAY:
    - Improved linearity from ADC operating point shift. (Eliminates compression of wave at bottom of screen).
    - Bit swap correction on CH-B improves trace quality.
    - Elimination of noise at beginning and end of trace on some ranges.
    - Alignment of Digital channels with Analogs. Note that digital channels trailing at very fast timebases is caused by
    delay introduced in Digital channel input stage. There is no way to fix this at the software level, needs to be fixed
    in hardware. This same input stage configuration also introduces instabilities when triggering from the digital CHs at
    fast time bases.
    - Re-aligned trigger point with trigger vernier
    - Fixed “time shift” at fastest timebases when changing time/div while on hold.
    [/code]
    Latest download: https://github.com/pmos69/dso203_gcc/zipball/master

    If you just want the APP, get it here: http://pmos69.net/dso203/APP_G251.hex



    Tested with:
  • SYS 1.50 1.6 from Marco Sinatti ( http://pmos69.net/dso203/SYS25116.hex ) - NEEDED FOR CORRECT GENERATOR FREQUENCIES
  • FPGA 2.61 ( http://pmos69.net/dso203/FPGA261.zip )
  • HW 2.6

Thanks very much for this and thanks to Wildcat for the material merged in.



Loaded up and running OK.

Hi PMOS,



WOW! What a tremendous amount of work you’ve put into this! Thank you soooo much for making this scope so much better.



Dan



Nice one!

I notice channel B is still noisier than A. Maybe there’s a bug in the PCB.



Another thing! I can’t find how to enable and change manual trigger threshold in this version. Can you explain me how to do it? Thanks!

Thanks Jack,

I finally had some free time that I could spend with this. All thanks to Wildcat though. He did a tremendous job.



To change to manual trigger adjustment:

  • press: Button 2 (square) for 1 to 2 seconds - You’ll see the trigger menu indicator change to manual.

    (short press changes auto trigger levels and extra long press (>3 seconds) goes into calibration mode)



    I’ll update the first post with the new readme. It’s all there.

[code]
v1.28

  • RAM usage optimization
  • Channel 4 source change turnaround fix (move trigger source to last selected ch)
  • auto switch to full buffer mode when enabling FFT/Spectrograms
    [/code]
    Latest download: https://github.com/pmos69/dso203_gcc/zipball/master

    If you just want the APP, get it here: http://pmos69.net/dso203/APP_G251.hex



    Tested with:
  • SYS 1.50 1.6 from Marco Sinatti ( http://pmos69.net/dso203/SYS25116.hex ) - NEEDED FOR CORRECT GENERATOR FREQUENCIES
  • FPGA 2.61 ( http://pmos69.net/dso203/FPGA261.zip )
  • HW 2.6

[code]
v1.29

  • Big Display Meters (METER) - Accessible from the Channel 4 menu.
    • Corresponding meter/measurement indicated by marker.
    • Change the indicated meter as usual - The Big meter will reflect the change (Any channel, any measurement).
      [/code]
      Latest download: https://github.com/pmos69/dso203_gcc/zipball/master

      If you just want the APP, get it here: http://pmos69.net/dso203/APP_G251.hex



      Tested with:
  • SYS 1.50 1.6 from Marco Sinatti ( http://pmos69.net/dso203/SYS25116.hex ) - NEEDED FOR CORRECT GENERATOR FREQUENCIES
  • FPGA 2.61 ( http://pmos69.net/dso203/FPGA261.zip )
  • HW 2.6

Hi,



I tried to upgrade my firmware, for the first time.

The hardware is v2.6.



I followed this wiki:

<LINK_TEXT text=“http://www.seeedstudio.com/wiki/DSO_Qua … g_Firmware”>http://www.seeedstudio.com/wiki/DSO_Quad:Upgrading_Firmware</LINK_TEXT>



I downloaded this files:

http://pmos69.net/dso203/

(SYS25116.hex, APP_G251.hex, FPGA261.zip)



wget http://www.seeedstudio.com/wiki/images/3/31/Dso.img.zip



I go to the upgrade mode (>|| button holding while powering up).

I copied SYS25116.hex to /mnt/dso (linux), I powered off an on again the dso (slide-switch), the file was renamed to .RDY. I have not unplugged the mini-usb cable.



Then I copied APP_G251.hex, the file has been disappeared, after on-off cycle, instead of renamed to APP_G251.rdy.

Before upgrading the FPGA, I tried to power on the device and see the new app in action.



I powered on, and the dso quad stuck at the INIT SCREEN.



I see this:
[code]
DSO QUAD

Hardware Ver 2.6 Serial No: E9A0B87E
DS203 Mini DSO SYS Ver 1.31
GCC v1.29 APP Community Edition
[/code]

After I did copied the FPGA files too (CFG_FPGA.ADR, power cycle, V261FPGA.BIN).

Still no luck.



When I plug into computer (while this init screen is showing), the computer does not recognize it.

So I could not copy Dso.img.zip file with dd command to the device.

I tried to dd the Dso.img.zip while in DFU mode, I got this:
</s><i> </i># bunzip2 Dso.img.zip --stdout | dd of=/dev/sdb dd: writing to: ”/dev/sdb”: No more space left on device 1025+0 records in 1024+0 records out 524288 bytes (524 kB) copied, 2,03603 s, 258 kB/s <e>

Any helping hands?