FreeCalypso > hg > freecalypso-sw
annotate doc/Freerunner-Howto @ 1019:69d6da9ee188
doc/FC-on-Compal: update for voice calls working with the FR codec
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sat, 23 Apr 2016 05:03:38 +0000 |
parents | 7d3f0910aeb2 |
children | fab048ff04b8 |
rev | line source |
---|---|
864
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 How to play with FreeCalypso GSM firmware on a Neo Freerunner |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 ============================================================= |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 |
998
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
4 We have two entirely different firmware offerings for the Freerunner: |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
5 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
6 1. Leo2moko fw produced back in 2013-10: this is the only one suitable for |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
7 end users. We also have leo2moko-debug which is a slightly hacked-up |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
8 version of leo2moko with some additional debug features for developers; |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
9 this version is for developers only; end users should stick with the |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
10 original leo2moko-r1 aka moko12 from 2013-10. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
11 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
12 2. The work-in-progress full-source gcc-built FC GSM fw can be built for |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
13 multiple targets, and the gtamodem target is one of them - the original |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
14 one, in fact. |
864
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
998
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
16 The flash+SRAM chip which FIC/Openmoko populated in their modems provides |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
17 plenty enough RAM for the firmware's data space requirements, but not enough |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
18 to run a complete firmware code image entirely from RAM, hence whichever fw |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
19 version you would like to exercise, you need to flash it. There are two ways |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
20 to flash modem firmware images in these smartphones: from inside the phone |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
21 (from the application processor) or externally through a special serial cable |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
22 inserted into the analog headset jack. The internal method is intended only |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
23 for end users flashing released production-quality images; developers and |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
24 tinkerers are expected to use the serial cable method. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
25 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
26 The serial cable wiring requirements for the GTA02 are the same as for Mot C1xx |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
27 phones, thus the same cable can be used for both. The FreeCalypso project has |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
28 endorsed UberWaves as our official vendor for serial cables; George at |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
29 UberWaves now makes serial cables that are specifically certified for use with |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
30 FreeCalypso. If you would like to order one, email uberwaves@gmail.com. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
31 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
32 Please see the Firmware_Status write-up for the current status of our full- |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
33 source gcc-built firmware. As you can read there, this fw is currently nowhere |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
34 near being able to replace leo2moko. Therefore, if you are going to flash our |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
35 gcc-built gsm-fw into your FR's modem, we expect that you are using your FR as |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
36 a poor man's substitute for the not-yet-built FCDEV3B (a board we seek to build |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
37 specifically for developers and not for end users), and are NOT expecting this |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
38 experimental work-in-progress modem fw to work together with user-oriented |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
39 application processor software like QtMoko. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
40 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
41 If you would like to play with our experimental gcc-built gsm-fw using a GTA02 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
42 modem as the hw platform, here are the instructions: |
864
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 1. Build the firmware in the gtamodem-gsm configuration - see the Compiling |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 document for more details; |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 2. You should get a flashImage.bin image built; now you need to flash it into |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 your FR's modem. The serial cable method is highly recommended: the only |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 thing you'll be able to do with our current non-working firmware is help us |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 debug it, and the serial cable will be needed for the latter part anyway. |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 3. Run fc-loadtool the same way you would if you were flashing leo2moko; |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 4. The actual flash programming commands are a little different because the |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 image is smaller and in a different format: |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 flash erase 0 0x160000 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 flash program-bin 0 finlink/flashImage.bin |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 The second number in the flash erase command needs to be the size of |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 flashImage.bin rounded up to a multiple of 64 KiB (the flash sector size in the |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 GTA02 modem); 0x160000 is correct for the fw image size as of this writing, but |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 please double-check it yourself before flashing. The 0 argument in the |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 flash program-bin command is the flash offset at which the image should be |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 programmed: it will always be 0 for FreeCalypso flashable fw images for gtamodem |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 and other targets that have the Calypso boot ROM enabled in the hardware. |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 Once you have flashed our experimental fw into your modem, you can power-cycle |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 the modem and see the new fw boot. You should have the serial cable connected, |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 the serial channel enabled from the Freerunner's AP side and either rvtdump or |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 rvinterf running on your PC or other development machine when you first power |
998
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
72 your modem up with the experimental fw in it: this way you will see the debug |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
73 output as the firmware boots up. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
74 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
75 Once the firmware has booted, it needs to be controlled via AT commands. The |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
76 present fw presents its AT command interface on two channels on this target: on |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
77 the MODEM UART going to the Freerunner's application processor and via RVTMUX. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
78 At the present stage of development, we highly recommend that you avoid running |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
79 any GSM-driving software on the AP and exercise our work-in-progress fw solely |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
80 through the external serial interface on the headset jack, using rvinterf and |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
81 fc-shell. The standard AT command interface on the dedicated MODEM UART is a |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
82 feature which we plan to address properly only when we build our planned FCDEV3B |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
83 hardware, which will bring both UARTs out to the external host. |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
84 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
85 Assuming that you already have rvinterf running in a terminal window (you should |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
86 have started it before you gave the modem power-on command from the AP side), |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
87 to exercise our firmware further, you will need to open another terminal window |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
88 on your driving PC/laptop and run fc-shell. This program will connect to the |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
89 already running rvinterf process via a local socket, and it will enable you to |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
90 send various commands to the running fw on the target, the most important ones |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
91 being standard AT commands. Send the following sequence of AT commands to |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
92 bring up GSM functionality: |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
93 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
94 AT%SLEEP=2 -- disable deep sleep (doesn't work yet) |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
95 AT+CMEE=2 -- enable verbose error responses |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
96 AT+CFUN=1 -- enable radio and SIM interfaces |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
97 AT+COPS=0 -- register to the default GSM network |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
98 |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
99 Our fw is currently able to exercise all SIM interface functions (at least the |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
100 obvious ones which I've tested), register with a live commercial GSM network |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
101 using a legitimate SIM, and send and receive SMS using standard GSM 07.05 AT |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
102 commands. Voice calls don't work yet: you can dial a MO call with the ATD |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
103 command and you can place a MT call to the device under test from the network |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
104 side and then answer it with ATA, these calls connect successfully, but the |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
105 voice audio fails to pass through: nothing but noise is heard in the earpiece |
7d3f0910aeb2
doc: Firmware_Status written, Freerunner-Howto & Pirelli-Howto updated
Mychaela Falconia <falcon@ivan.Harhan.ORG>
parents:
864
diff
changeset
|
106 speaker. See the Firmware_Status write-up for more information. |
864
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 To reflash your modem back to stable and working leo2moko aka moko12, execute |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 the following fc-loadtool commands: |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 flash erase 0 0x230000 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 flash program-m0 leo2moko.m0 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 (Whichever firmware image you are flashing, the flash erase command needs to |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 cover the range of flash sectors this image will occupy. You can erase more |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 sectors up to 0x300000, the "natural" boundary of the flash area where fw |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 images live, but I prefer to erase only the needed number of sectors: it is |
4fa939eada22
documentation update: how to compile and flash experimental gsm-fw for gtamodem
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 both faster and imposes less wear on the flash.) |