You should be able to fix it by unmounting it, running sfdisk on it to delete and recreate the first partition and finally using mkfs.vfat -F 32 to "format" the partition as FAT32.