PC에서 serial port를 이용해서 embedded system을 control 또는 debugging 하는 것은 개발자 들에게 꼭 필요한 일 입니다. 시중에 몇가지가 있지만 필요한 기능들이 많이 부족하고 그다지 마음에 들지도 않아서 Visual Basic을 이용해서 만들어 봤습니다. 주변에 사용하시는 분들의 조언을 받아 기능이 계속 Upgrade되고 있습니다. free하게 사용 하시면 됩니다. 하지만 error가 있을 수 있습니다. 양해해 주시기 바랍니다. 설치는 필요 없습니다.
It is quite important for the engineers developing embedded system to control and debug its hardware and firmware. There are some good programs in the market but they are too complex or too simple for me, so I've made mine using Visual Basic. Functions are continuously upgraded referring to my colleagues' opinions. There is no copy right, so download and use freely. There might be errors, please understand. No installation is required.
Click here to download SerialCommander V4.6
Click here to download example command file
1. Features
1) A group of commands can be transmitted and repeated with specified interval.
2) List of Commands can be saved and read in.
3) Work space also can be saved and retrieved automatically when starting.
4) All pane colors and fonts can be reconfigured by user.
5) User scratch pad is provided for memo and can be saved and recalled.
6) Conversion functions for selected text are provided.
ASCII -> HEX, Integer, Floating point,
HEX -> ASCII, Integer, Floating point,
7) Little or Big endian selection
8) Separate hex monitoring window can be opened.
9) Header and delimiter selection
10) ASCII and binary hex mixed command can be transmitted by using '$' sign.
11) A time stamp can be shown to help monitor an experiment.
12) File dump and RX logging are provided.
13) Search text pattern function
14) All panes are resizable.
15) Additional 40 more commands can be used.
16) Multiple application can be opened and numbered.
2. Main Toolbar
| File operation |
2) Open an existing command file
3) Save current commands in a file
** New command editor : enter new commands and save
2) Baudrate select
3) Comm port open|close
4) Comm port setup
1) Shows ASCII table
2) Invoke windows calulator
3) Custom hex converter/calculator
2) Save current user workspace
3) About + brief usage
1) TX/RX Transaction flashes ( Red for TX and Green for RX )
2) Predefined command for abort and reset(format selectable using dropbox)
3. TX pane Toolbar
Clears current display of TX pane
Displays separate HEX monitoring window
Stamps current time in the TX pane
2) Wordwrap On/Off
3) Find text
1) Change Endian : L represents Little, B for Big
2) Convert ASCII to HEX( Use dropdown to select mode
( Hex, integer 32 bit, float 32 bit )
The conversion results will be shown in the conversion
results pane.
example : 12500 is selected, and the results
The results show each conversion
4) Multiple conversion is allowed( 2 or more selection )
1) Opens file for dump ( Use dropdown to show contents )
2) Send file contents( Dump )
Saves selected text to a file
4. TX pane Statusbar
1) Display mode select : Use dropdown box to select display mode options
2) ASCII mode : Unprintable character option Null, CarriageReturn
3) HEX mode : Show address column - hex | decimal address
check selected again will make no address
Spacing on/off between bytes
Bytes/Line select ( 8 or 16 )
4) TXchrs : click to reset character counter
5) Selected : shows how many characters are selected.
5. RX pane Toolbar and Statusbar
RX pane is identical to the tools in TX except for logging button.
Click to start to log data from RX. Specify file name at start. To stop logging, click this button again.
6. Conversion Results and User Scratch pad
Time stamp and file operations are provided.
7. Group command Column
2) Select a group to be transmitted with radio buttons.
3) Specify command interval between each command.
4) Group command can be repeated with specified interval
and checking Repeat check box.
5) HEX mode can be selected by checking HEX mode.
HEX commands are like this "02 05 1f....03"
6) Select delimiter trimming( CR/LF )
7) Click send to start group command sequence
8. Immediate command Section
1) A header can be sent concatenated with any command and check or uncheck this function in accordance with your needs.
For example, this can be used for specifying address of RS485.
2) Immediate Command List contains all possible command with comments.
Comments are identified with // or /* */ or ' or -- to explain the usage.
Selected command in the combo box will be transferred to the Send Boxes
without its comment.
1) Three immediate command boxes are provided. They can be filled from Immediate Command List selection or be filled with direct typing in.
2) Send button transmits selected one.
1) Options are almost the same as Group commands.
2) Delimiters can be organized with trim and add selection radio buttons.
3) Repeat CMD send the selected with specified interval.
4) More command button(Green +) will provide additional 40 commands.
5) Repeat command also can be applied.
Other options are applied as in the main window.
6) Edit immediate command file button : all commands can be edited here
and can be saved. If you use group and more commands, do not save this
as the same file. This is for only the immediate file. Just close this window
and use file menu in the main tool bar in the case.
9. Main Statusbar
1) CommStatus indicates port status that is connected or disconnected
2) Command File shows currently opened file name. Click file name to show
the last portion of a long file name.
3) RXchrs and TXchrs show the number of characters received and transmitted.
4) Selected shows the number of characters selected.
*** Please feedback when you find some errors or inconveniences.