FreeCalypso > hg > freecalypso-tools
annotate doc/Host-tools-overview @ 408:f0e6dd5971f2
CHANGES: fcup-* minor fixes documented
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Aug 2018 22:36:26 +0000 |
parents | 8027cc12f96a |
children | a28c46e5a6ce |
rev | line source |
---|---|
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
1 FreeCalypso host tools suite includes a large number of different tools, many |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
2 of which are quite specialized and rarely needed. The following tools are the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
3 most essential ones: |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 fc-loadtool This is the tool used to read and write the non-volatile flash |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 memory of supported GSM devices. It can be used to reflash |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 these devices with new firmware (whether pre-existing or new |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 firmwares developed within our project), and to save and restore |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 flash backups. This tool operates on the target device (phone |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 or modem) while its regular firmware is shut down. |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
12 fc-iram, Reprogramming the non-volatile flash memory is not the only way |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
13 fc-xram, to run your own code on a Calypso GSM device. If your code is |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
14 fc-compalram small enough to fit entirely into the available RAM on the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
15 device, and you would like to just run it without flashing it |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
16 permanently, these tools do the job of loading code images into |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
17 different kinds of RAM through different download protocols. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
18 Some phones have large enough RAM to allow a complete functional |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
19 firmware image to be run via fc-xram without flashing. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
20 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
21 rvinterf This program is our engine for communicating with up & running |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
22 TI-based firmwares through the RVTMUX binary packet interface. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
23 It receives and decodes all debug trace and other packets |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
24 emitted by the target fw, and allows the options of printing |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
25 them on the terminal, saving them to a log file, and/or passing |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
26 them to other programs that connect to rvinterf as local socket |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
27 clients. In the other direction those latter client programs |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
28 can send arbitrary command packets to the target fw. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
29 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
30 fc-fsio Going through rvinterf, this tool connects to GSM devices |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
31 running one of the supported firmware versions while the fw is |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
32 running (unlike fc-loadtool which operates on a device while |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
33 its regular fw is shut down) and allows you to manipulate |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
34 (read and write) the device's flash file system. It is thus a |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
35 higher-level tool than fc-loadtool. It is intended primarily |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
36 for working with our own firmwares, but it also works with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
37 Pirelli's original fw. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 fc-shell FreeCalypso firmwares have a feature of our own invention (not |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 present in any pre-existing ones) to accept AT commands over |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 the RVTMUX interface. It is useful when no second UART is |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 available for a dedicated standard AT command interface. |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 fc-shell is the tool that allows you to send AT commands to the |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 firmware in this manner; it also allows a few other kinds of |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
45 asynchronous commands to be sent. It works through rvinterf. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
47 And here is a listing of all other tools in mostly-alphabetical order: |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
49 c139explore This is a run-from-RAM (no flashing) program for Mot C139/140 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
50 phones that exercises their peripheral hardware: LCD, keypad |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
51 backlight, buzzer and vibrator. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
300
0cfb2e3aeda4
started documenting c1xx-calextr
Mychaela Falconia <falcon@freecalypso.org>
parents:
244
diff
changeset
|
53 c1xx-calextr This utility extracts the factory RF calibration values for |
0cfb2e3aeda4
started documenting c1xx-calextr
Mychaela Falconia <falcon@freecalypso.org>
parents:
244
diff
changeset
|
54 Mot C1xx phones from the records contained in a special sector |
0cfb2e3aeda4
started documenting c1xx-calextr
Mychaela Falconia <falcon@freecalypso.org>
parents:
244
diff
changeset
|
55 of their flash and converts them to FreeCalypso format, to be |
0cfb2e3aeda4
started documenting c1xx-calextr
Mychaela Falconia <falcon@freecalypso.org>
parents:
244
diff
changeset
|
56 used when running our own firmware on these phones. See the |
0cfb2e3aeda4
started documenting c1xx-calextr
Mychaela Falconia <falcon@freecalypso.org>
parents:
244
diff
changeset
|
57 Compal-calibration article for more details. |
0cfb2e3aeda4
started documenting c1xx-calextr
Mychaela Falconia <falcon@freecalypso.org>
parents:
244
diff
changeset
|
58 |
391
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
59 compile-fc-batt This utility compiles a table of battery thresholds for the new |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
60 FreeCalypso battery management code from ASCII source into the |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
61 binary form suitable for uploading into /etc/batterytab on a |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
62 FreeCalypso device. It is rarely used directly, instead |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
63 fc-fsio write-battery-table command invokes compile-fc-batt |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
64 behind the scenes. |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
65 |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
66 compile-fc-chg This utility compiles a FreeCalypso battery charging |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
67 configuration file from ASCII source into the binary form |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
68 suitable for uploading into /etc/charging on a FreeCalypso |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
69 device. It is rarely used directly, instead fc-fsio |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
70 write-charging-config command invokes compile-fc-chg behind the |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
71 scenes. |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
72 |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 ctracedec GSM firmwares built in TI's Windows environment (official ones |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 as well as our own hacks based on the TCS211 semi-src) have a |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 "compressed trace" misfeature whereby many of the ASCII strings |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 in debug trace messages get replaced with numeric indices at |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 build time, and these numeric indices are all that gets emitted |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 on the RVTMUX serial channel. This numeric trace output can be |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 turned back into ASCII strings if you have the str2ind.tab file |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 corresponding to the fw version that emitted the output in |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 question; this ctracedec utility performs that decoding. |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
83 fc-buzplay This program plays piezoelectic buzzer melodies on an actual |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
84 Calypso device equipped with such a buzzer (Mot C1xx, TI's |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
85 D-Sample board, our planned future HSMBP) by loading a buzplayer |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
86 agent onto the target and feeding melodies to be played to it. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
87 |
308
6a254cc6a7f3
doc/Host-tools-overview: fc-cal2bin documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
300
diff
changeset
|
88 fc-cal2bin This utility takes an RF table in FreeCalypso ASCII format and |
6a254cc6a7f3
doc/Host-tools-overview: fc-cal2bin documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
300
diff
changeset
|
89 converts it to the firmware's native binary format. See the |
6a254cc6a7f3
doc/Host-tools-overview: fc-cal2bin documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
300
diff
changeset
|
90 RF_tables article for more details. |
6a254cc6a7f3
doc/Host-tools-overview: fc-cal2bin documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
300
diff
changeset
|
91 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
92 fc-cal2text This utility takes a dump of TI's /gsm/rf flash file system |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
93 directory subtree as input (either extracted in vitro with tiffs |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
94 or read out in vivo with fc-fsio) and converts all RF tables |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
95 found therein into a readable ASCII format. See the RF_tables |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
96 article for more details. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
97 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
98 fc-dspapidump This utility uses ETM in synchronous mode (going through |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
99 rvinterf) to read and dump the contents of the DSP API RAM in a |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
100 target Calypso GSM device while the firmware is running. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
102 fc-e1decode This utility decodes a melody in TI's Melody E1 format from the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
103 the native binary format to our own ASCII-based representation; |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
104 see the Melody_E1 article for more information. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
105 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
106 fc-e1gen This utility compiles an E1 melody from our own ASCII source |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
107 format into binary bits to be loaded into a FreeCalypso phone; |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
108 see the Melody_E1 article for more information. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
110 fc-fr2tch This hack-utility converts a GSM 06.10 speech sample from the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
111 de facto standard libgsm format (which can be recorded with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
112 standard tools like SoX) into an uplink play file that can be |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
113 played with the tch play command in fc-shell; see the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
114 TCH-bit-access article for more information. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
116 fc-gsm2vm This utility converts a GSM 06.10 speech sample from the same |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
117 libgsm source format into a voice memo file that can be |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
118 uploaded into the FFS of a FreeCalypso device and played with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
119 the audio_vm_play_start() API or the AT@VMP command that |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
120 invokes the latter. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 |
395
8027cc12f96a
doc/Host-tools-overview: update for the move-out of fc-lcdemu
Mychaela Falconia <falcon@freecalypso.org>
parents:
391
diff
changeset
|
122 fc-lcdemu Moved to freecalypso-ui-dev repository; look there for more |
8027cc12f96a
doc/Host-tools-overview: update for the move-out of fc-lcdemu
Mychaela Falconia <falcon@freecalypso.org>
parents:
391
diff
changeset
|
123 info. |
8027cc12f96a
doc/Host-tools-overview: update for the move-out of fc-lcdemu
Mychaela Falconia <falcon@freecalypso.org>
parents:
391
diff
changeset
|
124 |
8027cc12f96a
doc/Host-tools-overview: update for the move-out of fc-lcdemu
Mychaela Falconia <falcon@freecalypso.org>
parents:
391
diff
changeset
|
125 fc-lcdpoll New companion utility to fc-lcdemu; look in freecalypso-ui-dev |
8027cc12f96a
doc/Host-tools-overview: update for the move-out of fc-lcdemu
Mychaela Falconia <falcon@freecalypso.org>
parents:
391
diff
changeset
|
126 for more info. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
128 fc-memdump This tool captures a memory dump from a GSM device whose |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
129 firmware implements one of TI's Test Mode memory read commands, |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
130 either the old TM3 version or the new ETM one. It works with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
131 FreeCalypso Citrine, with TCS211-based firmwares including |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
132 FreeCalypso Magnetite, with really old TI firmwares which |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
133 predate ETM, and with Mot C1xx original firmwares. It works |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
134 through rvinterf. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
135 |
310
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
136 fc-readcal This program attempts to read a bunch of RF calibration tables |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
137 out of a running firmware through Test Mode commands: first |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
138 tms 1, then rfpw 7 for each band, then rftr and ttr commands to |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
139 read various tables. The primary intended purpose is extracting |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
140 RF calibration or static configuration data from alien |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
141 firmwares. Please beware that the tms 1 and rfpw 7 commands |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
142 sent by this tool are highly disruptive to normal GSM operation. |
c31a9cbf6ee2
doc/Host-tools-overview: fc-readcal documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
308
diff
changeset
|
143 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
144 fc-rgbconv A simple aid for phone UI development that converts RGB color |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
145 values between human-intuitive 8:8:8 format and the 5:6:5 format |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
146 used by the color LCDs in the phones targeted by FreeCalypso. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
147 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
148 fc-serterm This tool is a trivial serial terminal program. Its special |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
149 feature is that any output coming from the serial port that |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
150 isn't printable ASCII is displayed as by cat -v. It is useful |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
151 for talking to serially-interfaced devices that mix ASCII with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
152 binary in their serial talk. |
23
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
153 |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
154 fc-tch2fr This hack-utility takes a TCH downlink recording produced with |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
155 the tch record command in fc-shell and converts it to a playable |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
156 libgsm file which will most likely contain some garbage by |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
157 disregarding the non-understood DSP status words; see the |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
158 TCH-bit-access article for more information. |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
159 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
160 fc-tmsh TI-based GSM firmwares provide a rich set of Test Mode commands |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
161 that can be issued through the RVTMUX (debug trace) serial |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
162 channel, used for L1/RF test functions, production line RF |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
163 calibration, FFS (flash file system) access, audio configuration |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
164 and other miscellany. fc-tmsh is our test mode shell for |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
165 sending these Test Mode commands to targets and displaying |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
166 decoded target responses; it works through rvinterf. fc-tmsh |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
167 supports all Test Mode commands (both TM3 and ETM) implemented |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
168 in our target firmwares except FFS access; use fc-fsio for the |
311
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
169 latter. fc-tmsh is fully asynchronous in that the issuance of |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
170 commands to the target and the handling of target responses are |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
171 fully decoupled. |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
172 |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
173 fc-tmsync This program reimplements a small subset of fc-tmsh commands in |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
174 a synchronous manner; it was written together with fc-readcal |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
175 for the same purpose of extracting "in vivo" data from alien |
b84bc65e7f86
doc/Host-tools-overview: fc-tmsync documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
310
diff
changeset
|
176 firmwares. |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
177 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
178 fc-vm2hex This utility converts the old-fashioned (non-AMR) voice memo |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
179 files read out of FFS into hex strings that can be analyzed by |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
180 a human or further fed to fc-tch2fr. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
181 |
391
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
182 fcup-* FreeCalypso User Phone Tools; see the User-phone-tools article. |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
183 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
184 imei-luhn A simple utility for computing or verifying the Luhn check |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
185 digit of an IMEI number. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
186 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
187 pirexplore This is a run-from-RAM (no flashing) program for Pirelli DP-L10 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
188 phones that exercises their peripheral hardware, primarily their |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
189 LCD. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
190 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
191 rvtdump This tool produces a human-readable dump of all output emitted |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
192 by a TI-based GSM fw on the RVTMUX binary packet interface. It |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
193 can also log this dump to a file. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
194 |
391
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
195 sms-pdu-decode This utility is part of FC User Phone Tools; see the |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
196 User-phone-tools article. |
53b474e7e590
doc/Host-tools-overview: documented new additions
Mychaela Falconia <falcon@freecalypso.org>
parents:
311
diff
changeset
|
197 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
198 tfc139 This tool breaks into Mot C1xx phones via shellcode injection, |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
199 a method that works despite any bootloader locks, allowing you |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
200 to reflash locked phones with new firmware with fc-loadtool. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
201 The name of the utility is historical: previously it was |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
202 specific to TFC139 phones (C139s sold with TracFone branding), |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
203 but the current version is expected to work with all Mot C1xx |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
204 firmware versions. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
205 |
244
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
206 tiaud-compile This utility compiles an audio mode configuration table for TI's |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
207 Audio Service from our own ASCII source format into the binary |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
208 format for uploading into FreeCalypso GSM device FFS with |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
209 fc-fsio. |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
210 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
211 tiaud-decomp This utility decodes TI's audio mode configuration files read |
244
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
212 out of FFS into our own ASCII format. It is the reverse of the |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
213 operation performed by tiaud-compile. |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
214 |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
215 tiaud-mkvol This utility is a companion to tiaud-compile that generates the |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
216 *.vol binary files which need to accompany the main *.cfg ones. |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
217 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
218 tiffs, These tools perform "in vitro" analysis of flash file system |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
219 mokoffs, (FFS) images read out of GSM devices with TI-based firmwares. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
220 pirffs You can list and extract the FFS content captured as a raw |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
221 flash image, and even perform a few "forensic" operations along |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
222 the lines of reading deleted files and seeing the history of |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
223 FFS modifications. tiffs is the main program, whereas mokoffs |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
224 and pirffs are convenience wrappers for the common FFS |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
225 configurations from Openmoko and Pirelli. |