[En-Nut-Discussion] debugging with JTAG ICE -- COFF files
Mike Cornelius
mikec at calldirect.com.au
Mon Nov 25 00:01:00 CET 2002
Hi Jason,
Yes gcc, JTAG-ICE and AVR-STUDIO 4 are my development environment and I
enjoy full symolic debugging up to what AVR Studio supports (ie no support
for watching variables).
To get this going you'll need to modify the standard Nut/OS Makedefs.gcc
files to include the -g switch in the CPFLAGS line. EG.
CPFLAGS =
$(MCFLAGS) -g -Os -Wall -Wstrict-prototypes -Wa,-ahlms=$(<:.c=.lst) $(DEFS)
Avr Studio 4 will load the resulting ELF .obj file with full symbolic
support.
I hope this helps,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mike Cornelius Internet: mikec at calldirect.com.au
Call Direct Cellular Solutions Phone: +61 2 99-65-75-85
Level 1 8-22 West St North Sydney FAX: +61 2 99-65-75-90
NSW 2060 Australia URL: http://www.calldirect.com.au
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: en-nut-discussion-admin at egnite.de
[mailto:en-nut-discussion-admin at egnite.de]On Behalf Of JasonG
Sent: Friday, November 22, 2002 5:50 AM
To: eth nut
Subject: [En-Nut-Discussion] debugging with JTAG ICE -- COFF files
Has anyone had any luck debugging with the COFF files generated by the
ELFCOFF.exe or objtool.exe (v.5b) (with the avr-gcc environment)?
I am able to create the files and can get the code downloaded to the
ethernut (mega128) ok, but that's it. No debugging, etc.
The ICC compiled version of 2.591 doesn't seem to work properly-- for
the httpd example. Has anyone had any issues with this? I've compiled
it with avrgcc and ICC but only the avrgcc version works similar to the
distributed binary. But, the coff files that are generated with it
don't seem to work properly.
Anyone have a solution for symbolic debugging with the latest release
of ethernut??
Thanks,
=====
JasonG
jas_g at yahoo.com
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo/en-nut-discussion
More information about the En-Nut-Discussion
mailing list