Hi,

I'm trying to download u-boot image into sdram to run, i think openocd can do 
it, so i wrote a script and run openocd, my dongle is j-link V7.0, cpu is 
FA526, and openocd version is 0.2.0, openocd-0.2.0.tar.bz2 download from 
http://developer.berlios.de/project/showfiles.php?group_id=4148&release_id=16455
 

here is my script:

# Daemon configuration
telnet_port 23
gdb_port 2331
# JTAG interface configuration
interface jlink
jtag_speed 0
reset_config trst_and_srst
jtag_device 4 0x1 0xf 0xe
# Target configuration
target fa526 little run_and_init 0 fa526
target_script 0 reset cns2132_init.script
run_and_halt_time 0 1000
##daemon_startup reset
init
reset_halt

here is what openocd says after execute the script:

Open On-Chip Debugger 0.2.0 (2009-10-09-08:05) 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: 0
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 "openocd_cns2132.cfg", line 12:
    bad option "fa526": must be one of count, create, current, names, number, 
or types

i can't understand why such error happens, please help.




Richard
2009-10-20
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to