This is example, not true.
You are connected to scope with USB UART using terminal emulator. (if you like you can even use microsoft bullshit hyperterm but I do not recommend it to any kind of use. Use some real emulator. Example Cryptoterm 1.5 or something else. (before use it as pure terminal it may need some small settings so it works just like dummy old RS232 terminal, depend of what terminal you select to emulate it can also show colored things, more nice to use. But maybe if someone have not use real terminals in history they do not miss real terminals functionality and then they can even accept microsoft hyperterm what is just shame... most bad terminal ever what can find on this Tellus.)
what ever terminal you give keyboard (real terminal can send this):
together pressed |ctrl|C
and then |enter|
now you are here (in root)
[root@Tekway-dso /]#
and you can command example this
ls |enter|
you get long list on the terminal display (root have these names and they can be files, directories etc)
Something like this: (5 underlines is me... maybe you quess why)
one you mod with mv and others with vi
[root@Tekway-dso /]# ls
OurLanguages fpgabank.conf logotype.dis sys.inf
bin help.db lost+found tdc.log
chk_base_volt home mnt tdc_edge125M
cur_acq.type i2c.log msg tdc_overtime125M
dev icon mult_adc.log tdc_pulse125M
dn.rbf keyprotocol.inf nfs test
dso language.img opt tmp
dso.exe lib param tmpdst
dst1102b linuxrc proc ubdb.swi
etc logo protocol.inf usr
fpga.exe logotype sbin var[root@Tekway-dso /]#
now lets do something small
type (after # there is cursor waiting)
vi logotype|enter| (|enter| means you just press enter)
you get something like this
- logotype
dst1102b
~and here you are now with vi editor reading or editing and your cursor in start of file (just under first character).
First, if you do not want touch anything or just make some mistakes and you have changed accidentally it, just go out without saving anything. give vi command:
:q! |enter| (or if it do not follow becouse you are not in vi command mode you then |esc|:g!)
(To enter vi command mode: [esc]) example if you are i (insert) you need first enter back to command mode)
you go out from vi and not saving anything and agen you are here
[root@Tekway-dso /]#ok lets editing:
agen
[root@Tekway-dso /]#vi logotype|enter| you get
dst1102b
~you can now edit.
You can move cursor with
h move left (backspace)
j move down
k move up
l move right (spacebar)Move cursor under second 1 (dst1
102b)
press r, then 2
what happend? ... 1 changed to 2. (r changes next typed mark to cursor pointing place)
now there read dst1202b and your cursor is where it is.. if need edit more you can move cursor and use r (replace)
only change these numbers and also keep care that if there is uppercase it need stay uppercase etc. do not use inserd etc becouse all strings need be exactly lenght as they are and upper ands lower case is also important.
you can find easy all vi commands bu google search vi editor commands.
(this replace command is safe becouse you can not destroy file lenght and also if there is example <cr> yoy can not accidentally destroy anything)
ok now there is edited this.
You can now store it and quit. Type:
:wq |enter| or
|esc|:wq|enter|you go back to
[root@Tekway-dso /]# ok lets check (if want do it with vi):
type agen:
[root@Tekway-dso /]#vi logotype|enter| (note if you know you just want read only it, no need go vi editor).
if you only read and not change anything or accidentally change something what you not want
just type
:q!and it quits without saving anything. (if you first need go to vi command mode press first |esc| and then command example :q! this need example if you are in insert mode editing text)
If you only want read file then use command
cat filename, this can not change anything. (and if file is long, you can use
more filename)
You can exercice with vi around of scope but if need exercise, it is better to make one file and then exercise with it just as writing first text and then editing it with many ways.
Also if want look more:
sightseeings inside scope you need tiny command list like this)
So if you just looking some files maybe is better look only with command
cat filename , it is nearly same as old msdos command: type.
maybe something is not correct in my text... it was just from my bad memory without checking.
Just like this you can edit all what need exept.....
first with
ls
command you get root directory list (ls list files in this directory where you use it) where is your scope model... (same with Hantek and Tekway, dstxxxxb)
if have 100MHz model there read (in root directory): dst1102b
this name can not edit by vi
this you simple change (move) like this
[root@Tekway-dso /]#mv dstxxxxb dstzzzzb|enter|
x is what you know(old) and z what you want(new).
(tiny mod (example for short time test) is only this model change with mv and restart scope.
(remember also self cal after mod))
if you just mv <oldmodel> <newmodel> |enter| you do not need do anything other but just shut off cope and restart.. you scope works as newmodel but there is wrong boot up picture and systemdata is wrong. In this mode you can not use update for your newmodel. (it is more safe that do not try update FW is model change is not full and perfect)
but for doing all perfect you need edit some files.
(I have never mod FW110923.1 scope so there may be some differencies, really I do not know. Last time I have used mod was maybe FW110531 and after mod of course updated FW's but not tested if new FW's still can mod exactly same as before)
Please read tinhead comments just starting this whole thread.
all files what need touch are listed there.
Be careful, if there is uppercase or lower case inside file, do just as they are.. do not change uppercase/lowercase inside files)
(mv just change name.) mv tommy bobby ...and now tommy renamed to bobby)
before restart scope look and watch carefully that you have typed all just exactly without any minor error.
As long as you have not rebooted you can read all with vi and also re-edit if need.
one example "user manual" for use vi editorAll original info you can find if you follow carefully what tinhead have teached here in thread. He have done lot of fine work with this for all of us and also for helping Hantkek sell more and also Hantek/Tekway to make better scopes.
.
full thanks to tinhead.