Hi,

Ok I have tried this. I get a fast image download, but I have slow debugging as 
the clock seems to get reset back to 10khz again ..
(The JTAG clock gets limited to 6Mhz by the Turlelizer2 hardware ..)

This is the dump from gdb output ..

------------------------------------------
target remote localhost:3333
0x00000000 in g_pfnVectors ()
mon reset init
10 kHz
JTAG tap: lpc1766.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, 
ver: 0x4)
target state: halted
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x1fff0080 msp: 0x10001ffc
6000 kHz
load
Loading section .text, size 0x8383 lma 0x0
Loading section .data, size 0x211 lma 0x8383
Start address 0xcc, load size 34196
Transfer rate: 7 KB/sec, 8549 bytes/write.
mon reset halt
10 kHz
JTAG tap: lpc1766.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, 
ver: 0x4)
target state: halted
target halted due to debug-request, current mode: Thread 
xPSR: 0x01000000 pc: 0x1fff0080 msp: 0x10001ffc
thb main
Hardware assisted breakpoint 1 at 0x29ae: file main.c, line 79.
---------------------------------------------

Shouldn't the clock stay at the high rate?

Thanks,
Bernie
 


------------------------------------------------------------------------------------------
Hiding the Truth with "Political Correctness" is the same as Lying ... BRM

-----Original Message-----
From: Øyvind Harboe [mailto:[email protected]] 
Sent: Wednesday, 13 October 2010 10:41 a.m.
To: Bernard Mentink
Cc: Jörg Fischer; [email protected]
Subject: Re: [Openocd-development] Problem getting reliable "reset init" on 
LPC1766 target.

> Is there any way to download the imake at 500khz, then switch to 10khz 
>for the debugging .... With the currect reset sequence I am using?

Look at board/mcb1700.cfg

Debugging is probably stable at higher clock rates once the PLL is running.

--
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00 
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to