oehSerCMD - Serial Commands
Serial Commands library is designed to simplify communication between microcontroller board and personal computer over RS232 serial interface. Library uses packet communication to access to various memories on microcontroller board. Memories and variables are accessed through address table defined in microcontroller program. Developer only build access table that contains his variables and their types. Library alone reads and writes content of variable and communicates with PC over a serial port.
Packets are built from set of visible characters that allows to test application during developing phase directly over common serial terminal. Each packet has open and close character so it allows to use serial port concurrently for debugging application.
There is a test bench program available to simplify developing phase. The test bench program builds and decodes communication packets and it has easy serial terminal for program debugging.
- Published on Saturday, 04 May 2013 03:53
It is easy to implement Serial Command Library to a new or already finished source code. You do not need to change your variables and memory structure. Just only initialize the library in setup function in your code and create access tables with list of your variables and memory structure. Deeper solution see in a following code examples.
- Published on Tuesday, 16 April 2013 10:04
The Test Bench program for Serial Command library opens easier way to use serial interface for configure your program on microcontroller. It handles communication with microcontroller through a packet communication. The Test Bench program creates and decodes packets with data. Program has easy serial terminal that allows to see serial communication content and Log terminal that logs all packets and data between both devices.
- Published on Friday, 15 March 2013 09:56
Serial Commands library is designed to simplify communication between microcontroller and PC over serial RS232 interface. Library uses packet communication format to access to various memories inside microcontroller or on PCB board. Memories and variables are accessed through access table declared in user source code. Developer only build access table that contains variables, size and their types. Library alone read and write content of variable and communicates with PC over serial port.