David,

Here is the openjtag configuration file that is included in the patch:

interface openjtag
adapter_khz 6000
openjtag_device_desc "Open JTAG Project"

The available speeds are listed in the Open JTAG protocol manual.

Thanks,
Ryan Corbin

Date: Wed, 15 May 2013 23:41:54 -0400
> From: David Relson <[email protected]>
> Subject: Re: [OpenOCD-devel] [PATCH]: e2492ac Added OpenJTAG Driver
> To: [email protected]
> Message-ID: <20130515234154.3cf50446@osage>
> Content-Type: text/plain; charset=UTF-8
>
> G'day,
>
> Thanks for the patch.  I spent some time last weekend working with
> openocd-0.7.0 and openjtag.c to create my own patch.  The two results
> are virtually identical.
>
> I'm new to both openocd and openjtag and cobbled together the following
> config file to work with a borrowed at91sam7s-ek:
>
>   #daemon configuration
>   telnet_port 4444
>   gdb_port 3333
>
>   #interface
>   interface ft2232
>   ft2232_device_desc "USB<=>JTAG&RS232"
>   ft2232_layout jtagkey
>   ft2232_vid_pid 0x1457 0x5118
>
>   set CHIPNAME at91sam7s
>
>   source [find target/at91sam7sx.cfg]
>
>
> running command "openocd -f openocd_openjtag_at91sam7s.cfg"
>
>   Open On-Chip Debugger 0.7.0 (2013-05-15-23:11)
>   Licensed under GNU GPL v2
>   For bug reports, read
>         http://openocd.sourceforge.net/doc/doxygen/bugs.html
>   Info : only one transport option; autoselect 'jtag'
>   srst_only srst_pulls_trst srst_gates_jtag srst_open_drain
>   connect_deassert_srst Warn : use 'at91sam7s.cpu' as target identifier,
>   not '0' Info : device: 4 "2232C"
>   Info : deviceID: 341266712
>   Info : SerialNumber: /\b
>   Info : Description: USB<=>JTAG&RS232 A
>   Error: An adapter speed is not selected in the init script. Insert a
>   call to adapter_khz or jtag_rclk to proceed. in procedure 'init'
>
>
> Do you have a working config file for the openjtag?  Can you post it?
> Can you suggest the proper value for adapter speed?
>
> Thank you muchly!
>
> David
>
>
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to