Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
controlBuff
PostPosted: Feb 09, 2010 - 06:49 AM
Newbie


Joined: Feb 09, 2010
Posts: 1


I tested the connection with the butterfly using Smiley's Developer Terminal. Instead of ?????? all the terminal showed was a series of squares. When I tried to send my name only the first letter appeared on the butterfly.

I tried the Bray's Teminal and it worked better but not good. I was able to get the series of ???????. When I sent my name the butterfly showed a couple of correct letters and then a series of incorrect letters and spaces.

I tried two different real serial ports and a USB/RS232 adapter cable and got the same results.

Finally I tried using Hyper Terminal. I got the ????? and was able to display my name on the butterfly. Both of the real serial ports and the USB/RS232 adapter cable worked as well. After a very trying time I am a happy camper.
 
 View user's profile Send private message  
Reply with quote Back to top
ghanson
PostPosted: Mar 20, 2010 - 09:03 PM
Newbie


Joined: Mar 20, 2010
Posts: 4


I've been reading (and fuming) for a few days trying to confirm that my Butterfly was correctly set up.
I'm using an FTDI EVAL232R USB to RS232 converter. I confirmed it was working, shorted pins 2 and 3 and saw the sent data repeated back.
I first used Smiley's Developer Terminal, however, I couldn't get the ?????? or download anything other than the first character. I've read a lot of posts here from others with the same experience. I ran Bray's Terminal and was able to see received data, although it wasn't anything readable. Here is the log file:
Terminal log file
Date: 3/20/2010 - 11:34:55 AM
-----------------------------------------------
÷û÷ûÿ÷ÿûû÷ûû÷÷û÷÷ûÿûûÿûûûûÿÿûûûûû÷÷ûÿûû
FF F7 FB FB FB FB FB FB F7 FB F7 FB FB FB FF FB
-----------------------------------------------
Date: 3/20/2010 - 11:41:40 AM
End log file

You can see the first line is ASCII and the next line is HEX. Anyway, no good. Alas, with Bray's Terminal I couldn't get any of the sent data to show on the Butterfly.

I saw your post and loaded up HyperTerminal. I set the connection to COM4, set the Port Settings, and set to echo typed characters locally. I powered on the Butterfly, pressed the joystick center down and voila, I was seeing ????????????. I then set the Butterfly to Waiting for Download, typed "Praise the Lord" into the terminal screen and pressed Enter. Woohoo! "PRAISE THE LORD" is scrolling across the LCD screen of the Butterfly and it is glorious!

Now I can begin working my way through Smiley's Workshop. Very Happy
 
 View user's profile Send private message  
Reply with quote Back to top
DocJC
PostPosted: Mar 20, 2010 - 11:46 PM
Raving lunatic


Joined: Dec 11, 2007
Posts: 3033
Location: Cleveland, OH

Glad to hear you both have it working!

And Welcome, both, to the forum.

JC
 
 View user's profile Send private message Send e-mail Visit poster's website 
Reply with quote Back to top
ford2go
PostPosted: Mar 21, 2010 - 05:42 AM
Wannabe


Joined: Aug 08, 2008
Posts: 99
Location: Minnesota

The much maligned Hyperterminal finally gets some creds Smile
 
 View user's profile Send private message  
Reply with quote Back to top
smileymicros
PostPosted: Mar 21, 2010 - 04:30 PM
Raving lunatic


Joined: Nov 17, 2004
Posts: 4528
Location: Great Smokey Mountains.

Did you guys read and follow the Butterfly FAQ communications problems section?

Did you open the setting menu and verify that the baud rate was 19200?

When I see the problems described it is always because I didn't set the baud properly. Expcept with Bray's Terminal, and that is usually because I didn't check the CR+LF box.

Smiley

_________________
FREE TUTORIAL: 'Quick Start Guide for Using the WinAVR C Compiler with ATMEL's AVR Butterfly' AVAILABLE AT: http://www.smileymicros.com
 
 View user's profile Send private message Visit poster's website 
Reply with quote Back to top
ghanson
PostPosted: Mar 21, 2010 - 09:43 PM
Newbie


Joined: Mar 20, 2010
Posts: 4


I did try to do my homework first. I read Workshop 1 and the AVR Workshop 1 Supplement - Comm Problems. I confirmed that the port was set to 19200 baud and that it was set properly in Developer Terminal. Then I crawled all over AVRFreaks looking for a fix. Yet I couldn't get it to work.

I'm sure it's a case of Operator Error and some day later I'll work on it.

BTW, no problems with AVRProg nor downloading and running CylonEyes! I'm really enjoying the tutorial, Joe. Thanks for making it available (and for putting the Butterfly++ kit together).
 
 View user's profile Send private message  
Reply with quote Back to top
cmorrow
PostPosted: Apr 09, 2010 - 12:26 AM
Newbie


Joined: Apr 01, 2010
Posts: 1


Sounds like this thread is for me then. I just barely got my Butterfly and the exact same problem is happening to me. I haven't had time yet to try any other terminals but as soon as I get home from work thats what I'm going to do. I have verified the baud rate is 19200 and have gone through all communications tutorials. Controlbuff and ghanson thank you thank you for posting your solutions, im excited to see if it works for me too. I'll let you know if i have any questions regarding hyperterminal

Edit:

Worked! It took some fiddeling with, but I got it. I guess thats one of the best ways to learn though right?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits