
Instructions for flashing newest VS1010 usb uart software to VS1010_usb_uart.


If the device is VS1010 usb uart. Follow these instructions:

1. Device must be booted to other bootmode than 9, preferably bootmode 4 (USB SPI FLASH WRITER). 
 VS1010 usb uart is set by default to boot in to this mode (9). 
On the board, on the same side where VS1010 chip resides,
 there is plated hole marked XHLD0, it is right next to the GND pin which has black cable soldered to it.
We need to short those two (XHLD0 to gnd) to get the VS1010 usb uart to bootmode 8. 
VS1010 changes bootmode when power is applied, so short those two pins and then plug it into USB.
Make sure that the cable isn't connected when plugging it to USB, this might forbid the VS1010 to reboot.

2. When on bootmode 8, the short can be released, and operating system will find it as a COM device and a direct access is applied using
 any serial console program. clicking enter should return text: "VS1010>".
Type "reboot 4" without quotes and enter, to get the usb uart to bootmode 4 which is USB SPI FLASH WRITER.    

3. Operating system will find the vs1010 usb uart as a new removable flash drive. 
First we need to format the drive to use file system FAT, name can be anything.

All files from folder rel_1_2 should be copied directly to the flash drive, 
and drive needs to be unmounted before resetting it. 
( directly copying the files: there should be atleast SYS folder and boot.dlx on the drive,
rest of the files are optional and can be used for rescue purposes, (Delete.dlx deletes boot.dlx))

4. Resetting can be done by disconnecting it from USB and replugging it. 
Device should now be ready to use as a USB-UART device.
To test if everything went correctly short uart TX (green) and RX (white) cables, open console and type,
 anything typed should be seen on console as returned from UART RX.


