Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | LPC2000 | Help on JTAG + LPC2478, again.

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

Help on JTAG + LPC2478, again. - Felipe de A N L - Oct 22 14:43:06 2009

*Hi guys.
I made some improovement on openocd but got stuck again:

This is my run LOG:*

Open On-Chip Debugger 0.2.0 (2009-10-09-23:29) Release
$URL:
http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c$
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
jtag_speed: 40
OLD SYNTAX: DEPRECATED - translating to new syntax
jtag newtap CHIP TAP -irlen 4 -ircapture 0x1 -irvalue 0xf
Example: STM32 has 2 taps, the cortexM3(len4) + boundaryscan(len5)
jtag newtap stm32 cortexm3 ....., thus creating the tap: "stm32.cortexm3"
jtag newtap stm32 boundary ....., and the tap: "stm32.boundary"
And then refer to the taps by the dotted name.
NEW COMMAND:
Info : JTAG tap: chip0.tap0 tap/device found: 0x4f1f0f0f (mfg: 0x787, part:
0xf1f0, ver: 0x4)
Warn : no gdb ports allocated as no target has been specified
^C

*
But if i specify a TARGET on the .cfg file I get this error:*
Open On-Chip Debugger 0.2.0 (2009-10-09-23:29) Release
$URL:
http://svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.2.0/src/openocd.c$
For bug reports, read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
jtag_speed: 40
OLD SYNTAX: DEPRECATED - translating to new syntax
jtag newtap CHIP TAP -irlen 4 -ircapture 0x1 -irvalue 0xf
Example: STM32 has 2 taps, the cortexM3(len4) + boundaryscan(len5)
jtag newtap stm32 cortexm3 ....., thus creating the tap: "stm32.cortexm3"
jtag newtap stm32 boundary ....., and the tap: "stm32.boundary"
And then refer to the taps by the dotted name.
NEW COMMAND:
Runtime error, file "/home/fanl/OpenOCD/armusbocd_tiny_linux.cfg", line 45:
bad option "arm7tdmi": must be one of count, create, current, names,
number, or types

-----------*
This is my config file:
*

######################################
# OpenOCD Configuration Script
#
# Interface: Olimex JTAG USB OCD Tiny
######################################
######################
# Daemon configuration
######################

telnet_port 4444
gdb_port 3333
gdb_detach resume
gdb_memory_map enable
gdb_flash_program enable
#daemon_startup reset
##############################
# JTAG interface configuration
##############################

interface ft2232

################
# ft2232 options
################
ft2232_device_desc "Olimex OpenOCD JTAG TINY"
ft2232_layout "olimex-jtag"
ft2232_vid_pid 0x15BA 0x0004
#use combined on interfaces or targets that can't set TRST/SRST separately
reset_config trst_and_srst separate

jtag_speed 40
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#Target Configuration
#
target arm7tdmi little reset_run 0
#run_and_halt 0 10
#working_area 0 0x40000000 0x2000 nobackup

#flash bank lpc2000 0x00000000 0x8000 0 0 0 lpc2000_v2 14746 calc_checksum

*What can I do ?*
[Non-text portions of this message have been removed]

------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )