After reading Windows 8 install procedures in MSP430USB documents, how could any developer rely on MSP430USB code intended for devices used by non IT people?
The user’s install procedure includes finding then using device manager to delete the driver; finding then using RUN command to perform a special reboot of windows with command line switches; interacting with a special Windows boot-up window, checking “allow unsigned drivers”; dealing with a window warning about unsigned drivers; clicking “browse” and finding the location of the inf file. I think I left a few steps out.
Another problem is the use of window’s usbser.sys. If the user pulls the USB cable, while the port is opened by a program, there is no standard windows api warning issued i.e. usbser.sys doesn’t support standard windows api, only an unknown subset. If program with opened port, writes one or more bytes to the port, usbser.sys enters a state where the USB COM port can never be used again until windows is rebooted. Uninstalling the drivers, unplugging the USB cable, plugging it back in, reinstalling the drivers, does not restore the use of the port. Only the reboot.
MSP430USB needs a certified usbser driver and a driver install program. They need to support serial_state. We use FTDI which installs easily, frees MSP430, makes serial_state a line trace to a pin, includes TX/RX LED, SLEEP, #POWER, and includes a great selection of drivers from their website.
The new MSP430F6x are intriguing but with the use of the LCD pins, allows only one UART. If one used it with a FTDI chip then there wouldn’t be any UART available. Too bad they didn’t include UARTA1TXRX in program pin list. All kinds of interesting things include uarts.