improve switch
improve genererate
costam
add crc32 files, add frame