TFT Displays

From Hack Manhattan Wiki

A generous soul donated a handful of very hard to develop for TFT displays, the GEN4-IOD-24T from 4D Systems. They need some extensive setup to work with unfortunately, but once mastered, can be quite powerful! They even have a touch display!

Much of this guide was thanks to the work of Silvia Rothen on their blog post about this display, & the work of both Citybadger & Tristan!

Software & Driver Installation

@tristan please fill in

Formatting microSD card to FAT16

Run diskpart in the command prompt.

C:\Users\user>diskpart
Microsoft DiskPart version 10.0.22000.653
Copyright (C) Microsoft Corporation.
On computer: ADMINISTRATOR

List the disks and select the disk to be formatted. Be careful here to select the correct one!

DISKPART> list disk
Disk ###  Status         Size     Free     Dyn  Gpt
--------  -------------  -------  -------  ---  ---
Disk 0    Online          640 GB      0 B        *
Disk 1    Online           14 GB  3072 KB
DISKPART> select disk 1
Disk 1 is now the selected disk.

List the partitions, select then delete each one:

DISKPART> list part
Partition ###  Type              Size     Offset
-------------  ----------------  -------  -------
Partition 1    Primary             14 GB  4096 KB
DISKPART> select part 1
Partition 1 is now the selected partition.
DISKPART> delete part
DiskPart successfully deleted the selected partition.

This drive ^ has just one partition, but if there are multiple, you'll need to select and then delete every partition.

Create a new one of size 4000 MB. This will overwrite all data on the drive.

DISKPART> create part primary size=4000
DiskPart succeeded in creating the specified partition.

Then exit diskpart back to command promt.

DISKPART> exit
Leaving DiskPart...

Now format the drive with format X: /FS:FAT/Q where X is the letter of the drive when viewed in the file explorer.

C:\Users\user>format E: /FS:FAT/Q 
Insert new disk for drive E:
and press ENTER when ready...
The type of the file system is RAW.
The new file system is FAT.
QuickFormatting 3.9 GB
WARNING!  The cluster size for this volume, 64K bytes, may cause
application compatibility problems, particularly with setup applications.
The volume must be less than 2048 MB in size to change this if the
default cluster size is being used.
Proceed with Format using a 64K cluster (Y/N)? y
Initializing the File Allocation Table (FAT)...
Volume label (11 characters, ENTER for none)? TFTdisplay
Format complete.
3.9 GB total disk space.
3.9 GB are available.
65,536 bytes in each allocation unit.
63,995 allocation units available on disk.
16 bits in each FAT entry.
Volume Serial Number is 1EBD-CD60