EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Green Hills Debugger

Started by rf_equip July 22, 2007
I have started work on a board with a LPC2129. I am using the Green
Hills Software and Green Hill Debugger. I am having a hard time
writting to the target memory. I can toggle all the JTAG lines (i.e.
the VTA) command. I have a hard time resetting the ARM. I was able
to write and read back once, I am not sure what the sequence was. I
then was able to down load my code and run it. I have lowered the JTAG
clock to 10 KHz. I really could use some help. Thanks in advance,

Sal

An Engineer's Guide to the LPC2100 Series

What JTAG are you using? Green Hill supplied me with a Wiggler for
evaluating their ARM tools with a board we were given at an Atmel seminar. I
think it worked OK, but it was a long time ago.

Leon
I'm also using Greenhills for development on an LPC2292 (and an Atmel
AT51) without a problem. I have access to a "Slingshot" and a "Probe"
and both debug at much higher JTAG rates than 10KHz.

I believe the "Probe" has a serial (terminal-style) interface that
allows you to force the JTAG speed. You may want to have a look at this
- it's documented in one of the manuals.

David
I am not using the Green Hills tools. But one
suggestion is that you have to wait, lets say 10 ms,
after target reset, because we have a wakeup timer in
the LPC2xxx parts. And the device is not accessible
immediately after reset.

Hope this helps.

Regards
Zdravko Dimitrov
The following is the probe info when the Green Hills Probe comes up:

Green Hills Probe and SuperTrace Probe for ARM/XScale, v1.12.2
Firmware built Sep 5 2006 12:16:09
Serial No: 2392
Part number 520-GP300-02A
Green Hills Software, Inc
http://www.ghs.com
Serial: 9600
USB: Enabled
Ethernet: Enabled
IP: 192.168.101.1
Gateway: 0.0.0.1
Netmask: 255.255.255.0
MAC Addr: 00:50:c2:10:34:58
Starting the initialization sequence.
01234567 done.

I also have pasted the results from a " set" command:

clock = 10 kHz
use_rtck = off
rtck_use_timeout = off
logic_high = 3.300000
target = arm7tdmi-s
checker = off
power_detect = on
user_button = tri-state
user_string baudrate = 9.6 kbaud
rst_pulse = 1 s
rst_settle = 1 s
jrst_pulse = 300 ms
jrst_settle = 300 ms
rst_tap_then_sys = off
endianness = little
fast_dl = off
abort_check = on
disable_swbp = off
rst_type = hard
override_mmu = off
force_dbgack = on
halt_settle = 800 ms
arm7tdmi-s[?] %

I can do the VTA command and all the pins are fine when connected to
the target. I can seem to be able to halt or reset the ARM Core.
All the memory reads after writes come back with 0xFF... . I have
done the jr and ji and the jd commands many times. When I do ji
0xff I usually get 0xf back. Only twice I have got 0x01 but I can
not figure out the sequence of events. These two times I have been
able to read memory and even down load code.

Any help is appreciated,

Sal

The 2024 Embedded Online Conference