Hello folks,
I’ve done my time waiting for the mythical P019 and decided to move on up…
Thanks to Jim’s excellent tutorial I have Eclipse-Arm running, I made the
changes needed in Fedora 4 to use Sun’s Java and Eclipse 3.2 . Here’s a
site I found helpful for adapting makefiles to Eclipse:
http://www-128.ibm.com/developerworks/e … index.html
Thanks, Jack !
Insight ( arm-elf-insight) runs fine as an external tool from Eclipse; I found
I had to point directly at the program rather than to its symbolic link
in /usr/local/bin; I also needed to add environment variables for
ITCL_LIBRARY and ITK_LIBRARY for my particulaar setup
I ordered the at91sam7 board and the ‘ollie-gler’ , was pleasantly surprised when the package arrived promptly … thanks Sparkfun & Olimex !
Pleasure turned to delight when OpenOCD connected to Eclipse-Insight
without a hitch … Thanks Dominic !
Of couse, I have questions …
First, I’m not getting a lot of sense from my debug session. I can’t seem
to get sensible single stepping from reset. I’ve tried different code and I’m
concentrating on Martin Thomas’ at91sam7-gpio compiled with arm-elf-gcc.
Should I be compiling for RAM ?
Should I be able to step from PC=0x0000 through the entire startup
using the ollie-gler JTAG interface ?
What daemon / target reset options are correct for the ollie-gler ?
target reset_halt with trst seems to prevent ocd from connecting
run_and_halt works with with trst but the PC end up … anywhere
The config script in the openOcd package looks different from the one
(in German) for at91sam7 on the openOcd wiki … what is correct ?
I tried the sam7utils but /.configure fails on my setups, there seems to
be a problem with the libreadline check. From what I can tell, in Core 4, some
of the readline functions are moved to ncurses library. Although I have
both libs ( and -devel’s ) properly installed, the configure test still fails:
configure:3504: gcc -o conftest -g -O2 conftest.c -lreadline >&5
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `tgetnum’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `tgoto’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `tgetflag’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `BC’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `tputs’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `PC’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `tgetent’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `UP’
/usr/lib/gcc/i386-redhat-linux/4.0.2/…/…/…/libreadline.so: undefined reference to `tgetstr’
collect2: ld returned 1 exit status
configure:3510: $? = 1
configure: failed program was:
| /* confdefs.h. */
Hope This Helps, If anyone can offer clues, TIA !
regards polly