Taillieu.Info

More Than a Hobby..

How to fix SD card won't format error

Method 1. Run diskpart to format SD card that won't format

Step 1. Press Windows key and R key at the same time, type cmd in the Run box, hit Enter to open command prompt(cmd.exe).
Step 2. Type diskpart to run Diskpart Utility.
Step 3. Type list disk to list the drives on the computer.
Step 4. Type select disk 1 (The number should be replaced by the exact drive number of your SD card).
Step 5. Type clean to run the clean utility (this will wipe all data on the SD card so make sure you saved a copy or backup of the card data).
Step 6. Type create partition primary to create a new partition on the SD card.
Step 7. Type select partition 1 (it should be the newly created partition on step 6).
Step 8. Type active to make the partition active.
Step 9. Type format fs=ntfs (or format fs=fat32)to format the partition to the desired file system.


 

Part 2: Fix SanDisk SD card won’t format error

#1. Run CHKDSK to fix won’t format SanDisk SD card error

  • Right-click on Start to selectCommand Prompt (Admin) or click Start and type: cmd > click exe to bring up Command Prompt
  • Sign in as an administrator and type: chkdsk E: /f /r and hit Enter; (Replace E: with the drive letter of SanDisk SD card)
  • Exit CMD and enter Disk Management tool, find SD card, right-click on it and select Format volume
  • Reset file system and drive number of the SD card, click OK to confirm the format

#2. Run DiskPart to fix SanDisk Card won’t format error

  • Open Command Prompt by right-clicking Start >Command Prompt (Admin) or search cmd from Start
  • Type: diskpart to bring up DiskPart utility
  • Type: list disk and hit Enter
  • Type: select disk 1and hit Enter (Replace with the drive number of your SD card)
  • Type: clean and hit Enter
  • Type: create partition primary and hit Enter
  • Type: select disk 1and hit Enter (Replace 1 with the drive number of SD card)
  • Type: active to make the SD card partition activate
  • Type:format fs = NTFS or format fs = fat32 and hit Enter
  • Type:assign letter = F
  • After this, type exit to finish the process

Barbecue Syllabus

AI-Thinker ESP8266 Black Board T5 (ESP-13)

Product description

The Black Board T5 is based on the ESP8266 chipset and carries also:
  • temperature- and humidity sensor
  • RGB LED
  • power supply via 3pcs AA battery or via external 5V

Full Features:
  • It supports 802.11b / n / g wireless standards
  • Support UART / GPIO data communication interface
  • Support STA / AP / STA + AP coexistence mode
  • Support SmartLink intelligent networking capabilities (provided APP)
  • Support wireless upgrade firmware
  • WPS support networked configuration
  • Built onboard antenna
  • Temperature and humidity sensor
  • RGB LED
  • AT command set provides a rich configuration
  • Cloud services are available free of AiCloud debugging
  • 3 AA batteries / 5V adapter power supply
  • Dimensions: 61.6mm x 56.2mm
 
 

ESP8266 T5 ‘Black Board’

AI-Thinker has a dev board which contains a relay, buzzer, a temperature/humidity sensor and a number of different color LEDs, the intention apparently being to provide simple device to start playing with IOT.

However the ‘brains’ of the board is not the ESP-8266 on the board, but is in fact a  STC15L2K32S2 microcontroller which unfortunately is what the relay, buzzer, sensor and LEDs are connected to.

However, you can still make use of the ESP-8266 by isolating it from the STC chip.

Accessing the ESP-8266

The ESP-8266 on this board appears to be preprogrammed with the standard ESP-8266 AT command set to interact with the STC chip like a WIFI modem.

Set your serial terminal program to 115200 baud rate and carriage return, line feed both on.

Disconnect the jumpers from WIFI_TX, WIFI_RX.

Connect the serial cable’s Rx lead to the left pin of the pair of pins marked WIFI_RX,  the Gnd lead to the WIFI_GND pin and the Tx lead to the left pin of the pair of pins marked WIFI_TX. Enter the following in your serial terminal program to stop the annoying beeping:

Connect the serial cable’s Rx lead to the right pin of the pair of pins marked WIFI_TX,  the Gnd lead to the WIFI_GND pin and the Tx lead to the right pin of the pair of pins marked WIFI_RX. Enter  AT+GMR in the terminal and the ESP-8266 should respond with something like:

References: