cancel
Showing results for 
Search instead for 
Did you mean: 

HyperTerminal example re-work

Grom
Associate II
Posted on July 20, 2010 at 12:07

Hello all ,

After all your feedbacks on the HyperTerminal example, we're currently reworking the package (documentation and source code) .

the new sources (um0884.rar) are in attachement of this post .

in this corrected version, UART2 is initialised as :

        - 9600 bauds

        - 8 Data bits

        - 1 Stop bit

        - no parity

HyperTerminal configuration must also be align to UART configuration (see figure13 & 14 png)

You can also simplify the on-board conection (see figure1.png) 

The Documentation is currently on rebuild and will be published as soon as possible.

By the way thanks for your patience and sorry for the delay on this post .

Best Regards

Grom
9 REPLIES 9
Posted on August 30, 2010 at 02:21

Suggestion for improvement: do not call it a ''HyperTerminal'' example!

It is, I think, simply an example of using the USART for asynchronous RS232 serial comms - HyperTerminal is entirely irrelevant as far as the microcontroller is concerned!

 

The code is in no way specific to or reliant upon HyperTerminl - it would work equally well with any other terminal program (not necessarily a PC or Windoze program), or any real terminal.

The code simply sends characters to the UART, and receives characters from the UART - it neither knows nor cares where the transmitted characters go to, nor where the received characters came from!

Giving the impression that this is in some way specific to HyperTerminal just confuses novices...

(it also suggests a certain lack of clarity of thought on the part of the authors)

Posted on September 16, 2010 at 23:33

It's not even as if Hyperterminal is a standard part of Windows any more:

http://windows.microsoft.com/en-US/windows-vista/What-happened-to-HyperTerminal

Posted on September 25, 2010 at 10:59

See also:

[DEAD LINK /public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/ARM CortexM3 STM32/Hyperterminal is not the only terminal program!!&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E]https://my.st.com/public/STe2ecommunities/mcu/Lists/ARM%20CortexM3%20STM32/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fARM%20CortexM3%20STM32%2fHyperterminal%20is%20not%20the%20only%20terminal%20program%21%21&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000626BE2B829C32145B9EB5739142DC17E

Posted on October 22, 2010 at 18:25

And also:

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8SDiscovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM8SDiscovery/Hyper Terminal Tutorial&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000CCDF802E596CAF44ADED5E61F5CA8B1B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8SDiscovery/AllItems.aspx&currentviews=21]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8SDiscovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM8SDiscovery%2fHyper%20Terminal%20Tutorial&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000CCDF802E596CAF44ADED5E61F5CA8B1B&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM8SDiscovery%2FAllItems%2Easpx&currentviews=21

Posted on November 24, 2010 at 08:40

Bug in Int2Str - see:

[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM8SDiscovery/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM8SDiscovery/Type conversions&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000CCDF802E596CAF44ADED5E61F5CA8B1B&TopicsView=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8SDiscovery/AllItems.aspx&currentviews=25]https://my.st.com/public/STe2ecommunities/mcu/Lists/STM8SDiscovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM8SDiscovery%2fType%20conversions&FolderCTID=0x01200200770978C69A1141439FE559EB459D758000CCDF802E596CAF44ADED5E61F5CA8B1B&TopicsView=https%3A%2F%2Fmy%2Est%2Ecom%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2FSTM8SDiscovery%2FAllItems%2Easpx&currentviews=25

Posted on November 24, 2010 at 09:20

''we're currently reworking the package (documentation and source code)''

 

Please take care to remember the point and target audience of ''sample'' or ''example'' code:

  • The Purpose is to inform and explain;
  • The Target Audience is people who are not familiar with the software and/or the hardware
See:

http://www.8052.com/forumchat/read/174319

(I cite the 8052.com version because, as we know, links for this forum are unweildy).

Posted on November 24, 2010 at 11:36

''the new sources (um0884.rar) are in attachement of this post''

 

You've changed hyperterminal.c (bad name; see other posts) and main.c - but you haven't updated the version information!

They both still say ''v1.00'' !
carnett1
Associate II
Posted on November 29, 2010 at 14:35

I would like the new hyperterminal.c and the main.c but don't know how to download the attachment.  Would you tell me how to download the attachment?