OpenOCD JTAG TINY and Ax4510

Dear All,

I am working on AX4510 development board with chipset S3C4510 of SamSung. I uses NoICE tool to write data on Flash through OpenOCD JTAG TINY, but It shows error:

Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)

Error: jtag.c:1149 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f

Does NoICE tool support to write data on Flash to AX4510? or any error?

Pleae help me!!!

Hieu Nguyen:
Dear All,

I am working on AX4510 development board with chipset S3C4510 of SamSung. I uses NoICE tool to write data on Flash through OpenOCD JTAG TINY, but It shows error:

Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)

Error: jtag.c:1149 jtag_validate_chain(): Error validating JTAG scan chain, IR mismatch, scan returned 0x3f

Does NoICE tool support to write data on Flash to AX4510? or any error?

Pleae help me!!!

That error did not come from NoICE, it came from OpenOCD. I have only used NoICE with LPC2xxx parts, so I can’t say anything specific about your parts. However, one possibility for the OpenOCD error that you are seeing results from running the JTAG clock too fast. You are also using a fairly old version of OpenOCD, so you should probably update it anyway. If you are using Windows, you can get a much newer version here:

http://www.yagarto.de/

–Dave

Thanks Dave so much,

I downloaded lastest version of OpenOCD and re-setup configuration file as following:

#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc “Olimex OpenOCD JTAG”
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0003
jtag_speed 3
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4

after running command: openocd-ftd2xx.exe -farm7_ft2232.cfg
It shows error:
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)
Error: ft2232.c:1033 ft2232_init(): unable to open ftdi device: 2
Error: ft2232.c:1048 ft2232_init(): ListDevices: 2
Error: ft2232.c:1050 ft2232_init(): 0: Olimex OpenOCD JTAG TINY A
Error: ft2232.c:1050 ft2232_init(): 1: Olimex OpenOCD JTAG TINY B
Please help me to fix.
The JTAG TINY which I use as link:
http://www.olimex.com/dev/msp-jtag-tiny.html
Thanks.

Hi,

Change your config file to:

ft2232_device_desc “Olimex OpenOCD JTAG A”

Regards,

Dominic

Thanks Dominic

It is ok right now.

But you can show me that Does NoICE tool can write data to Flash of AX4510 board?

Hieu Nguyen:
Thanks Dominic

It is ok right now.

But you can show me that Does NoICE tool can write data to Flash of AX4510 board?

That question is not really relevant to this forum.

You can get an answer to questions like that from:

noice@noicedebugger.com

–Dave

Thanks Dave so much.

I am new comer, so I maybe meet some misunderstanding. So I need for your help. :slight_smile: