Serial Port Drivers and Firmware Upgrade

Similar documents
Application Note for Configuring XBee S1 Modules Using CoolTerm on Mac OSX

IDWedgeBT USB Virtual Serial Port Cable Installation, Configuration and Operation

Programming and Cloning BL6xx and RM1xx Modules with the QPK-NRF5x-01

ZFSM-201-KIT-1 Wireless UART Application User Guide

PL-2303 USB-to-Serial Bridge Controller Mac OS X Universal Binary Driver Installation Guide (for Mac OS X 10.9, 10.10, 10.11, 10.

Smart Flash Drive SecurePRO User Manual. Version_010

AN-27. Installing USB Drivers for Pumpkin's CubeSat Kit

EARTH PEOPLE TECHNOLOGY. VISIPORT 2 USB To Serial Adapter User Manual

Ps3 Manual Setup Wireless Controller To Pc Via Usb Windows 8

What s in the box. Connection Please see also a video tutorial at Securing wire. 4 pin adapter.

AMT203 ABSOLUTE ENCODER Demo Kit User Guide DISCONTINUED

Retrieving Diagnostic Information

Wunderbar upgrade to Conrad Connect firmware and onboarding manual

PIC APPENDIX (FIRMWARE UPDATE) tinybldwin... AML+ Tiny BootLoader This utility is used to install AML+ firmware updates.

iclass Reader (RevA) PIC 18F452/18F6621 RAM Dumper Operating Instructions

Temperature-Humidity Sensor Configuration Tool Rev. A 1/25/

Remote Display User Manual

Kinetis Updater User's Guide

1320 Electronics LLC USB-ALDL Cable User s Guide Electronics LLC. User s Guide for: USB-ALDL Cable

PI Scanner User Guide

SERVICE INSTRUCTION. Updating the firmware and software on the RCS-2

A113X1 Development Kit

Remote Display User Manual

EECS 1710 SETTING UP A VIRTUAL MACHINE (for EECS labs)

MP3 Trigger v2 User Guide

Avnet Zynq Mini Module Plus Embedded Design

Voice Pager MODEL:VP101

PowerVIEW HD 22/30 Version

Read Naturally SE Update Windows Network Installation Instructions

Magic Switch. Windows to Windows Windows to Android. User Manual

Box Contents. Box Contents. Installation Guide. Using NAS. User s Guide for Web console

Simple Linux Terminal Emulator For Windows 7 Usb

XBee16PRMx 8 channel relay card + 8 DIO + 8 relay or DIO with Wireless (Xbee) interface Low cost Data Acquisition & Control products

USB TO RS-232/RS-422/RS-485 ADAPTER

USB DRIVER INSTALLATION GUIDE

KISS WiFi setup and configuration

ROCKBOX CURVE Full manual

Configuring the Switch

Explore Scientific PMC-Eight Application Note PMC8-AN002 DOC-ESPMC8-AN002 Rev July 17 Page 1 of 5

STM-1 Mux SONET/SDH Multiplexer User Manual

linkzone User ManUal

Quick Start Guide SBC21/NSD21/EC 21 SBC21 / EC21 / NSD21. Quick Start Guide. Copyright IC Nexus Corporation. All rights reserved

Intel Galileo Board. Getting Started Guide. 02 October Order Number: US


Fremont (MAXREFDES6#) Nexys 3 Quick Start Guide

KRS Corporation, LLC. Programmable 20 Button USB Keypad. KRS Keypad Configuration program setup and usage. V 1.1

Microsoft Remote Desktop setup for OSX, ios and Android devices

Campbell (MAXREFDES4#) Nexys 3 Quick Start Guide

Developer Information. Videohub. Includes Blackmagic Videohub Ethernet Protocol and Videohub RS-422 Protocol

OVERDRIVE Quick Start Guide. v.1.0

Serial Basic Hookup Guide

Tutorial How to upgrade firmware on Phison S8 controller MyDigitalSSD using a Windows PE environment

TouchKit TouchScreen Controller User Manual for imac Version: 1.0.8

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

WB40NBT Quick Start Guide Version 2.0

Predator Revision Update Instructions PREP:

BT LE RN4020 USB Dongle Datasheet

Regit Express EZInventory

Device drivers for samsung galaxy s plus. Device drivers for samsung galaxy s plus.zip

DVI Desktop 4-Port Audio-Combo-KVM Switch

Revision 1.0.0, 5/30/14

Teseo-Suite. PC tool to manage, configure and evaluate the Teseo GNSS family Quick Training Guide. v. 1.0

USB485. USB to RS485 Converter Card. User Manual for connecting with Windows Vista Version 1.01

ZigBeeNet Software 1.0 Application Note. Serial Bootloader. Doc. AN-481~04 v.1.2 March MeshNetics

Echo Digital Audio Corporation AudioFire 2 AudioFire 4 AudioFire 8 AudioFire 12 AudioFire 8a AudioFirePre8 Gibson RIP Release 5.7.

ScanSKU: Picking App User Guide

MCS-TOUCHSCREEN Auto Disk Clean up

Your File System Applications What s running on your machine It s own devices Networking. L07 - Getting to know your computer

imx6 TinyRex Development Kit QUICK GUIDE

Quick Guide. Full Install on Hog 4 OS Consoles Jan 4, 2017

Tethering an Android Smartphone to USB Devices

Plug & Play Air Mouse

Installation and Operation Manual

MAXREFDES43# ZedBoard Quick Start Guide

Docking Station Operational Description

Giga-tronics ASCOR Series 8000 Switch

CNC4PC. M1 Modbus Serial Server Manual Rev. 2

GLOG V2. Quick Guide

Tutorial - How to upgrade firmware on Phison S9 controller MyDigitalSSD using a Windows PE environment

Using the Routing Demo program

CHAPTER 17 COMPILING/SIMULATING/DOWNLOADING A PANEL APPLICATION

AT&T USBConnect Mercury Getting Started Guide

TouchKit TouchScreen Controller User Manual for Mac Version: 1.0.8

WinDSX New Installations

SIS offline. Getting Started

System Requirements for Online Testing

Table Of Content 1. What s in the box 3 2. About the unit 4 3. Getting started 5 4. Networking options 6 5. Turning on the MTC-5000 Unit 7 6.

Lionstracs Groove X-R

USB RS485/RS422 Converter INTRODUCTION USB-i485 USB-i485 SPECIFICATIONS USB-i485 USB-i485 NOVUS AUTOMATION 1/8

E-bot and E-bot ADV Firmware Upgrade Manual for v1.3.0

Echo Digital Audio Corporation AudioFire 2 AudioFire 4 AudioFire 8 AudioFire 12 Release 4.6 for Mac OS X

Getting Started with the RN-XV WiFly

KODAK EASYSHARE Software CD V1.X Troubleshooting Guide for Mac OS X

TROUBLESHOOTING : 1. Set up your wireless router via wired connection. 2. Please make sure your adapter is set to obtain IP automatically

SparkFun Blocks for Intel Edison - Base Block

Installing the Ampire UART TFT

PICO-i.MX6UL Development Platform for Android Things Quick Start Guide

How To Connect A Quick Act Ps3 Controller. Without Usb >>>CLICK HERE<<<

INSTRUCTIONS TO UPDATE FIRMWARE FOR

minipcr Mobile App operation (Android devices) Appendix: maintenance and operating conditions

Transcription:

Serial Port Drivers and Firmware Upgrade Jul 2018 2017, 2018, Dilithium Design

Contents Overview... 2 VCP Driver Installation... 2 Telnet Client Installation... 3 Firmware Upgrade... 6 Performing an Upgrade... 6 Mac OSX Driver Installation... 8 Android Driver Installation... 13 Warrantee and Support... 16 Document History... 16-1-

Overview Dilithium Design products such as the EVCC and BMSC use a serial port for configuration and for firmware upgrade. These products are supplied with a USB to serial cable which connects to the host computer by USB and to the EVCC or BMSC by a 3.5mm TRS jack (which looks like headphone jack ). The host computer requires serial port drivers (otherwise known as Virtual Comm Port Drivers ). To use the serial port as a terminal requires a terminal application (or telnet client ). To perform a firmware upgrade requires a separate application, the firmware downloader utility. The steps to install the necessary software are basically the same regardless of host computer and operating system. Installation instructions are given below for Windows, using the popular PuTTY terminal applications. Later sections describe Mac OSX and Android installation instructions. Note that there are also good tutorials available on the Internet on how to install the Virtual Comm Port Drivers and application software. Search for ftdi installation, putty installation, etc. VCP Driver Installation Step 1: Download and install the Virtual Comm Port (VCP) driver on the host computer. The VCP drivers allow the host computer to treat the USB port as serial port. VCP drivers are available at: www.ftdichip.com/drivers/vcp.htm. Installation documentation is available at www.ftdichip.com/support/documents/installguides.htm. Step 2: Plug in the serial port cable and determine its assigned device name. The serial port cable has a built-in USB to serial converter and a unique serial number. If the VCP drivers are correctly installed, the host computer will recognize the serial port cable when it is first plugged in and assign it a device name. In Windows, the the serial port device name is of the form COM<n>, where n is a small number. This number can be determined by looking at Control Panel -> System -> Device Manager -> Ports. In the example below, it is COM15. -2-

Telnet Client Installation Step 3: Install a telnet client (e.g., a terminal application ) on the host computer. PuTTY is available for download at http://www.putty.org/. There are many other suitable telnet clients that may be used. Step 4: Configure the telnet client for use. The first time PuTTY is opened, it will present the following: Click on Serial in the Category column. Verify that the Speed is 9600, 8 data bits, 1 stop bit. Enter the Serial Line to connect to (in this case, COM15 ). -3-

Do not hit Open just yet. Go back to Session by clicking the word Session in the Category window. Set the Connection type to Serial. Give the new session a name (in this case EVCC in the Saved Sessions window) and press Save to save the session. PuTTY is now configured. Step 4: Open the comm port. Select the saved session EVCC and click Open. A screen like the following should appear: -4-

Step 5: Connect the serial cable to the device. In this example it is an EVCC. Apply power to the EVCC. A startup banner similar to the following should be displayed: Step 6: Installation is complete. -5-

Firmware Upgrade Firmware upgrade is also performed by using the serial port. Firmware upgrade requires the same VCP drivers as serial communications, however firmware upgrade uses a special bootloader application program. The opensource ds30 PIC bootloader is used, distributed under the GNU GPL license. This bootloader is free and the application runs on Windows, MAC and Linux servers. Documentation, screenshots and downloads are available at: https://picbootloader.com/forum/ Use the Latest Release link. It is necessary to register with the forum before downloading the application. Performing an Upgrade The following example is written assuming the EVCC, however, the process is similar for the BMSC and other Dilithium Devices. Upgrade Step 1: Place the device into upgrade mode. To do this, bring up the console port and type: evcc> upgrade The EVCC will then print some informational text and will enter the upgrade mode. At this point the EVCC is waiting for an upgrade image. The EVCC LED will blink at a very slow blink (once every 2 seconds). It is then necessary to exit from the the terminal application (e.g., PuTTY) and start the ds0bootloader. Upgrade Step 2: Start the ds30 bootloader and select the correct options. When starting the bootloader utility, set the following options. All of these options are on the Basic tab. It is not necessary to set any options on the other tabs Hex File = Use the button on the far right to browse to the file to download. (EVCC230Upgrade.hex). Device = Specify PIC18F as the device family and 26K80 as the device type. Baud Rate = 38400 Port = Use the pulldown to choose the serial port device name, COM18 in this example Write Flash tick this box -6-

Upgrade Step 3: Once the correct parameters are set, click on the Write option (just to the right of Check for bl ). The upgrade should start. The ds0bootloader will show a progress bar, and the EVCC LED will blink at a rapid rate to show that the loading has commenced. Upgrade Step 4: Once the upgrade has completed, it is necessary to exit from the ds0bootloader application, cycle power to the EVCC, and start the terminal application. One can use the show version command to verify that the proper version is running. -7-

Mac OSX Driver Installation Before starting the procedure below, ensure the 12V power is hooked up to EVCC. Finally, insure that the USB to serial cable is plugged into the computer. For MAC OS X, the virtual serial port device name is of the form usbserial-<sn> where <sn> is the serial number of the USB to serial device. An example of what the name of the EVCC would look like is the following: usbserial- FTGDTR8M. The MAC OSX distribution includes the applications terminal and screen, which may be used as a telnet client. However, for MAC OSX, we have used and recommend CoolTerm as it is simpler to install and use. CoolTerm is a program that allows the user to easily access and program the EVCC via OS X. 1. Go to http://freeware.the-meiers.org 2. Click download for mac 3. Extract the.zip file, open the CoolTermMac folder and drag the CoolTerm app into the applications folder. -8-

4. Open the applications folder and double click CoolTerm.app 5. Click Options 6. Ensure the baudrate is set to 9600 (which should already be set by default). -9-

7. Click the drop down menu and select usbserial-<sn> where <sn> is the specific serial number of the EVCC as discussed earlier. Ø Note: The usbserial-<sn> will not show up in the drop down menu if the USB is not plugged in prior to starting the program. If this occurs, exit CoolTerm, plug in the USB cable and restart CoolTerm. 8. Still in Options go to the left hand column and click terminal. Then change the window to match the settings below. -10-

9. Click Connect 10. Press the return key, the EVCC command prompt should come up. -11-

Ø Note: Although the operation of the serial port is very similar to the Windows examples, above, there is one important difference. Windows keyboards generate an ASCII DEL character when a delete is pressed. MAC keyboards generate an ASCII BS character. Current EVCC firmware only interprets the DEL key and the MAC delete key may not work as expected. However, the ASCII DEL character can usually be generated by MAC keyboards (look for another delete key with an x or try pressing FN- DEL). -12-

Android Driver Installation Before starting the procedure below, ensure the 12V power is hooked up to EVCC. Finally, insure that the USB to serial cable is plugged into the OTG cable which is then plugged into the Android device. You will need an On The Go (OTG) USB female to USB micro adapter found here: http://www.amazon.com/ivso%c2%ae-nexus-tablet- Micro-Cable/dp/B00932N46S In this guide, we will be using an Asus Nexus 7 Tablet. The same (or very similar) process should follow for smart phones and others. 1. Ensure your Android is running 3.2 or later. 2. Download and install the FTDI UART Terminal app from the app store. 3. It should appear on the homescreen and look like this. -13-

4. You can open the app, or plug in the EVCC and it should auto-detect and prompt you to open it with a program from the list. If this is what you choose to do, select FTDI UART Terminal from the list. (you can also check the box to always open with selected program). Once it is open, push the menu button (this differs from android to android). 5. Turn Echo Off -14-

6. Go to the menu again and this time go to settings. Change Flow Control to None then press configure. Note: It will not allow the settings to be configured if the EVCC is not connected first. 7. The Android Device should now be set up to program the EVCC. Please Note: because of the way the text data is sent to the device, it is nessesary to place a return after each command before writing the command. This does what enter would do on the PC. -15-

Warrantee and Support Dilithium Design reserve the right to make changes or improvements in design or manufacturing without assuming any obligation to change or improve products previously manufactured and / or sold. For general support and warrantee issues, contact connect@thunderstruck-ev.com For errors in this document, or comments about the product, contact djmdilithium@gmail.com Document History Rev 1.0.0 Apr 17, 2014 Initial Version Rev 1.1 Oct 25, 2017 Updated, made more generic Rev 1.2 Jul 2018 Renamed, minor updates -16-