| 126 |
jelle |
1 |
apt-get install geda
|
| 92 |
jelle |
2 |
apt-get install geda-xgsch2pcb
|
|
|
3 |
apt-get install gerbv
|
|
|
4 |
apt-get install geda-examples
|
| 244 |
jelle |
5 |
apt-get install pcb-gtk
|
| 92 |
jelle |
6 |
|
| 244 |
jelle |
7 |
gschem ~/openarm/working/gschem/sch/power-supply.sch #100
|
|
|
8 |
gschem ~/openarm/working/gschem/sch/power-on-reset.sch #200
|
|
|
9 |
gschem ~/openarm/working/gschem/sch/jtag.sch #300
|
|
|
10 |
gschem ~/openarm/working/gschem/sch/sdram.sch #400
|
|
|
11 |
gschem ~/openarm/working/gschem/sch/flash.sch #500
|
|
|
12 |
gschem ~/openarm/working/gschem/sch/micro-sd.sch #600
|
|
|
13 |
gschem ~/openarm/working/gschem/sch/ethernet.sch #700
|
|
|
14 |
gschem ~/openarm/working/gschem/sch/rs232.sch #800
|
|
|
15 |
gschem ~/openarm/working/gschem/sch/oscillators.sch #900
|
|
|
16 |
gschem ~/openarm/working/gschem/sch/usb.sch #1000
|
|
|
17 |
gschem ~/openarm/working/gschem/sch/connectors.sch #1100
|
|
|
18 |
gschem ~/openarm/working/gschem/sch/lpc3180-power.sch #1200
|
|
|
19 |
gschem ~/openarm/working/gschem/sch/can.sch #1300
|
|
|
20 |
gschem ~/openarm/working/gschem/sch/spi.sch #1400
|
| 92 |
jelle |
21 |
|
| 244 |
jelle |
22 |
refdes_renum --pgskip ~/openarm/working/gschem/sch/power-supply.sch
|
| 92 |
jelle |
23 |
|
| 244 |
jelle |
24 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/01-power-supply.sch -o ~/openarm/working/gschem/drc/01-power-supply.drc
|
|
|
25 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/02-power-on-reset.sch -o ~/openarm/working/gschem/drc/02-power-on-reset.drc
|
|
|
26 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/03-jtag.sch -o ~/openarm/working/gschem/drc/03-jtag.drc
|
|
|
27 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/04-sdram.sch -o ~/openarm/working/gschem/drc/04-sdram.drc
|
|
|
28 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/05-flash.sch -o ~/openarm/working/gschem/drc/05-flash.drc
|
|
|
29 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/06-micro-sd.sch -o ~/openarm/working/gschem/drc/06-micro-sd.drc
|
|
|
30 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/07-ethernet.sch -o ~/openarm/working/gschem/drc/07-ethernet.drc
|
|
|
31 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/08-rs232.sch -o ~/openarm/working/gschem/drc/08-rs232.drc
|
|
|
32 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/09-oscillators.sch -o ~/openarm/working/gschem/drc/09-oscillators.drc
|
|
|
33 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/10-usb.sch -o ~/openarm/working/gschem/drc/10-usb.drc
|
|
|
34 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/11-connectors.sch -o ~/openarm/working/gschem/drc/11-connectors.drc
|
|
|
35 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/12-lpc3180-power.sch -o ~/openarm/working/gschem/drc/12-lpc3180-power.drc
|
|
|
36 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/13-can.sch -o ~/openarm/working/gschem/drc/13-can.drc
|
|
|
37 |
gnetlist -g drc2 ~/openarm/working/gschem/sch/14-spi.sch -o ~/openarm/working/gschem/drc/14-spi.drc
|
| 92 |
jelle |
38 |
|
| 244 |
jelle |
39 |
echo 'schematics sch/01-power-supply.sch' | tee ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
40 |
echo 'schematics sch/02-power-on-reset.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
41 |
echo 'schematics sch/03-jtag.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
42 |
echo 'schematics sch/04-sdram.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
43 |
echo 'schematics sch/05-flash.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
44 |
echo 'schematics sch/06-micro-sd.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
45 |
echo 'schematics sch/07-ethernet.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
46 |
echo 'schematics sch/09-oscillators.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
47 |
echo 'schematics sch/10-usb.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
48 |
echo 'schematics sch/11-connectors.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
49 |
echo 'schematics sch/12-lpc3180-power.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
50 |
echo 'schematics sch/13-can.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
51 |
echo 'schematics sch/14-spi.sch' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
52 |
echo 'output-name ../pcb/openarm-sbc' | tee --append ~/openarm/working/gschem/openarm-sbc.prj
|
| 92 |
jelle |
53 |
|
| 244 |
jelle |
54 |
cat ~/openarm/working/gschem/openarm-sbc.prj
|
| 92 |
jelle |
55 |
|
| 244 |
jelle |
56 |
gsch2pcb ~/openarm/working/gschem/openarm-sbc.prj
|
|
|
57 |
|
|
|
58 |
pcb ~/openarm/working/pcb/openarm-sbc.pcb
|
| 92 |
jelle |
59 |
"Select -> Disperse all elements"
|
|
|
60 |
"File -> Load netlist file"
|
|
|
61 |
"Connects -> Optimize rats-nest"
|
|
|
62 |
"View -> Grid Size -> 25 mil"
|
|
|
63 |
"View -> Enable visible grid"
|
|
|
64 |
|
|
|
65 |
"Window -> Comand Entry"
|
| 93 |
jelle |
66 |
:ExecuteFile(/home/jelle/openarm/working/pcb/openarm-board.cmd)
|
| 92 |
jelle |
67 |
|
|
|
68 |
pcb ~/openarm/gschem/myschem.pcb
|
|
|
69 |
/usr/share/doc/geda-doc
|
|
|
70 |
|
|
|
71 |
find /usr/ -iname *lm7805*.sym
|
|
|
72 |
find /usr/ -iname *terminal*.sym
|
|
|
73 |
/usr/share/gEDA/sym/linear/lm7805-1.sym
|
|
|
74 |
|
|
|
75 |
thunar /usr/share/doc/geda-doc
|
|
|
76 |
|
|
|
77 |
|
| 126 |
jelle |
78 |
== symbol creation ==
|
| 92 |
jelle |
79 |
|
|
|
80 |
file:///usr/share/doc/geda-doc/wiki/geda_scg.html
|
|
|
81 |
cp --verbose /usr/share/gEDA/sym/linear/lm7805-1.sym ~/openarm/gschem/sym/test-lm7805-1.sym
|
|
|
82 |
gschem ~/openarm/gschem/sym/ld1117-1.sym
|
|
|
83 |
# en to make attributes visible
|
|
|
84 |
# ve to view extents
|
|
|
85 |
# ex to view text attributes
|
|
|
86 |
|
|
|
87 |
cp --verbose /usr/share/gEDA/sym/connector/terminal-1.sym ~/openarm/gschem/sym/terminal-2.sym
|
|
|
88 |
gschem ~/openarm/gschem/sym/terminal-2.sym
|
| 126 |
jelle |
89 |
gsymcheck -vv
|
| 92 |
jelle |
90 |
|
| 126 |
jelle |
91 |
== issues ==
|
| 92 |
jelle |
92 |
the footpint SOT223 is there but the name should have been SOT-223
|
|
|
93 |
can't copy paste from one schematic to an other schematic
|
|
|
94 |
can't snap objects origin points to closed grid point to align objects
|
|
|
95 |
quality assurance, commit reviews for symbols and footprints
|
|
|
96 |
WARNING: Found a placeholder/missing component, are you missing a symbol file? [ld1117-1.sym]
|
|
|
97 |
^-> needed to do: cp --verbose ~/.gEDA/gschemrc ~/openarm/working/gschem/gafrc
|
| 104 |
jelle |
98 |
I can deleted my schematic by doing a drccheck on it and output on the input document with no warning at all...
|
| 92 |
jelle |
99 |
|
| 126 |
jelle |
100 |
== todo ==
|
| 92 |
jelle |
101 |
create non m4 SOT-223 footprint
|
|
|
102 |
create terminal block 2x1 footprint
|
|
|
103 |
create good 0805 footprint
|
|
|
104 |
|
| 126 |
jelle |
105 |
== local settings ==
|
| 95 |
jelle |
106 |
$HOME/.gEDA/gschemrc
|
| 155 |
jelle |
107 |
(component-library "${HOME}/openarm/working/gschem/sym/all")
|
| 92 |
jelle |
108 |
(load (build-path geda-rc-path "gschem-lightbg"))
|
|
|
109 |
(log-window "later")
|
| 126 |
jelle |
110 |
(define default-titleblock "title-bordered-A2.sym")
|
| 92 |
jelle |
111 |
(output-color "enabled")
|
|
|
112 |
(image-color "enabled")
|
| 244 |
jelle |
113 |
(hierarchy-traversal "disabled")
|
| 92 |
jelle |
114 |
|
|
|
115 |
|
| 126 |
jelle |
116 |
== conversions ==
|
| 92 |
jelle |
117 |
5 millimeters = 196.850394 mils
|
|
|
118 |
|
|
|
119 |
|
| 126 |
jelle |
120 |
== documentation ==
|
| 96 |
jelle |
121 |
http://www.geda.seul.org/wiki/geda:master_attributes_list?s=net attribute
|
|
|
122 |
http://www.geda.seul.org/wiki/geda:na_howto
|
| 97 |
jelle |
123 |
firefox /usr/share/doc/geda-doc/wiki/geda_gsch2pcb_tutorial.html
|
| 104 |
jelle |
124 |
firefox /usr/share/doc/geda-doc/wiki/geda_master_attributes_list.html
|
| 113 |
jelle |
125 |
http://www.orcad.com/documents/community.an/pspice/tn20.aspx
|
|
|
126 |
|
| 140 |
jelle |
127 |
|
|
|
128 |
== tragesym ==
|
|
|
129 |
http://www.geda.seul.org/docs/current/tutorials/tragesym/tragesym.html
|
|
|
130 |
http://www.h-renrew.de/h/tragesym/tragesym.html
|
|
|
131 |
http://geda.seul.org/wiki/geda:tragesym_tutorial
|
|
|
132 |
|
|
|
133 |
|
| 113 |
jelle |
134 |
== search files ==
|
|
|
135 |
CONNECTOR 10 2
|
|
|
136 |
HEADER20_2
|
|
|
137 |
find /usr/share/gEDA/sym/ -type f -exec grep -H -n "CONNECTOR" '{}' \;
|
|
|
138 |
find /usr/share/gEDA/sym/ -type f -exec grep -H -n "HEADER" '{}' \;
|
|
|
139 |
|
|
|
140 |
|
|
|
141 |
== example files ==
|
|
|
142 |
thunar /usr/share/doc/geda-examples/
|
| 126 |
jelle |
143 |
|
|
|
144 |
== assembly ==
|
|
|
145 |
http://www.sparkfun.com/commerce/tutorials.php
|
| 220 |
jelle |
146 |
|
|
|
147 |
|
|
|
148 |
== input and output ==
|
|
|
149 |
|
|
|
150 |
can.sch
|
| 244 |
jelle |
151 |
CAN0_nCS (input) x connectors.sch
|
|
|
152 |
CAN0_SO (output) x spi.sch
|
|
|
153 |
CAN0_SI (input) x spi.sch
|
|
|
154 |
CAN0_SCK (input) x spi.sch
|
|
|
155 |
CAN0_nINT (output) x connectors.sch
|
| 220 |
jelle |
156 |
|
|
|
157 |
ethernet.sch
|
| 244 |
jelle |
158 |
ETH0_nRESET (input) x connectors.sch
|
|
|
159 |
ETH0_nCS (input) x connectors.sch
|
|
|
160 |
ETH0_SCK (input) x spi.sch
|
|
|
161 |
ETH0_SI (input) x spi.sch
|
|
|
162 |
ETH0_SO (output) x spi.sch
|
|
|
163 |
ETH0_nINT (output) x connectors.sch
|
| 220 |
jelle |
164 |
|
|
|
165 |
jtag.sch
|
|
|
166 |
nonbuf_nRSTB (output) x
|
|
|
167 |
|
|
|
168 |
oscillators.sch
|
|
|
169 |
RESET_N (input) x
|
|
|
170 |
|
|
|
171 |
usb.sch
|
|
|
172 |
VUSB (output) x
|
|
|
173 |
|
|
|
174 |
power-on-reset.sch
|
|
|
175 |
nonbuf_nRSTB (input) x
|
|
|
176 |
RESET_N (output) x
|
|
|
177 |
|
|
|
178 |
power-supply.sch
|
|
|
179 |
VUSB (input) x
|
| 244 |
jelle |
180 |
|
|
|
181 |
------------------------------------------------------------------------
|
|
|
182 |
|
|
|
183 |
http://www.geda.seul.org/wiki/geda:master_attributes_list
|