Дебаг работает только в режиме просмотра. Есть принудительный режим который автоматически включается на приём данных с LPT порта, но толку нет.
И через USB и через LPT прошивка записывается в память аппарата, но после принудительной перезагрузки модель аппарата остаётся прежней.
Буду искать дампы флешек
Лог дебага, если кому нибудь интересно:
ROOT : Swallow GDI Model Code start....!!!!!!
Engine Power On Initial ... *^^*
Intrptr install: id=16, entry=0x4d6e0, zs=0xc028000, ze=0xc0295ac, ver=QPDL 1.17 08-25-2004
ROOT : DetermineModel----------------------
ROOT : Kernel Version 4.49 10-07-2004
ROOT : nvr_ModelFlag 0x83
ROOT : nvr_ModelNvr 0x83
ROOT : nvr_DefPaperNvr 0x0
ROOT : nvr_DefPaperFlag 0x0
ROOT : ISMODEL_04 8 SPEED 16PPM model
ENG : engVarInit -> LAMP type8 SPEED 16PPM model
ENG : engVarInit -> LAMP typeEL_06 0x0
ROOT : ISMODEL_08 0x1
ROOT : ISMODEL_09 0x0
ROOT : ISCOUNTRY_A 0x0
ROOT : ISCOUNTRY_B 0x0
ROOT : ISCOUNTRY_C 0x1
ROOT : ISCOUNTRY_D 0x0
ROOT : ISCOUNTRY_E 0x0
ROOT : ------------------------------------
ENG : engVarInit -> ISMODEL_0 engine model
ENG : engVarInit -> default country COMMON
ENG : engVarInit -> ISMODEL heating error fan off
ENG : Engine Version 2.2.5
Total Received Cnt : 523833 - 0x7fe39 bytes
flash_RamCopy()
src_addr-0x2000, dest_addr-0xc040000, size-0x6000
finish copy image to the RAM
===> Now program restarted on the RAM
[FLASH.ANY]ROOT : root -> sio_Init
======================================
= Flash ROM Write Program =
======================================
Verify Image on 0x0C100000
{
SIGNATURE($IMG) detected
flash_CheckSum
{
check sum start address : 0C10000C, end address : 0C18000C11
count : 0x00080000 bytes
base_addr : 0x00000000
image_s11
count : 0x00080000 bytes
base_addr : 0x00000000
image_sSource Checksum is valid
Download Image from PC
{
[[[[[ Flash Writing : BASE : 0x00000000]]]]]
flash_GetSector(addr 0x00000000) - 0
flash_GetSector(addr 0x00080000) - 11
start_addr : 0x00000000 - start_sector : 0
end_addr : 0x00080000 - end_sector : tart_addr : 0x0C10000C
flash_EraseSectors(base-0x00000000,start-0,end-11)
{
sector0-1th sector : addr - 0x00000003,data - 0x00000000 -> end erase
sector1-2th sector : addr - 0x00004003,data - 0x00000000 -> end erase
sector2-3th sector : addr - 0x00006003,data - 0x00000001 -> end erase
sector3-4th sector : addr - 0x00008003,data - 0x00000000 -> end erase
sector4-5th sector : addr - 0x00010003,data - 0x00000030 -> end erase
sector5-6th sector : addr - 0x00020003,data - 0x00000004 -> end erase
sector6-7th sector : addr - 0x00030003,data - 0x00000030 -> end erase
sector7-8th sector : addr - 0x00040003,data - 0x00000004 -> end erase
sector8-9th sector : addr - 0x00050003,data - 0x000000F7 -> end erase
sector9-10th sector : addr - 0x00060003,data - 0x00000000 -> end erase
sector10-11th sector : addr - 0x00070003,data - 0x00000000 -> end erase
} /* Erase End */
flash_Program()
{
program start address : 0x00000000
program end address : 0x00080000
image source address : 0x0C10000C
image_count : 0x00080000 bytes
0x00010000 bytes programmed
0x00020000 bytes programmed
0x00030000 bytes programmed
0x00040000 bytes programmed
0x00050000 bytes programmed
0x00060000 bytes programmed
0x00070000 bytes programmed
0x00080000 bytes programmed
0x00080000 bytes programmed
} /* Program End */
flash_CheckSum
{
check sum start address : 00000000, end address : 00080000
check sum : 0000A5A5 - END : 00080000
} /* Checksum End
=> Flash ROM check sum is valid<0>