<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Maple IDE: can&#039;t see output data in series monitor</title>
		<link>http://forums.leaflabs.com/topic.php?id=9391</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:07:55 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=9391" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21703</link>
			<pubDate>Mon, 17 Dec 2012 15:14:31 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21703@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;pvh - Those results look like the signal is inverted.&#60;/p&#62;
&#60;p&#62;All of &#60;code&#62;0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80,&#60;/code&#62; have only one bit set on, but the first seven results you show: &#60;code&#62;7F BF DF EF F7 FB FD&#60;/code&#62;, have only one bit off.&#60;/p&#62;
&#60;p&#62;Similarly, &#60;code&#62;0xFE, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xBF, 0x7F,&#60;/code&#62; have only one bit off, but the first seven results you show: &#60;code&#62;80 40 20 10 08 04 02&#60;/code&#62;, have only one bit on.&#60;/p&#62;
&#60;p&#62;Further, in both cases, all the bit patterns are reversed. For example, the least significant bit of the transmitted 0x01 showing up as the most significant bit off in the received &#60;code&#62;7F&#60;/code&#62;. The transmission sequence should be the UART sending data least significant bit first. &#60;/p&#62;
&#60;p&#62;This seems very systematic. Not something explained by an accidental error.&#60;/p&#62;
&#60;p&#62;The &#60;code&#62;00&#60;/code&#62; at the end might be explained by an inverted signal, if the line is going to continuously high (FF), then some period of high might be taken as a valid transmission.&#60;/p&#62;
&#60;p&#62;I can't explain the &#60;code&#62;CA&#60;/code&#62; or &#60;code&#62;E5&#60;/code&#62;, but it is also interesting that the penultimate character, &#60;code&#62;EB&#60;/code&#62; is the same in both cases. Do you use &#60;code&#62;print&#60;/code&#62; or &#60;code&#62;println&#60;/code&#62; to print the tests?&#60;/p&#62;
&#60;p&#62;When you say &#60;em&#62;&#34;When I use the serial monitor on the Arduino Uno then the correct data is displayed&#34;&#60;/em&#62; do you mean the data from the Olimex ST32 and the ARduino UNO running &#34;SoftwareSerial&#34; library is displayed correctly? If that is the case, a simple solution is to stop using Tera Term, and use the Arduno Uno serial monitor. But I can't explain why Tera term should invert and reverse the bits in the data.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pvh on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21702</link>
			<pubDate>Mon, 17 Dec 2012 13:57:00 +0000</pubDate>
			<dc:creator>pvh</dc:creator>
			<guid isPermaLink="false">21702@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello, no its not a piece of course work. &#60;/p&#62;
&#60;p&#62;I also did a test with an Arduino Uno and the &#34;SoftwareSerial&#34; libary. There I see the same pattern as with the Olimex STM32. When I use the serial monitor on the Arduino Uno then the correct data is displayed. I'm using the onboard serial port of my laptop which is running on Windows 7.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21694</link>
			<pubDate>Mon, 17 Dec 2012 09:36:59 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21694@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;pvh - Is this a piece of course work or something?&#60;br /&#62;
The effect is highly unlikely to happen by accident, and has a very regular pattern.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pvh on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21684</link>
			<pubDate>Sun, 16 Dec 2012 15:05:10 +0000</pubDate>
			<dc:creator>pvh</dc:creator>
			<guid isPermaLink="false">21684@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello gbulmer,&#60;/p&#62;
&#60;p&#62;Print characters:&#60;br /&#62;
char test1[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x0 };&#60;/p&#62;
&#60;p&#62;Result Tera Term:&#60;br /&#62;
7F BF DF EF F7 FB FD CA EB 00&#60;/p&#62;
&#60;p&#62;char test2[] = { 0xFE, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xBF, 0x7F, 0x0 };&#60;/p&#62;
&#60;p&#62;Result Tera Term:&#60;br /&#62;
80 40 20 10 08 04 02 E5 EB 00&#60;/p&#62;
&#60;p&#62;I also did some testing with a different Serial-USB adapter, but with the same results.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21678</link>
			<pubDate>Sun, 16 Dec 2012 08:09:20 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21678@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;pvh - Interesting.&#60;br /&#62;
There seems to be a pattern. There are so many bits set to get that sort of result, I'm tempted to think either the baud rate is wrong, or the bits are inverted.&#60;/p&#62;
&#60;p&#62;Try 1 bit set:&#60;br /&#62;
char test1[] = { 0x01, 0x02, 0x04, 0x08, 0x10, 0x20, 0x40, 0x80, 0x0 };&#60;br /&#62;
and 7 bits set:&#60;br /&#62;
char test2[] = { 0xFE, 0xFD, 0xFB, 0xF7, 0xEF, 0xDF, 0xBF, 0x7F, 0x0 };&#60;/p&#62;
&#60;p&#62;The strings need to be terminated by an 0x0 (or 0x00), or print will keep printing until it finds a 0. Some memory is initialised to 0, so when your lucky, print will stop, but in general, C strings must be terminated by a zero byte.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pvh on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21672</link>
			<pubDate>Sun, 16 Dec 2012 04:03:11 +0000</pubDate>
			<dc:creator>pvh</dc:creator>
			<guid isPermaLink="false">21672@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;declaration:&#60;br /&#62;
char test1[6] = {0x20, 0x21, 0x22, 0x23, 0x24, 0x25};&#60;/p&#62;
&#60;p&#62;printing:&#60;br /&#62;
Serial1.print(test1);&#60;/p&#62;
&#60;p&#62;Output Tera Term:&#60;br /&#62;
EB DB CB BB AB 03
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21671</link>
			<pubDate>Sat, 15 Dec 2012 12:24:09 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21671@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;pvh - try printing a more regular character string.&#60;/p&#62;
&#60;p&#62;For example:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;char test1[] = { 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, /* etc */ 0x00 };
char test2[] = {0x30, 0x31, /* etc */  0x00 };
// and so on
// ...
Serial1.println(test1);
Serial1.println(test2);
// ...&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Then a pattern may emerge which helps diagnose the error.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pvh on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-21670</link>
			<pubDate>Sat, 15 Dec 2012 11:32:05 +0000</pubDate>
			<dc:creator>pvh</dc:creator>
			<guid isPermaLink="false">21670@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;When I print the line underneath I strange output on my Tera Term terminal. This output doesn't seems to be an ASCII format. Baudrate and interface settings are OK.&#60;/p&#62;
&#60;p&#62;Print Function Maple:&#60;br /&#62;
 Serial1.println(&#34;Hello World&#34;);&#60;/p&#62;
&#60;p&#62;Hex output Tera Term:&#60;br /&#62;
AB 3A 3A 0A FA 8B 85 1B 27 37 E5 EB 00&#60;/p&#62;
&#60;p&#62;What is going wrong?  &#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tfcroft4 on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-20738</link>
			<pubDate>Fri, 02 Nov 2012 03:57:17 +0000</pubDate>
			<dc:creator>tfcroft4</dc:creator>
			<guid isPermaLink="false">20738@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am using an Olimex STM32 board and Windows 7 and prefer to use a separate Terminal application. &#60;/p&#62;
&#60;p&#62;Try &#60;a href=&#34;https://sites.google.com/site/terminalbpp/&#34; rel=&#34;nofollow&#34;&#62;https://sites.google.com/site/terminalbpp/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I also use Serial1 for monitoring rather than USB but the Maple COM port is also available.&#60;/p&#62;
&#60;p&#62;I hope this helps.&#60;/p&#62;
&#60;p&#62;TF
&#60;/p&#62;</description>
		</item>
		<item>
			<title>einlong on "Maple IDE: can&#039;t see output data in series monitor"</title>
			<link>http://forums.leaflabs.com/topic.php?id=9391#post-20734</link>
			<pubDate>Thu, 01 Nov 2012 22:53:21 +0000</pubDate>
			<dc:creator>einlong</dc:creator>
			<guid isPermaLink="false">20734@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;We have an Olimexino-STM32 and the accelerometer (MOD-SMB380) for the micro-controller. We are trying to run the program on the olimex website for the Accelerometer.  The program compiles, but is no data displayed on the serial monitor.  Even when we run the example &#34;Hello world&#34; program, we still get no display.  We selected the correct board in the board menu.  We were also able to get the blink demo working, but we cannot get any data from the serial window. We are using windows 7. Please help.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
