Added support for system message (version and chip info)
Fixed bug in error reporting