View previous topic :: View next topic |
Author |
Message |
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
Hyperterminal + Other Functionnality |
Posted: Sun Mar 30, 2008 5:13 am |
|
|
Hi everybody,
I'm debugging a board with an RS232 connection, and I'm looking for something like the Hyperterminal but with more functionality.
I would like to send from the PC via RS232 a string of byte with a delay between each string and if I can have the repeat option it would be great.
Example:
- Send 0xAA
- Delay 100ms
- Send 0x55
- Delay 100ms
- Repeat
I was looking on several link that I've found on this forum, but nothing like that...
Do you know a software which is able to do that?
Thanks,
Franck. |
|
|
Guest
|
PC serial software |
Posted: Sun Mar 30, 2008 7:32 am |
|
|
I still used QuickBasic 4.5 for most serial commications program. Yes, i know it's old(so am I) but it's been reliable and easy to use.
And it WORKS !!
Any 'canned' software probably won't have all the features you want or need so why not cut your own code?
In less than a 1/2 hour you should be able have what you need AND when it needs /yet another feature' YOU can easliy modify to suit.
Jay |
|
|
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
|
Posted: Sun Mar 30, 2008 8:22 am |
|
|
Hi Jay,
Thanks for your answer.
I will have a look on QuickBasic 4.5.
When you speak about making my own code, you speak about using a software like CodeGear (or other) to build a custom Hyperterminal?
Unfortunately this is for my work, and we don't have any license for this kind of software, so...
Thanks,
Franck. |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
|
ckielstra
Joined: 18 Mar 2004 Posts: 3680 Location: The Netherlands
|
|
Posted: Sun Mar 30, 2008 9:25 am |
|
|
A more advanced terminal program is Procomm Plus. This old program from the time before web-based internet has a powerfull scripting language allowing you to do the things you mentioned. At US$127 (Amazon) it is not cheap and the GUI is not user friendly to the current standards. Writing a script in Procomm's language is almost as tedious as writing a program in one of the many real programming languages.
Quote: | When you speak about making my own code, you speak about using a software like CodeGear (or other) to build a custom Hyperterminal?
Unfortunately this is for my work, and we don't have any license for this kind of software, so... | CodeGear is not a product but is the company selling Delphi and a C++ compiler.
If cost of the compiler is an issue: Microsoft provides a free downloadable version of their Visual Studio compilers, named the Express editions.
Meereck, thanks for the Braypp Terminal tip. I didn't see there was a new release with more advanced macro possibilities and this looks like the winner!
Documentation is difficult to find: click the help button at the top left of the screen. |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
Posted: Sun Mar 30, 2008 9:53 am |
|
|
Having re-check the Bray website, there is a new version released 2 weeks ago. I have just tested it out, and it seems this version (20080315) works well for me.
have fun, guys.
M. |
|
|
jma_1
Joined: 08 Feb 2005 Posts: 147 Location: Wisconsin
|
|
Posted: Sun Mar 30, 2008 1:29 pm |
|
|
Try the newer versions of TeraTerm. The scripting tool -> TTLEdit is fabulous . The macro editor can even debug with breakpoints -> very powerful!!! Other nice features are FTP, SSH, Telnet, etc. The program is either free or minimally priced as shareware (I believe the software is free, but I'm not certain).
I believe anything above version 4 of TeraTerm should have the newest macro features.
Forum link for downloads:
http://www.neocom.ca/forum/viewtopic.php?t=764
Cheers,
JMA |
|
|
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
|
Posted: Tue Apr 01, 2008 11:38 am |
|
|
Hi everybody,
Sorry for my late reply.
I have tried the terminal from the Bray website, both version are working for me.
unfortunately, I can't do exactly what I want with the macro. I can only send a char and set the period of repeat.
I need to set the time between the different chars.
I will have:
- 0x55 0xAA 0x55
- delay 100ms
- and repeat.
I need:
- 0x55
- delay 100ms
- 0xAA
- delay 200ms
- 0x55 delay 50ms
- and repeat.
I have tried TeraTerm too, it looks very powerful, maybe too much for me!!! I was not able to understand how to send what I want via RS232 . I didn't find the help very helpful neither...
I will try to play with visual C++ express, it could be nice to build a nice interface...
Thanks a lot for all your answers.
Franck. |
|
|
Heath
Joined: 21 Dec 2007 Posts: 41
|
|
|
jma_1
Joined: 08 Feb 2005 Posts: 147 Location: Wisconsin
|
|
Posted: Tue Apr 01, 2008 12:15 pm |
|
|
Howdy Franck26,
Simple TeraTerm Example
open TeraTerm & setup port options
run -> macro
or
open macro in TTLEdit and run
TTLEdit Create new macro:
Code: |
connect ‘/C=1’
; run TeraTerm and open serial port connection
; port 1..256
loop_count = 20
; loop control
; hard code loop iterations or setup for other input to cancel
do while loop_count > 0
loop_count = loop_count - 1
send ‘U’
; ascii capital U = 0x55
mpause 100
; pause for 100 mSec.
send ‘U’
; ascii capital U = 0x55
mpause 200
; pause for 200 mSec.
send ‘U’
; ascii capital U = 0x55
mpause 50
; pause for 50 mSec.
loop
disconnect
; closes Macro and returns to TeraTerm
|
The language reference even lets you create simple gui interfaces.
Cheers,
JMA |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
Posted: Tue Apr 01, 2008 2:05 pm |
|
|
Franck26 wrote: | Hi everybody,
Sorry for my late reply.
I have tried the terminal from the Bray website, both version are working for me.
unfortunately, I can't do exactly what I want with the macro. I can only send a char and set the period of repeat.
I need to set the time between the different chars.
I will have:
- 0x55 0xAA 0x55
- delay 100ms
- and repeat.
I need:
- 0x55
- delay 100ms
- 0xAA
- delay 200ms
- 0x55 delay 50ms
- and repeat.
I have tried TeraTerm too, it looks very powerful, maybe too much for me!!! I was not able to understand how to send what I want via RS232 . I didn't find the help very helpful neither...
I will try to play with visual C++ express, it could be nice to build a nice interface...
Thanks a lot for all your answers.
Franck. |
Can you reed the help in Bray's terminal?
Quote: |
example 6.
ABC%DLY0123DEF - this will send ABC and after ~123ms DEF
|
|
|
|
Franck26
Joined: 29 Dec 2007 Posts: 122 Location: Ireland
|
|
Posted: Wed Apr 02, 2008 7:46 am |
|
|
Thanks Meereck,
It's exactly what I needed and it's working fine!!!
Thanks,
Franck. |
|
|
meereck
Joined: 09 Nov 2006 Posts: 173
|
|
Posted: Wed Apr 02, 2008 9:38 am |
|
|
glad it works.
regards M. |
|
|
|