improve motor
add 'mode' to protocol
show motor info for debug