CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Hyperterminal + Other Functionnality

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Franck26



Joined: 29 Dec 2007
Posts: 122
Location: Ireland

View user's profile Send private message

Hyperterminal + Other Functionnality
PostPosted: Sun Mar 30, 2008 5:13 am     Reply with quote

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
PostPosted: Sun Mar 30, 2008 7:32 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 8:22 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 8:47 am     Reply with quote

hi, check this RS232 terminal : http://braypp.googlepages.com/terminal
it has got a straightforward scripting feature (called MACROs). I have just checked it's features, and it seems to be exactly what you need
Anyway, I have some troubles with the most recent version. You can get 2 years old one from here : http://rapidshare.com/files/103553837/Terminal_back.zip.html

meereck


Last edited by meereck on Sun Mar 30, 2008 9:50 am; edited 1 time in total
ckielstra



Joined: 18 Mar 2004
Posts: 3680
Location: The Netherlands

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 9:25 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 9:53 am     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Mar 30, 2008 1:29 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 01, 2008 11:38 am     Reply with quote

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 Embarassed . 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

View user's profile Send private message

PostPosted: Tue Apr 01, 2008 12:13 pm     Reply with quote

I am a fan of RealTerm

http://realterm.sourceforge.net/
jma_1



Joined: 08 Feb 2005
Posts: 147
Location: Wisconsin

View user's profile Send private message

PostPosted: Tue Apr 01, 2008 12:15 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Tue Apr 01, 2008 2:05 pm     Reply with quote

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 Embarassed . 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

View user's profile Send private message

PostPosted: Wed Apr 02, 2008 7:46 am     Reply with quote

Thanks Meereck,

It's exactly what I needed and it's working fine!!!

Thanks,
Franck.
meereck



Joined: 09 Nov 2006
Posts: 173

View user's profile Send private message

PostPosted: Wed Apr 02, 2008 9:38 am     Reply with quote

glad it works.
regards M.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group