Added Silab reset code on error detection