generate error records for dataflash