Napsal: 15 bře 2013, 23:05
Tak krokovanie funguje. Najprv mi to skakalo to tej prazdnej flash, ale potom sa to nejako (?!) umudrilo a ked som dal potom "resume 0x2600000", tak sa rozblikala LEDka! Uploadol som firmware, zastavil a spustil od 0x26008f0 - flashovanie prebehlo OK! (Teda robil som to dvakrat - prvykrat som uploadol nespravny subor).
Tlaciaren zije
Velke podakovanie pre Andreu za vydatnu pomoc
Tlaciaren zije
Velke podakovanie pre Andreu za vydatnu pomoc
Kód: Vybrat vše
> resume 0x2600000
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x60000093 pc: 0x00000028
> mdw 0x2600000
0x02600000: eb000000
> step 0x2600000
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x02600008
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x0260000c
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x02600010
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x02600014
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x02600018
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x0260002c
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x02600030
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x02600034
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x80000093 pc: 0x02600038
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x80000093 pc: 0x0260003c
> resume
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x60000093 pc: 0x000006dc
> step
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x000006e0
> resume 0x26008f0
> step
target not halted
in procedure 'step'
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x60000093 pc: 0x00000988
> step 0x26008f0
target state: halted
target halted in ARM state due to single-step, current mode: Supervisor
cpsr: 0x60000093 pc: 0x026007b4
> step
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x60000097 pc: 0x00000010
> step 0x26008f0
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x60000097 pc: 0x026007b4
> step
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x60000097 pc: 0x026007b8
> step
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x60000097 pc: 0x026007bc
................
> step
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x60000097 pc: 0x02609544
> step
target state: halted
target halted in ARM state due to single-step, current mode: Abort
cpsr: 0x60000097 pc: 0x0260951c
> resume
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x60000097 pc: 0x02602180
> resume
> resume 0x2600000
target not halted
in procedure 'resume'
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x60000097 pc: 0x026008ec
> resume 0x2600000
> halt
target state: halted
target halted in ARM state due to debug-request, current mode: Abort
cpsr: 0x60000097 pc: 0x026008ec
> resume 0x26008f0Kód: Vybrat vše
======================
Start flash_writer
======================
[Iflash]=== Iflash_HWProtection ===
verify_Image : 0x02700000
i_header->pul_start_addr : 0xE59FF060
i_header->ul_count : 0xE59FF060
temp_buf : ���`
SIG : $IMG
Download Image from PC
{
Download destination Address : 0x02700000
Please send data via usb (ISP1582)!!!
USB Chip Device ID= 0000001500008230
Image includes PJL(0000001B) -> Waste 45 bytes
[[524300 Bytes received]] - Complete Downloading
Download end
0x0008000C bytes Received
}/*Download End*/
verify_Image : 0x02700000
i_header->pul_start_addr : 0x00000000
i_header->ul_count : 0x00080000
temp_buf : $IMG
SIG : $IMG
IFlashCheckSum START!!!
start addr(0x0270000C) - end addr(0x0278000C)
checksum(0x0000A5A5) - end addr(0x0278000C)
IFlashCheckSum return TRUE END!!!
Source Checksum is valid
Found new kernel(0x0271C00C)!!!!
[[[FFFFFFF8]]], [[[000F69A4]]]
Image is invalid
Reset and Download Again
[[[[[ Internal Flash Writing : BASE : 0x00000000]]]]]
start_addr 0x00000000, end_addr = 0x00080000
stat_sector 0x00000000, end_sector 0x00000200
image_start_addr = 0x0270000C
IFlashMemChipErase START!!!
IFlashMemChipErase return TRUE END!!!
IFlashMemProgram START!!!
src addr(0x0270000C)
dest start addr(0x00000000) - dest end addr(0x00080000)
addr(0x00000000) - value(0xE59FF060)
addr(0x00010000) - value(0xDA000000)
addr(0x00020000) - value(0x89C4B870)
addr(0x00030000) - value(0xD40485FB)
addr(0x00040000) - value(0xDC479765)
addr(0x00050000) - value(0x209B248C)
addr(0x00060000) - value(0xE5981000)
addr(0x00070000) - value(0xA2972DE3)
addr(0x0007FFFC) - value(0xFFFF0AA3)
IFlashMemProgram return TRUE END!!!
[Iflash]=== Iflash_HWProtection ===
==============================
Firmware Download completed!!!
Reset printer
==============================
[HWIC]
1PLL
2IOC
3SDRAM
4GPIO
5AHB
[END][Y]
Decompression ***********
-->>>> GO Kernel
jump_ExecCode() : ul_addr - 0x02008000
/***************************/
/* PBA Test Mode */
/***************************/
InitializeWDT
[0x207CCD8]