-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathREADME
120 lines (71 loc) · 3.19 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
What
~~~~
Development Toolchain for Rigol Oscilloscopes
This toolchain makes it possible to compile and link your own software against
the Rigol firmware. You can upload and run it on your device or implant it to a
firmware image. Actually, only blackfin assembly is supported, but i plan to supply
c-header files with wrappers around the firmware calls.
More infos at http://rigolwiki.codenaschen.de
Authors
~~~~~~
Andreas Schuler <andreas at schulerdev.de>
If you want to know more about me, just read my blog at
http://www.codenaschen.de/
Matthew Ellis <matthewellis1995@gmail.com>
License
~~~~~~~
GNU GENERAL PUBLIC LICENSE Version 2
see LICENSE file
Supported Firmware
~~~~~~~~~~~~~~~~~~
Actually we only patch firmware version 02.05.02.00. You need a suitable
firmware update file for this version.
Supported Hardware
~~~~~~~~~~~~~~~~~~
- Rigol DS1052E/DS1052D, HW v58 and lower
- Rigol DS1102E/DS1102D, HW v58 and lower
- Other Hardware is untested, but when original firmware version 02.05.02.00
is working, the patched one will working too.
Compile/Install
~~~~~~~~~~~~~~~
install git if needed:
sudo apt-get install git
To get the latest version of the toolchain, simply checkout the appropriate git repository with the line:
git clone git://github.com/krater/rigol-toolchain.git
Switch to the resulting directory:
cd rigol-toolchain
Execute the install script, this will install all required packages and install the tool chain on your system:
./install.sh
2)Patching the firmware
You need a firmware image (DS1000EUpdate.RGL) version 02.05.02.00
with a md5sum of 9c28690d8d5a5690b7340fda943f5549.
The md5sum of the firmware can be verified with the command:
md5sum -b DS1000EUpdate.RGL
Copy your firmware image to examples/rwpatch/DS1000EUpdate.RGL,
switch to this directory and do a
make patch
When you get the Message "Firmware ready to flash.", you can copy the resulting firmware
image to a USB stick and flash it to you oscilloscope.
!!! Make sure your oscillsocope will work with version 02.05.02.00 of the firmware !!!
!!! BEFORE you flash the image !!!
3)Building and uploading the Samples
First you should connect your PC and the Oscilloscope through a RS-232 cable. Then
switch to the appropriate directory and write your used tty device name to the Makefile.
Type:
make # for build your application
make upload # for uploading it to the ram of your Rigol device
make start # to start it
4)Have fun !
Bugs/Todo
~~~~~~~~~
Development:
- Add wrappers around the internal Rigol functions to use it with
GNU C compiler
- Write firmware patcher and header files for oher firmware versions
- Write a nicer Makefile
- ...
Reverse engineering:
- Find a way to access the measured values
- Access the speaker and button led's
- ...
Help is welcome :)