I tried installing Windows 10 IoT but now I want to come back to Raspbian stretch.
I mounted the sd card on my mac and tried to format the sd card to re-install the OS but my sd card became a 32MB card.
I tried to erase the card with GUI Diskutil but it wasn't working.
I've tried to format also with the terminal using this:
sudo diskutil eraseDisk FAT32 EMPTY MBRFormat /dev/disk1
but stuck on 50% and it never ends.
I've downloaded SD Card Formatter but it throws these errors:
[ERROR] Invalid end of sector signature: 0x0000 [ERROR] fat_check_validate_boot_sector returned error: 22 (Invalid argument) [ERROR] Initializing cached values failed: 22 (Invalid argument) [ERROR] Generated invalid volume. fat_volume_create returned: 22 (Invalid argument)
I'm stuck and I don't know how to re-format this card to re-install Raspbian Strech
I'm using Etcher to burn the sd card and if I use it, it says the there is not enough space.
I don't think it's a duplicate of the question SD Card Showing as 30 MB on a 32 GB Card. Can't Format, Can't create a partition table as in that question, there are no error codes more he is working on Linux and not on OS X. Since I didn't tried with Linux and Windows I don't know if it is the same problem.