Add application firmware CRC checking

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>