fix make rule for sdcv
fix cast data to unsigned char*