redkin Телефонист С нами с: 29.08.2003 Плодовитость: 102
Рейтинг
Подано 40 (35/5) голосов
|
FAQ начинающего прошивкокопателя.
|
Теперь клепать патчи будет проще!
Адаптирован для Мессера сликовский патч "Debug AT Commands".
Текст патча - ниже.
Исхоник на ассемблере - http://dredkin.narod.ru/siemens
17.11.03: Теперь передача аргументов РАБОТАЕТ!
30.10.03: Патч доработан. Всем поставившим настоятельно советую обновиться, предварительно откатив старый патч. Старый патч брать там же.
;Firmware: S/ME45i 040315
;Version 4
;Modified: 17.11.03
;
;*** Original patch for SL45 (C) by Chaos & RizaPN *****
; Adaptation for S/ME45i (C) by REDKIN
; Arguments passing (C) dr.ON
;*** Modify AT+CGSN Command to do Debug ***
;*** Advanced debugging with AT+CGSN ***
;It is USELESS patch, UNLESS you want to create patch and need to read
;the RAM area while the phone is ON.
;By applying this patch, it is possible to dump RAM and flash area through
;the serial port (use Hyperterminal like software) using normal AT
;command.
;*** Исправление AT+CGSN комманды для дебага***
;*** Продвинутая версия дебагера ***
;Это бесполезный патч до тех пор, пока вы не захотите создать патч и
;вам потребуется считать RAM включенного аппарата
;Применив данный патч, станет доступным чтения дампа и флеша через
;ком-порт используя АТ комманды (напр. через Терминал)
;CHAOS: I modified debugging patch written by Riza, to add some
;CHAOS: useful things: improved search, write to memory, call procedures.
;REDKIN: I just adopted this patch for S/ME45i. Small modifications are:
; History:
; v.1:
; - lines delimiter changed from CR to CR-LF;
; v.2:
; - get AT arguments through GetATCmdLine. (C) SiNGle
; - patch moved to avoid conflicts with slged by Skylord
; v.3:
; - added arguments passing to called procedure (C) dr.ON
; v.4:
; - Arguments passing now works! Thnx to all who mentioned the bug.
0004422C: B2D5ED00 BEC58700
0007C528: FFFFFFFFFFFFFFFF E004BB079DFECB00
0007C530: FFFFFFFFFFFFFFFFFFFF E004BB038D01BB01CB00
0007C53A: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF D7401100DC45992C27F230008D0C47F2
0007C54A: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0A008D0667F2DF00292747F20F00ED03
0007C55A: FFFFFFFFFFFFFFFFFFFF 5C447182CB001F88CB00
0007C564: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 885088E088F088C0E00C88C088D0F182
0007C574: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 7C44F19266F40F0F47F90A008D010997
0007C584: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 47F80A008D01098706F430308840F0C0
0007C594: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 66FCFF3FF2FD02FEDAEF9024080698C0
0007C5A4: FFFFFFFFFFFFFFFF 98F098E09850CB00
0007C5AC: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F01E7C81E00DBBD8F01EE6FD2000BBD4
0007C5BC: FFFF CB00
0007C5BE: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF DAEFAC00F0C4DC45993C27F32A009D02
0007C5CE: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF FAEDB2D5BBAAF0F4BBA8F0E449302D51
0007C5DE: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 29342D5627F312002D12E6FD0D0ABBBB
0007C5EE: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E17BE1FAE6FD2000DC4F992EBBB4E6FD
0007C5FE: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0D0A29A12DF99DF629B19DF30D5C88E0
0007C60E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 88F0E00F88F088F088F088F0BB8A8D23
0007C61E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E4800700BB868D1FE4800600BB828D1B
0007C62E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E4800500CA0030C58D16E4800400CA00
0007C63E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 30C58D11E4800300CA0030C58D0CE480
0007C64E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0200CA0030C58D07E4800100CA0030C5
0007C65E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 8D02E480000098F098E098D098C09850
0007C66E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 9840DA87C8C688F0F0E4BB9998E0BB97
0007C67E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0D22CA0030C58D1FDC4FB98E08E10DF9
0007C68E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 26F04000F020CA0030C58D03B9820821
0007C69E: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 0DFA2020A758A7A708E12D0BF010F0DE
0007C6AE: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F0C2DC4F998D498D3DF528C13DFACA00
0007C6BE: FFFFFFFFFFFFFFFFFFFF ACC506F04000FAEEB6F3
0007C6C8: FFFFFFFFFFFF ECF5ECF4DB00
;Commands are:
;AT+CGSN
;Display IMEI, as usual
;AT+CGSN:рage,offset
;Dump 128 bytes of memory starting at address page:offset
;AT+CGSN.page,offset,data
;Search data on the given page, starting from offset. Data is a
;hexadecimal string without spaces. Offset is in range 0...3FFF.
;AT+CGSN*page,offset,data
;Write data to memory (RAM) at address page:offset. Data is a hexadecimal
;string without spaces.
;[email protected],offset,XXXXYYYYAAAABBBB
;XXXX - value r12 in HEX
;YYYY - value r13 in HEX
;AAAA - value r14 in HEX
;BBBB - value r15 in HEX
;if not set, default value 0!!!!!
;Inter-segment call to address seg:offset. On return, values of r14 and r15
;will be displayed. Note that seg is the segment, not the page (eg. if you
;wrote procedure to 11:500, call it at 4:4500). Procedure should end with
;far return. If the procdure consumes much time, make sure to insert
;srvwdt instruction in its loop.
; WARNING!!!
; This patch is not much tested yet, use with care!
; Этот патч пока сильно не нетестирован! Использовать с осторожностью!
|
____________________________
Клепать пачти стало проще! http://dredkin.narod.ru/siemens |
|