EmbeddedRelated.com
Forums

Problem using Olimex-ARM-USB-OCD with OpenOCD in ubuntu 8.04

Started by oladipo_oni October 23, 2008
Hi Group,

I am new to embedded linux and hence stuck trying to get my setup
working.
My problem is every so often when I try and lunch openocd I get the
following error output.

$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
jtag_speed: 2
Error: JTAG communication failure, check connection, JTAG interface,
target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Could not validate JTAG chain, continuing anyway...
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:no tcl port specified, using default port 6666

And on the rare occasion I get the following output

$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
jtag_speed: 2
Warning:Device does not have IDCODE
Warning:Device does not have IDCODE
" " " " " "

" " " "

Warning:Device does not have IDCODE
Warning:Device does not have IDCODE

Warning:Device does not have IDCODE
Info: JTAG device found: 0xffffff03 (Manufacturer: 0x781, Part:
0xffff, Version: 0xf)
Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
0xffff, Version: 0xf)
"" "" ""
Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
0xffff, Version: 0xf)

Error: number of discovered devices in JTAG chain (180) doesn't match
configuration (1)
Error: check the config file and ensure proper JTAG communication
(connections, speed, ...)
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Could not validate JTAG chain, continuing anyway...
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:no tcl port specified, using default port 6666
I have the following setup.

(1) Olimex dev board LPC-MT 2106 (Powered by 9V from Olimex debugger)
(2) Olimex ARM-USB_OCD
(3) OpenOCD svn version 1083
(4) Using libftd2xx.so.0.4.13
(5) Running on a HP TC1100 tablet PC (ubuntu 8.04)
(6) Configuration file is named openocd.cfg (stored in home directory)

I invoke openocd from my home directory by running the command shown
below:-

host@user:~$ openocd

or

host@user:~$ openocd -f openocd.cfg

below is the content of my configuration file:-

//////////////// Start of Configuration file ////////////////////////

# daemon configuration
telnet port 4444
gdb_port 3333

# jtag debugger configuration
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0003

jtag_speed 2

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
#target arm7tdmi
target arm7tdmi little 0 arm7tdmi-s_r4
working_area 0 0x40000000 0x4000 nobackup

#flash configuration
#flash bank lpc2000 0 0
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum

//////////////// End of Configuration file ////////////////////////

I will appreciate any help I have spent a few days on this without any
success.

Many thanks in advance.
Regards
Ola Oni

An Engineer's Guide to the LPC2100 Series

change your config file to:
ft2232_device_desc "Olimex OpenOCD JTAG A"
And use another power source for your board.

Harrie
----- Original Message -----
From: oladipo_oni
To: l...
Sent: Thursday, October 23, 2008 8:39 PM
Subject: [lpc2000] Problem using Olimex-ARM-USB-OCD with OpenOCD in ubuntu 8.04
Hi Group,

I am new to embedded linux and hence stuck trying to get my setup
working.
My problem is every so often when I try and lunch openocd I get the
following error output.

$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
jtag_speed: 2
Error: JTAG communication failure, check connection, JTAG interface,
target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Could not validate JTAG chain, continuing anyway...
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:no tcl port specified, using default port 6666

And on the rare occasion I get the following output

$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
jtag_speed: 2
Warning:Device does not have IDCODE
Warning:Device does not have IDCODE
" " " " " "

" " " "

Warning:Device does not have IDCODE
Warning:Device does not have IDCODE

Warning:Device does not have IDCODE
Info: JTAG device found: 0xffffff03 (Manufacturer: 0x781, Part:
0xffff, Version: 0xf)
Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
0xffff, Version: 0xf)
"" "" ""
Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
0xffff, Version: 0xf)

Error: number of discovered devices in JTAG chain (180) doesn't match
configuration (1)
Error: check the config file and ensure proper JTAG communication
(connections, speed, ...)
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0x3f
Error: Could not validate JTAG chain, continuing anyway...
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:value captured during scan didn't pass the requested check:
captured: 0x0f check_value: 0x01 check_mask: 0x0f
Warning:in_handler reported a failed check
Warning:no tcl port specified, using default port 6666

I have the following setup.

(1) Olimex dev board LPC-MT 2106 (Powered by 9V from Olimex debugger)
(2) Olimex ARM-USB_OCD
(3) OpenOCD svn version 1083
(4) Using libftd2xx.so.0.4.13
(5) Running on a HP TC1100 tablet PC (ubuntu 8.04)
(6) Configuration file is named openocd.cfg (stored in home directory)

I invoke openocd from my home directory by running the command shown
below:-

host@user:~$ openocd

or

host@user:~$ openocd -f openocd.cfg

below is the content of my configuration file:-

//////////////// Start of Configuration file ////////////////////////

# daemon configuration
telnet port 4444
gdb_port 3333

# jtag debugger configuration
interface ft2232
ft2232_device_desc "Olimex OpenOCD JTAG"
ft2232_layout olimex-jtag
ft2232_vid_pid 0x15ba 0x0003

jtag_speed 2

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
#target arm7tdmi
target arm7tdmi little 0 arm7tdmi-s_r4

working_area 0 0x40000000 0x4000 nobackup

#flash configuration
#flash bank lpc2000 0 0
flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum

//////////////// End of Configuration file ////////////////////////

I will appreciate any help I have spent a few days on this without any
success.

Many thanks in advance.

Regards
Ola Oni


Hey Harrie,

Thanks for the suggestions. But the problem still persists.
For powering my LPC-MT 2106 development board I am now using a 9V 2.2A
dc block. The documentation for the board recommend 6Vac/9Vdc.

I also changed the ft2232_device_desc to "Olimex OpenOCD JTAG A" as
advised but no show.

Is there anybody in this group that uses this dev board and debugger
combination.
There is a jumper label JRST on the board that I can't find in the
schematic diagram.

The only two pin jumpers that I can see in the schematic diagram is
the DEBUG and the BSL.

Many thanks in advance
--- In l..., "Harrie Geerts" wrote:
>
> change your config file to:
> ft2232_device_desc "Olimex OpenOCD JTAG A"
> And use another power source for your board.
>
> Harrie
> ----- Original Message -----
> From: oladipo_oni
> To: l...
> Sent: Thursday, October 23, 2008 8:39 PM
> Subject: [lpc2000] Problem using Olimex-ARM-USB-OCD with OpenOCD
in ubuntu 8.04
> Hi Group,
>
> I am new to embedded linux and hence stuck trying to get my setup
> working.
> My problem is every so often when I try and lunch openocd I get the
> following error output.
>
> $URL:
http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> jtag_speed: 2
> Error: JTAG communication failure, check connection, JTAG interface,
> target power etc.
> Error: trying to validate configured JTAG chain anyway...
> Error: Error validating JTAG scan chain, IR mismatch, scan
returned 0x3f
> Error: Could not validate JTAG chain, continuing anyway...
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x0f check_value: 0x01 check_mask: 0x0f
> Warning:in_handler reported a failed check
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x0f check_value: 0x01 check_mask: 0x0f
> Warning:in_handler reported a failed check
> Warning:no tcl port specified, using default port 6666
>
> And on the rare occasion I get the following output
>
> $URL:
http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> jtag_speed: 2
> Warning:Device does not have IDCODE
> Warning:Device does not have IDCODE
> " " " " " "
>
> " " " "
>
> Warning:Device does not have IDCODE
> Warning:Device does not have IDCODE
>
> Warning:Device does not have IDCODE
> Info: JTAG device found: 0xffffff03 (Manufacturer: 0x781, Part:
> 0xffff, Version: 0xf)
> Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
> 0xffff, Version: 0xf)
> "" "" ""
> Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
> 0xffff, Version: 0xf)
>
> Error: number of discovered devices in JTAG chain (180) doesn't match
> configuration (1)
> Error: check the config file and ensure proper JTAG communication
> (connections, speed, ...)
> Error: trying to validate configured JTAG chain anyway...
> Error: Error validating JTAG scan chain, IR mismatch, scan
returned 0x3f
> Error: Could not validate JTAG chain, continuing anyway...
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x0f check_value: 0x01 check_mask: 0x0f
> Warning:in_handler reported a failed check
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x0f check_value: 0x01 check_mask: 0x0f
> Warning:in_handler reported a failed check
> Warning:no tcl port specified, using default port 6666
>
> I have the following setup.
>
> (1) Olimex dev board LPC-MT 2106 (Powered by 9V from Olimex debugger)
> (2) Olimex ARM-USB_OCD
> (3) OpenOCD svn version 1083
> (4) Using libftd2xx.so.0.4.13
> (5) Running on a HP TC1100 tablet PC (ubuntu 8.04)
> (6) Configuration file is named openocd.cfg (stored in home directory)
>
> I invoke openocd from my home directory by running the command shown
> below:-
>
> host@user:~$ openocd
>
> or
>
> host@user:~$ openocd -f openocd.cfg
>
> below is the content of my configuration file:-
>
> //////////////// Start of Configuration file ////////////////////////
>
> # daemon configuration
> telnet port 4444
> gdb_port 3333
>
> # jtag debugger configuration
> interface ft2232
> ft2232_device_desc "Olimex OpenOCD JTAG"
> ft2232_layout olimex-jtag
> ft2232_vid_pid 0x15ba 0x0003
>
> jtag_speed 2
>
> 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
> #target arm7tdmi
> target arm7tdmi little 0 arm7tdmi-s_r4
>
> working_area 0 0x40000000 0x4000 nobackup
>
> #flash configuration
> #flash bank lpc2000 0 0
> flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum
>
> //////////////// End of Configuration file ////////////////////////
>
> I will appreciate any help I have spent a few days on this without any
> success.
>
> Many thanks in advance.
>
> Regards
> Ola Oni
>
>
>
>
>

Hi All,

Can any confirm which svn version of openocd is being used.
I am still having problem trying to connect my dev board to my olimex
usb arm debugger.
Many thanks in advance.

Regards
Ola Oni

--- In l..., "oladipo_oni" wrote:
>
> Hey Harrie,
>
> Thanks for the suggestions. But the problem still persists.
> For powering my LPC-MT 2106 development board I am now using a 9V 2.2A
> dc block. The documentation for the board recommend 6Vac/9Vdc.
>
> I also changed the ft2232_device_desc to "Olimex OpenOCD JTAG A" as
> advised but no show.
>
> Is there anybody in this group that uses this dev board and debugger
> combination.
> There is a jumper label JRST on the board that I can't find in the
> schematic diagram.
>
> The only two pin jumpers that I can see in the schematic diagram is
> the DEBUG and the BSL.
>
> Many thanks in advance
> --- In l..., "Harrie Geerts" wrote:
> >
> > change your config file to:
> > ft2232_device_desc "Olimex OpenOCD JTAG A"
> > And use another power source for your board.
> >
> > Harrie
> > ----- Original Message -----
> > From: oladipo_oni
> > To: l...
> > Sent: Thursday, October 23, 2008 8:39 PM
> > Subject: [lpc2000] Problem using Olimex-ARM-USB-OCD with OpenOCD
> in ubuntu 8.04
> >
> >
> > Hi Group,
> >
> > I am new to embedded linux and hence stuck trying to get my setup
> > working.
> > My problem is every so often when I try and lunch openocd I get the
> > following error output.
> >
> > $URL:
> http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> > jtag_speed: 2
> > Error: JTAG communication failure, check connection, JTAG interface,
> > target power etc.
> > Error: trying to validate configured JTAG chain anyway...
> > Error: Error validating JTAG scan chain, IR mismatch, scan
> returned 0x3f
> > Error: Could not validate JTAG chain, continuing anyway...
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:no tcl port specified, using default port 6666
> >
> > And on the rare occasion I get the following output
> >
> > $URL:
> http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> > jtag_speed: 2
> > Warning:Device does not have IDCODE
> > Warning:Device does not have IDCODE
> > " " " " " "
> >
> > " " " "
> >
> > Warning:Device does not have IDCODE
> > Warning:Device does not have IDCODE
> >
> > Warning:Device does not have IDCODE
> > Info: JTAG device found: 0xffffff03 (Manufacturer: 0x781, Part:
> > 0xffff, Version: 0xf)
> > Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
> > 0xffff, Version: 0xf)
> > "" "" ""
> > Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
> > 0xffff, Version: 0xf)
> >
> > Error: number of discovered devices in JTAG chain (180) doesn't
match
> > configuration (1)
> > Error: check the config file and ensure proper JTAG communication
> > (connections, speed, ...)
> > Error: trying to validate configured JTAG chain anyway...
> > Error: Error validating JTAG scan chain, IR mismatch, scan
> returned 0x3f
> > Error: Could not validate JTAG chain, continuing anyway...
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:no tcl port specified, using default port 6666
> >
> > I have the following setup.
> >
> > (1) Olimex dev board LPC-MT 2106 (Powered by 9V from Olimex
debugger)
> > (2) Olimex ARM-USB_OCD
> > (3) OpenOCD svn version 1083
> > (4) Using libftd2xx.so.0.4.13
> > (5) Running on a HP TC1100 tablet PC (ubuntu 8.04)
> > (6) Configuration file is named openocd.cfg (stored in home
directory)
> >
> > I invoke openocd from my home directory by running the command shown
> > below:-
> >
> > host@user:~$ openocd
> >
> > or
> >
> > host@user:~$ openocd -f openocd.cfg
> >
> > below is the content of my configuration file:-
> >
> > //////////////// Start of Configuration file
////////////////////////
> >
> > # daemon configuration
> > telnet port 4444
> > gdb_port 3333
> >
> > # jtag debugger configuration
> > interface ft2232
> > ft2232_device_desc "Olimex OpenOCD JTAG"
> > ft2232_layout olimex-jtag
> > ft2232_vid_pid 0x15ba 0x0003
> >
> > jtag_speed 2
> >
> > 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
> > #target arm7tdmi
> > target arm7tdmi little 0 arm7tdmi-s_r4
> >
> > working_area 0 0x40000000 0x4000 nobackup
> >
> > #flash configuration
> > #flash bank lpc2000 0 0
> > flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum
> >
> > //////////////// End of Configuration file ////////////////////////
> >
> > I will appreciate any help I have spent a few days on this
without any
> > success.
> >
> > Many thanks in advance.
> >
> > Regards
> > Ola Oni
> >
> >
> >
> >
> >
> >
>
Hi All,

Is there anyway of testing Olimex LPC-MT2106 development board in
isolation?
What I want is tool that will allow me to program the flash with a
program that exercises the LCD and LED.
This will allow me to eliminate the dev board from my list of suspect
in my setup

Regards
Ola Oni

--- In l..., "oladipo_oni" wrote:
>
> Hey Harrie,
>
> Thanks for the suggestions. But the problem still persists.
> For powering my LPC-MT 2106 development board I am now using a 9V 2.2A
> dc block. The documentation for the board recommend 6Vac/9Vdc.
>
> I also changed the ft2232_device_desc to "Olimex OpenOCD JTAG A" as
> advised but no show.
>
> Is there anybody in this group that uses this dev board and debugger
> combination.
> There is a jumper label JRST on the board that I can't find in the
> schematic diagram.
>
> The only two pin jumpers that I can see in the schematic diagram is
> the DEBUG and the BSL.
>
> Many thanks in advance
> --- In l..., "Harrie Geerts" wrote:
> >
> > change your config file to:
> > ft2232_device_desc "Olimex OpenOCD JTAG A"
> > And use another power source for your board.
> >
> > Harrie
> > ----- Original Message -----
> > From: oladipo_oni
> > To: l...
> > Sent: Thursday, October 23, 2008 8:39 PM
> > Subject: [lpc2000] Problem using Olimex-ARM-USB-OCD with OpenOCD
> in ubuntu 8.04
> >
> >
> > Hi Group,
> >
> > I am new to embedded linux and hence stuck trying to get my setup
> > working.
> > My problem is every so often when I try and lunch openocd I get the
> > following error output.
> >
> > $URL:
> http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> > jtag_speed: 2
> > Error: JTAG communication failure, check connection, JTAG interface,
> > target power etc.
> > Error: trying to validate configured JTAG chain anyway...
> > Error: Error validating JTAG scan chain, IR mismatch, scan
> returned 0x3f
> > Error: Could not validate JTAG chain, continuing anyway...
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:no tcl port specified, using default port 6666
> >
> > And on the rare occasion I get the following output
> >
> > $URL:
> http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
> > jtag_speed: 2
> > Warning:Device does not have IDCODE
> > Warning:Device does not have IDCODE
> > " " " " " "
> >
> > " " " "
> >
> > Warning:Device does not have IDCODE
> > Warning:Device does not have IDCODE
> >
> > Warning:Device does not have IDCODE
> > Info: JTAG device found: 0xffffff03 (Manufacturer: 0x781, Part:
> > 0xffff, Version: 0xf)
> > Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
> > 0xffff, Version: 0xf)
> > "" "" ""
> > Info: JTAG device found: 0xffffffff (Manufacturer: 0x7ff, Part:
> > 0xffff, Version: 0xf)
> >
> > Error: number of discovered devices in JTAG chain (180) doesn't
match
> > configuration (1)
> > Error: check the config file and ensure proper JTAG communication
> > (connections, speed, ...)
> > Error: trying to validate configured JTAG chain anyway...
> > Error: Error validating JTAG scan chain, IR mismatch, scan
> returned 0x3f
> > Error: Could not validate JTAG chain, continuing anyway...
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:value captured during scan didn't pass the requested check:
> > captured: 0x0f check_value: 0x01 check_mask: 0x0f
> > Warning:in_handler reported a failed check
> > Warning:no tcl port specified, using default port 6666
> >
> > I have the following setup.
> >
> > (1) Olimex dev board LPC-MT 2106 (Powered by 9V from Olimex
debugger)
> > (2) Olimex ARM-USB_OCD
> > (3) OpenOCD svn version 1083
> > (4) Using libftd2xx.so.0.4.13
> > (5) Running on a HP TC1100 tablet PC (ubuntu 8.04)
> > (6) Configuration file is named openocd.cfg (stored in home
directory)
> >
> > I invoke openocd from my home directory by running the command shown
> > below:-
> >
> > host@user:~$ openocd
> >
> > or
> >
> > host@user:~$ openocd -f openocd.cfg
> >
> > below is the content of my configuration file:-
> >
> > //////////////// Start of Configuration file
////////////////////////
> >
> > # daemon configuration
> > telnet port 4444
> > gdb_port 3333
> >
> > # jtag debugger configuration
> > interface ft2232
> > ft2232_device_desc "Olimex OpenOCD JTAG"
> > ft2232_layout olimex-jtag
> > ft2232_vid_pid 0x15ba 0x0003
> >
> > jtag_speed 2
> >
> > 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
> > #target arm7tdmi
> > target arm7tdmi little 0 arm7tdmi-s_r4
> >
> > working_area 0 0x40000000 0x4000 nobackup
> >
> > #flash configuration
> > #flash bank lpc2000 0 0
> > flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v1 14765 calc_checksum
> >
> > //////////////// End of Configuration file ////////////////////////
> >
> > I will appreciate any help I have spent a few days on this
without any
> > success.
> >
> > Many thanks in advance.
> >
> > Regards
> > Ola Oni
> >
> >
> >
> >
> >
> >
>
Hi,

> Is there anyway of testing Olimex LPC-MT2106 development board in
> isolation?
> What I want is tool that will allow me to program the flash with a
> program that exercises the LCD and LED.

IIRC the LCD on that board is connected to the 2106's ETM pins and cannot,
therefore, be accessed while debugging with a JTAG adapter connected.

> This will allow me to eliminate the dev board from my list of suspect
> in my setup

Have you tried using ISP?

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
Hi Paul,

Thanks for your response.
I am not sure I understand the contents of your Posted message, please
remember I am new to the whole Linux environment development.

What do you mean? IIRC the LCD on that board is connected to the
2106's ETM pins..
Accordingly to the schematic diagram P0.17 to P0.21 is connected to
the Jtag connector
While P0.4 to P0.7 is connected to the LCD data bus and P0.22 to P0.24
are connected to the LCD control line namely E, RS, and R/W respectively.
Let me know if you want me to send you the schematic diagram for your
reference.
And just in case I have missed something in your message what is IIRC
and am I correct in understanding ETM as Enable Trace Module.

Which application do you recommend that is free for ISP.

Regards
Ola

--- In l..., "Paul Curtis" wrote:
>
> Hi,
>
> > Is there anyway of testing Olimex LPC-MT2106 development board in
> > isolation?
> > What I want is tool that will allow me to program the flash with a
> > program that exercises the LCD and LED.
>
> IIRC the LCD on that board is connected to the 2106's ETM pins and
cannot,
> therefore, be accessed while debugging with a JTAG adapter connected.
>
> > This will allow me to eliminate the dev board from my list of suspect
> > in my setup
>
> Have you tried using ISP?
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>

Hi Paul,

I think I now understand your message after doing a Google search on
IIRC I found that it is an acronym for "If I Recall Correctly".
The schematic diagram can be view using the following url.
http://www.olimex.com/dev/images/lpc-mt-2106-sch.gif

Many thanks in advance.

Regards
Ola

--- In l..., "oladipo_oni" wrote:
>
> Hi Paul,
>
> Thanks for your response.
> I am not sure I understand the contents of your Posted message, please
> remember I am new to the whole Linux environment development.
>
> What do you mean? IIRC the LCD on that board is connected to the
> 2106's ETM pins..
> Accordingly to the schematic diagram P0.17 to P0.21 is connected to
> the Jtag connector
> While P0.4 to P0.7 is connected to the LCD data bus and P0.22 to P0.24
> are connected to the LCD control line namely E, RS, and R/W
respectively.
> Let me know if you want me to send you the schematic diagram for your
> reference.
> And just in case I have missed something in your message what is IIRC
> and am I correct in understanding ETM as Enable Trace Module.
>
> Which application do you recommend that is free for ISP.
>
> Regards
> Ola
>
> --- In l..., "Paul Curtis" wrote:
> >
> > Hi,
> >
> > > Is there anyway of testing Olimex LPC-MT2106 development board in
> > > isolation?
> > > What I want is tool that will allow me to program the flash with a
> > > program that exercises the LCD and LED.
> >
> > IIRC the LCD on that board is connected to the 2106's ETM pins and
> cannot,
> > therefore, be accessed while debugging with a JTAG adapter connected.
> >
> > > This will allow me to eliminate the dev board from my list of
suspect
> > > in my setup
> >
> > Have you tried using ISP?
> >
> > --
> > Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> > CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>
Hi,

You cannot control the RS, R/W, and E signals from the LPC2106 as these are
connected to TRACECLK, PIPESTAT0, and PIPESTAT1. Unfortunately, with
primary JTAG enabled, the ETM is also enabled and thus whatever you do to
try to control P0.22 through P0.24 won't work because the ETM is hardwired
to them (with JTAG enabled).

Hence, the *only* way to display data on the LCD is to program the
application over JTAG or ISP, then reset the part without JTAG debug enabled
and see if your LCD works.

It took me about 30 minutes to do this, but then I did have the code written
and working on an LPC-2138-MT and many other boards.

As for ISP, I don't know, I never use ISP to program NXP parts.

--
Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors

> -----Original Message-----
> From: l... [mailto:l...] On Behalf
Of
> oladipo_oni
> Sent: 27 October 2008 22:22
> To: l...
> Subject: [lpc2000] Re: Problem using Olimex-ARM-USB-OCD with OpenOCD in
ubuntu
> 8.04
>
> Hi Paul,
>
> I think I now understand your message after doing a Google search on
> IIRC I found that it is an acronym for "If I Recall Correctly".
> The schematic diagram can be view using the following url.
> http://www.olimex.com/dev/images/lpc-mt-2106-sch.gif
>
> Many thanks in advance.
>
> Regards
> Ola
>
> --- In l..., "oladipo_oni" wrote:
> >
> > Hi Paul,
> >
> > Thanks for your response.
> > I am not sure I understand the contents of your Posted message, please
> > remember I am new to the whole Linux environment development.
> >
> > What do you mean? IIRC the LCD on that board is connected to the
> > 2106's ETM pins..
> > Accordingly to the schematic diagram P0.17 to P0.21 is connected to
> > the Jtag connector
> > While P0.4 to P0.7 is connected to the LCD data bus and P0.22 to P0.24
> > are connected to the LCD control line namely E, RS, and R/W
> respectively.
> > Let me know if you want me to send you the schematic diagram for your
> > reference.
> > And just in case I have missed something in your message what is IIRC
> > and am I correct in understanding ETM as Enable Trace Module.
> >
> > Which application do you recommend that is free for ISP.
> >
> > Regards
> > Ola
> >
> > --- In l..., "Paul Curtis" wrote:
> > >
> > > Hi,
> > >
> > > > Is there anyway of testing Olimex LPC-MT2106 development board in
> > > > isolation?
> > > > What I want is tool that will allow me to program the flash with a
> > > > program that exercises the LCD and LED.
> > >
> > > IIRC the LCD on that board is connected to the 2106's ETM pins and
> > cannot,
> > > therefore, be accessed while debugging with a JTAG adapter connected.
> > >
> > > > This will allow me to eliminate the dev board from my list of
> suspect
> > > > in my setup
> > >
> > > Have you tried using ISP?
> > >
> > > --
> > > Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> > > CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
> > >
> >
Hi Paul,

Based on your message about you having flashed this board (lpc-mt
2106) in the past I was wondering if it was possible for you to give
me your binary file, so all I have to do is find an application that
will allow me to program the on board flash through ISP.

I don't need the code just the hex file, as I can write one when I am
up and running with the board.

My main objective is to get my olimex-arm usb JTAG debugger working.
As for now what I noticed is that openocd is not detecting the targets
power hence the error.

Error: JTAG communication failure, check connection, JTAG interface,
target power etc.

This error is consistent whether the debugger is connected to the
target or not.
Regards
Ola

--- In l..., "Paul Curtis" wrote:
>
> Hi,
>
> You cannot control the RS, R/W, and E signals from the LPC2106 as
these are
> connected to TRACECLK, PIPESTAT0, and PIPESTAT1. Unfortunately, with
> primary JTAG enabled, the ETM is also enabled and thus whatever you
do to
> try to control P0.22 through P0.24 won't work because the ETM is
hardwired
> to them (with JTAG enabled).
>
> Hence, the *only* way to display data on the LCD is to program the
> application over JTAG or ISP, then reset the part without JTAG debug
enabled
> and see if your LCD works.
>
> It took me about 30 minutes to do this, but then I did have the code
written
> and working on an LPC-2138-MT and many other boards.
>
> As for ISP, I don't know, I never use ISP to program NXP parts.
>
> --
> Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3 processors
>
> > -----Original Message-----
> > From: l... [mailto:l...] On
Behalf
> Of
> > oladipo_oni
> > Sent: 27 October 2008 22:22
> > To: l...
> > Subject: [lpc2000] Re: Problem using Olimex-ARM-USB-OCD with
OpenOCD in
> ubuntu
> > 8.04
> >
> > Hi Paul,
> >
> > I think I now understand your message after doing a Google search on
> > IIRC I found that it is an acronym for "If I Recall Correctly".
> > The schematic diagram can be view using the following url.
> > http://www.olimex.com/dev/images/lpc-mt-2106-sch.gif
> >
> > Many thanks in advance.
> >
> > Regards
> > Ola
> >
> >
> >
> > --- In l..., "oladipo_oni" wrote:
> > >
> > > Hi Paul,
> > >
> > > Thanks for your response.
> > > I am not sure I understand the contents of your Posted message,
please
> > > remember I am new to the whole Linux environment development.
> > >
> > > What do you mean? IIRC the LCD on that board is connected to the
> > > 2106's ETM pins..
> > > Accordingly to the schematic diagram P0.17 to P0.21 is connected to
> > > the Jtag connector
> > > While P0.4 to P0.7 is connected to the LCD data bus and P0.22 to
P0.24
> > > are connected to the LCD control line namely E, RS, and R/W
> > respectively.
> > > Let me know if you want me to send you the schematic diagram for
your
> > > reference.
> > > And just in case I have missed something in your message what is
IIRC
> > > and am I correct in understanding ETM as Enable Trace Module.
> > >
> > > Which application do you recommend that is free for ISP.
> > >
> > > Regards
> > > Ola
> > >
> > > --- In l..., "Paul Curtis" wrote:
> > > >
> > > > Hi,
> > > >
> > > > > Is there anyway of testing Olimex LPC-MT2106 development
board in
> > > > > isolation?
> > > > > What I want is tool that will allow me to program the flash
with a
> > > > > program that exercises the LCD and LED.
> > > >
> > > > IIRC the LCD on that board is connected to the 2106's ETM pins and
> > > cannot,
> > > > therefore, be accessed while debugging with a JTAG adapter
connected.
> > > >
> > > > > This will allow me to eliminate the dev board from my list of
> > suspect
> > > > > in my setup
> > > >
> > > > Have you tried using ISP?
> > > >
> > > > --
> > > > Paul Curtis, Rowley Associates Ltd http://www.rowley.co.uk
> > > > CrossWorks for ARM, MSP430, AVR, MAXQ, and now Cortex-M3
processors
> > > >
> > >
> >
> >
> >
> >
> >
> >