In SX Microcontrollers, SX/B Compiler and SX-Key Tool, John Kauffman wrote: [3]I've put together various posts and downloads to get info on the USB2SER working with my Hyperterminal and SX Tech Tool. [/3] [3]I'm close, but hypertext is showing me garbage instead of a message. [/3] [3] [/3] [3]Note that I for programming and debug I use the Parallax USB to Serial convertor which then goes to a serial cable to my SX for programming and debugging (COM4). That stays plugged in while running the program. For the USB2SER I use a second USB port and cable to COM5. [/3] [3] [/3] [3]Here is what I did:[/3] [3]Plug the USB2Ser via cable into PC [/3] [3]Driver was found and message that the hardware is ready to use[/3] [3]Check COM assignment = COM5[/3] [3]Change com5 latency from 16 mSec to 1mSec[/3] [3][/3] [3]SX breadboard connectsion from USB2SER to SX[/3] [3]RES to 20k resistor to RB.0 necessary or optional?[/3] [3]TX to 20k resistor to RB.2 resistors necessary? [/3] [3]RX to 20k resistor to RB.1[/3] [3]Vss direct to Vss[/3] [3]Set up hyperterminal[/3] [3]New connection, give name[/3] [3]Connect Using COM5[/3] [3]Set Post settings to defaults[/3] [3]Bits per second = 2400[/3] [3]Data bits = 8[/3] [3]Parity = none[/3] [3]Stop bits = 1[/3] [3]Flow content = Hardware[/3] [3]session is automatically started.[/3] [3] [/3] [3]>>>>>>>>>>>>> [/3] [3] [/3] [3]Test #1 Program in SX/B[/3] [3]DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX[/3] [3]FREQ 4_000_000[/3] [3]PROGRAM Main[/3] [3]Main:[/3] [3] SEROUT RB.2, N2400, "hello"[/3] [3] [/3] [3]Load and run the program, view Hyperterminal[/3] [3]Observed: continious flow onto hyperterminal screen of an ASCII character (like an F - probably a double lined-border character)[/3] [3] [/3] [3]>>>>>>>>>>>>> [/3] [3] [/3] [3]Test #2 Program in SX/B[/3] [3]DEVICE SX28, OSC4MHZ, TURBO, STACKX, OPTIONX[/3] [3]FREQ 4_000_000[/3] [3]PROGRAM Main[/3] [3]Main:[/3] [3] DO[/3] [3] SEROUT RB.2, N2400, "hello"[/3] [3]LOOP[/3] [3] [/3][3]Load and run the program, view Hyperterminal[/3] [3]Observed: one random character appear after each press od SX Tech Tool reset button[/3] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=148657 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)