<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.ethernut.de/nutwiki/index.php?action=history&amp;feed=atom&amp;title=NUTDEBUG</id>
		<title>NUTDEBUG - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.ethernut.de/nutwiki/index.php?action=history&amp;feed=atom&amp;title=NUTDEBUG"/>
		<link rel="alternate" type="text/html" href="http://www.ethernut.de/nutwiki/index.php?title=NUTDEBUG&amp;action=history"/>
		<updated>2026-04-28T22:51:19Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>http://www.ethernut.de/nutwiki/index.php?title=NUTDEBUG&amp;diff=166&amp;oldid=prev</id>
		<title>Harald: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://www.ethernut.de/nutwiki/index.php?title=NUTDEBUG&amp;diff=166&amp;oldid=prev"/>
				<updated>2016-10-27T16:02:57Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:02, 27 October 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='en'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Harald</name></author>	</entry>

	<entry>
		<id>http://www.ethernut.de/nutwiki/index.php?title=NUTDEBUG&amp;diff=165&amp;oldid=prev</id>
		<title>Harald: Numbering corrected</title>
		<link rel="alternate" type="text/html" href="http://www.ethernut.de/nutwiki/index.php?title=NUTDEBUG&amp;diff=165&amp;oldid=prev"/>
				<updated>2007-01-21T09:53:26Z</updated>
		
		<summary type="html">&lt;p&gt;Numbering corrected&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Using NUTDEBUG ==&lt;br /&gt;
&lt;br /&gt;
I've used the NutTrace functions with some success, hopefully the following is the right way....&lt;br /&gt;
&lt;br /&gt;
# Re-compile the required library with the appropriate DEBUG line enabled/uncommented. - I use a full recompile using NutConfigurator.&lt;br /&gt;
# Fully relink your application (in ICCAVR use shift F9). If you dont compile the library, fully recompile using configurator, and fully relink your app, you can sometimes get strange, intermittent issues due to memory structures changing slightly in location.&lt;br /&gt;
# In your main app, call the NutTrace function which enables the trace function after the desired target stream is initialised.  This sets the local trace flag in the library in question.  see example below for chat.c  You should pass the stream/device pointer to this function - you can send debug to uarts or (i think) any stream.&lt;br /&gt;
# Remember, when removing the debug option, recompile the library, recompile all libraries (nut configurator), and then fully relink your application.&lt;br /&gt;
&lt;br /&gt;
 // tell your application about the NutTraceXXX function&lt;br /&gt;
 void NutTraceChat(FILE * stream, u_char flags);&lt;br /&gt;
&lt;br /&gt;
 // Tell the trace function to send trace data to the uart&lt;br /&gt;
 // (uart must be already opened/initialised)&lt;br /&gt;
 NutTraceChat(uart1, (u_char)1);&lt;/div&gt;</summary>
		<author><name>Harald</name></author>	</entry>

	</feed>