Parts and library
Arduino Uno WiFi Rev. 2
Amazon.com: Amazon Basics microSDXC Memory Card with Full Size Adapter, A2, U3, Read Speed up to 100 MB/s, 64 GB, Pack of 2, Black/Customized : Electronics. Yes, I am (now) aware that SDXC cards are not compatible with the built-in SD library, which is why I am trying to use the following library.
(More info)
Output from 'QuickStart' example sketch
MISO: 33
MOSI: 32
SCK: 34
SS: 22
Be sure to edit DISABLE_CHIP_SELECT if you have
a second SPI device. For example, with the Ethernet
shield, DISABLE_CHIP_SELECT should be set to 10
to disable the Ethernet controller.
SD chip select is the key hardware option.
Common values are:
Arduino Ethernet shield, pin 4
Sparkfun SD shield, pin 8
Adafruit SD shields and modules, pin 10
Enter the chip select pin number:
I pick 8.
Assuming the SD is the only SPI device.
Edit DISABLE_CHIP_SELECT to disable another device.
SD initialization failed.
Do not reformat the card!
Is the card correctly inserted?
Is chipSelect set to the correct value?
Does another SPI device need to be disabled?
Is there a wiring/soldering problem?
errorCode: 0x1, errorData: 0x0
Output from 'SdFormatter' example sketch
Assuming the SD is the only SPI device.
Edit DISABLE_CS_PIN to disable an SPI device.
Assuming the SD chip select pin is: 22
Edit SD_CS_PIN to change the SD chip select pin.
Type any character to start
...
This program can erase and/or format SD/SDHC/SDXC cards.
Erase uses the card's fast flash erase command.
Flash erase sets all data to 0X00 for most cards
and 0XFF for a few vendor's cards.
Cards up to 2 GiB (GiB = 2^30 bytes) will be formated FAT16.
Cards larger than 2 GiB and up to 32 GiB will be formatted
FAT32. Cards larger than 32 GiB will be formatted exFAT.
Warning, all data on the card will be erased.
Enter 'Y' to continue:
I press 'Y'.
error: card init failed.
No card, wrong chip select pin, or wiring error?
SD errorCode: SD_CARD_ERROR_CMD0 = 0x1
SD errorData = 0x0
Further notes
I've even tried changing the SPI clock speed.