Dear Segger,
i have the following problem. I try to download and debug my code in LPC2939 and it does not seem to work. Here is my log:
;--------------- start of log --------------------------------------------
Connected to 127.0.0.1
WARNING: Unknown packet received: "qAttached"
Reading all registers
Read 4 bytes @ address 0x20000044 (Data = 0xEAFFFFFE)
Read 4 bytes @ address 0x20000110 (Data = 0x34820004)
Read 4 bytes @ address 0x20000108 (Data = 0xE8BD4000)
Read 4 bytes @ address 0x20000110 (Data = 0x34820004)
Read 4 bytes @ address 0x20000108 (Data = 0xE8BD4000)
Resetting target
Select flash device: LPC2919
CPU clock frequency set to 16000000 Hz
Flash download enabled
Flash breakpoints enabled
Target endianess set to "little endian"
JTAG speed set to 8000 kHz
Writing 0x20000000 @ address 0xE0001C00
Reading from address 0xE0000000 (Data = 0x209CE02B)
Reading from address 0xE0000100 (Data = 0xFFFFFFF4)
Reading from address 0xE0000104 (Data = 0xE5E5FF3F)
Reading from address 0xE0000108 (Data = 0xDF0BFF08)
Reading from address 0xE000010C (Data = 0xFFFFFCF8)
Resetting target (ADI soft reset)
Sleep 500ms
Read 4 bytes @ address 0x20004154 (Data = 0xE1A00000)
Downloading 4080 bytes @ address 0x20000000 - Verified OK
Downloading 4096 bytes @ address 0x20000FF0 - Verified OK
Downloading 4096 bytes @ address 0x20001FF0 - Verified OK
Downloading 4096 bytes @ address 0x20002FF0 - Verified OK
Downloading 4080 bytes @ address 0x20003FF0 - Verified OK
Downloading 4096 bytes @ address 0x20004FE0 - Verified OK
Downloading 4064 bytes @ address 0x20005FE0 - Verified OK
Downloading 4096 bytes @ address 0x20006FC0 - Verified OK
Downloading 4096 bytes @ address 0x20007FC0 - Verified OK
Downloading 4096 bytes @ address 0x20008FC0 - Verified OK
Downloading 4080 bytes @ address 0x20009FC0 - Verified OK
Downloading 4096 bytes @ address 0x2000AFB0 - Verified OK
Downloading 4096 bytes @ address 0x2000BFB0 - Verified OK
Downloading 4096 bytes @ address 0x2000CFB0 - Verified OK
Downloading 1696 bytes @ address 0x2000DFB0 - Verified OK
Downloading 4004 bytes @ address 0x2000E650 - Verified OK
Downloading 100 bytes @ address 0x2000F5F4 - Verified OK
Writing register (PC = 0x20000000)
ERROR: Programming failed @ address 0x20000000 (block verification error)
Connection to debugger closed !
J-Link connected
Firmware: J-Link ARM V7 compiled Jun 30 2009 11:05:27
Hardware: V7.00
S/N: 57000554
Feature(s): FlashBP, FlashDL, GDB
J-Link found 2 JTAG devices, Total IRLen = 8
JTAG ID: 0x0596802B (ARM9)
;--------------- end of log --------------------------------------------
Could you help me, what can be wrong?
i have the following problem. I try to download and debug my code in LPC2939 and it does not seem to work. Here is my log:
;--------------- start of log --------------------------------------------
Connected to 127.0.0.1
WARNING: Unknown packet received: "qAttached"
Reading all registers
Read 4 bytes @ address 0x20000044 (Data = 0xEAFFFFFE)
Read 4 bytes @ address 0x20000110 (Data = 0x34820004)
Read 4 bytes @ address 0x20000108 (Data = 0xE8BD4000)
Read 4 bytes @ address 0x20000110 (Data = 0x34820004)
Read 4 bytes @ address 0x20000108 (Data = 0xE8BD4000)
Resetting target
Select flash device: LPC2919
CPU clock frequency set to 16000000 Hz
Flash download enabled
Flash breakpoints enabled
Target endianess set to "little endian"
JTAG speed set to 8000 kHz
Writing 0x20000000 @ address 0xE0001C00
Reading from address 0xE0000000 (Data = 0x209CE02B)
Reading from address 0xE0000100 (Data = 0xFFFFFFF4)
Reading from address 0xE0000104 (Data = 0xE5E5FF3F)
Reading from address 0xE0000108 (Data = 0xDF0BFF08)
Reading from address 0xE000010C (Data = 0xFFFFFCF8)
Resetting target (ADI soft reset)
Sleep 500ms
Read 4 bytes @ address 0x20004154 (Data = 0xE1A00000)
Downloading 4080 bytes @ address 0x20000000 - Verified OK
Downloading 4096 bytes @ address 0x20000FF0 - Verified OK
Downloading 4096 bytes @ address 0x20001FF0 - Verified OK
Downloading 4096 bytes @ address 0x20002FF0 - Verified OK
Downloading 4080 bytes @ address 0x20003FF0 - Verified OK
Downloading 4096 bytes @ address 0x20004FE0 - Verified OK
Downloading 4064 bytes @ address 0x20005FE0 - Verified OK
Downloading 4096 bytes @ address 0x20006FC0 - Verified OK
Downloading 4096 bytes @ address 0x20007FC0 - Verified OK
Downloading 4096 bytes @ address 0x20008FC0 - Verified OK
Downloading 4080 bytes @ address 0x20009FC0 - Verified OK
Downloading 4096 bytes @ address 0x2000AFB0 - Verified OK
Downloading 4096 bytes @ address 0x2000BFB0 - Verified OK
Downloading 4096 bytes @ address 0x2000CFB0 - Verified OK
Downloading 1696 bytes @ address 0x2000DFB0 - Verified OK
Downloading 4004 bytes @ address 0x2000E650 - Verified OK
Downloading 100 bytes @ address 0x2000F5F4 - Verified OK
Writing register (PC = 0x20000000)
ERROR: Programming failed @ address 0x20000000 (block verification error)
Connection to debugger closed !
J-Link connected
Firmware: J-Link ARM V7 compiled Jun 30 2009 11:05:27
Hardware: V7.00
S/N: 57000554
Feature(s): FlashBP, FlashDL, GDB
J-Link found 2 JTAG devices, Total IRLen = 8
JTAG ID: 0x0596802B (ARM9)
;--------------- end of log --------------------------------------------
Could you help me, what can be wrong?