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.

Latest Release

Stable: Serial Commands Library Latest Release, version 13.4.0

Development: Serial Commands Library Latest Release, version 13.6.0

How to Use Serial Command Library

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.

Read more: How to Use Serial Command Library

Test Bench Program for SerialCMD Library

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.

Read more: Test Bench Program for SerialCMD Library

Introduction to Serial Commands Library

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.

Read more: Introduction to Serial Commands Library

Creative Commons License