In BLHost, the erase region should not start at 0. That will erase the partition table, starts at 4k (0x1000) to start of filesystem partition. (see below how to assign un-allocate region)
The BLHost flash-erase-region end address must not exceed the filesystem partition created using diskpart
$BLHOST -t 100000 -- flash-erase-region 0x1000 0x200000 0x120
If you have windows OS (Win 8 – Win 10), use diskpart command in command prompt (administrator).
***** NOTE: Be VERY EXTREMELY careful when you select the drive, accidently select the wrong drive will not be NXP responsibility!!! *****

I have a 4GB standard SD card to USB adapter connects to PC. Type list disk to list all the drives.

Type select disk # to select the disk you want to work on.

Type list disk again, you will see ‘ * “ next to the disk. That means the disk is selected.

Type clean will delete the partition

Provide offset when create the partition. The filesystem is defined when format is used.


Another example: 4MB offset


The partition is not formatted, it needs to be assigned a file system (FAT32/exFAT/NTFS) by formating it using the following methods:


