Hi Jorg,

Thanks but after following Øyvind's advice and setting up the PLL , I can now 
run at the maximum speed of my jtag adapter (6Mhz) ..

Cheers,
Bernie 


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

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jörg Fischer
Sent: Wednesday, 13 October 2010 2:30 p.m.
To: [email protected]
Subject: Re: [Openocd-development] Problem getting reliable "reset init" on 
LPC1766 target.

Hi,
Am 12.10.2010 23:36, schrieb Bernard Mentink:
> Yes, you are correct, I was looking at an old script that had it set to 
> 500khz.

This work for me _reliable_ on a custom lpc1768 board:

adapter_khz 500

#delays on reset lines
adapter_nsrst_delay 30
adapter_nsrst_assert_width 100

jtag_ntrst_delay 2
jtag_ntrst_assert_width 100

reset_config srst_only separate

Then, on the other hand I do not mess witch the slow RTCLK any more, that 
required me to go as low as 5 kHz!


> I can put up with 10khz for debugging, but loading the image is too slow at 
> that speed. I can download the image at 500 khz ok.
> 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?
> 
> i.e
> target remote localhost:3333
>  mon reset init
>  load
mon adapter_khz 10
>  mon reset halt
>  thb main


-- J. Fischer


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to