Difference between revisions of "Datalogger Setup"

From DIDEAS Wiki
Jump to: navigation, search
m (Required Software and Tools)
m
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[http://www.dideas.com/mediawiki/index.php?title=MSP430_Datalogger BACK]]
+
[[MSP430 Datalogger | BACK]]
  
 
=Setup=
 
=Setup=
Line 6: Line 6:
  
 
===Required Software and Tools ===
 
===Required Software and Tools ===
*Install C compiler (MSP430-GCC) and JTAG tools.  Download [http://www.dideas.com/docs/datalogger/executable/mspgcc-20050614.exe Win32 version (mspgcc-20050614.exe) from dIDEAS] or [http://sourceforge.net/project/showfiles.php?group_id=42303 Other platforms from Sourceforge]  
+
*Install C compiler (MSP430-GCC) and JTAG tools.  Download [http://www.dideas.com/docs/datalogger/executable/mspgcc-20050614.exe WIN32 (mspgcc-20050614.exe) from dIDEAS] or [http://sourceforge.net/project/showfiles.php?group_id=42303 All platforms (mspgcc) from Sourceforge]  
  
 
+
* USB drivers for "Adapt3" MSP430 target interface : [http://www.ftdichip.com/Drivers/VCP.htm driver for FTDI232BM from FTDI] [http://www.dideas.com/docs/datalogger/executable/ftdi-usbdriver-win2k-xp-R9052154.zip locally]
* USB drivers for "Adapt3" MSP430 target interface : http://www.ftdichip.com/Drivers/FT232-FT245Drivers.htm or [http://www.dideas.com/docs/datalogger/executable/ftdi-usbdriver-win2k-xp-R9052154.zip locally]
 
  
 
To install - unzip into a known location - then connect the Adapt3 device USB cable.  Windows will prompt for driver installation.  Instruct windows to look for the drivers in the previous unzip extraction location.
 
To install - unzip into a known location - then connect the Adapt3 device USB cable.  Windows will prompt for driver installation.  Instruct windows to look for the drivers in the previous unzip extraction location.
  
 
Alternatively - from the extraction direct - "right click" on each of the 3 INF files and select install.  When the Adapt3 USB cable is connected, the drivers should be installed.
 
Alternatively - from the extraction direct - "right click" on each of the 3 INF files and select install.  When the Adapt3 USB cable is connected, the drivers should be installed.
 
  
 
*MSP430 firmware, [http://www.dideas.com/docs/datalogger/dl6_v1-082205.zip Download] and extract source code for the datalogger.  (Contact me for the latest firmware)
 
*MSP430 firmware, [http://www.dideas.com/docs/datalogger/dl6_v1-082205.zip Download] and extract source code for the datalogger.  (Contact me for the latest firmware)
Line 22: Line 20:
 
* Parallel port J-TAG cable : http://www.olimex.com/dev/msp-jtag.html
 
* Parallel port J-TAG cable : http://www.olimex.com/dev/msp-jtag.html
 
* Windows sync utility (explorer eject replacement) : (UNVERIFIED) http://www.only4gurus.com/v3/download.asp?ID=2443
 
* Windows sync utility (explorer eject replacement) : (UNVERIFIED) http://www.only4gurus.com/v3/download.asp?ID=2443
* PC serial port terminal emulator for RS-232 debugging
+
* Software for PC serial port terminal emulator for RS-232 debugging - SecureCRT
 
* 1.5mm "straight" 10 pin programming  cable - custom built from http://www.jst.com/ - [http://www.jst-mfg.com/ProductGuideE/EZR-D.html based on 10ZR-8M]
 
* 1.5mm "straight" 10 pin programming  cable - custom built from http://www.jst.com/ - [http://www.jst-mfg.com/ProductGuideE/EZR-D.html based on 10ZR-8M]
* [[ICC-MSP setup]]
+
* To unlock the MSP430 due to firmware bug use Imagecraft ICC-MSP : [[ICC-MSP setup]]
 
 
* [http://www.dideas.com/docs/datalogger/executable/sync.exe Sync] and [http://www.dideas.com/docs/datalogger/executable/cygintl-3.dll Cygintl-3.dll] are used to flush the windows filesystem buffers.  They automate the process of making safe the removal of the SD card after writing it.  These tools are used by the makefile targets "file" and "SD".  Please both of these in your executable path.
 
 
 
  
 +
* My programs - [http://www.dideas.com/docs/datalogger/executable/sync.exe Sync] and [http://www.dideas.com/docs/datalogger/executable/cygintl-3.dll Cygintl-3.dll] are used to flush the windows filesystem buffers.  They automate the process of making safe the removal of the SD card after writing it.  These tools are used by the makefile targets "file" and "SD".  Place both of these in your executable path.
  
 
==My Tools Setup==
 
==My Tools Setup==
Line 43: Line 39:
 
==Hardware Setup for MSP430 Programming==
 
==Hardware Setup for MSP430 Programming==
  
*Connect the JTAG cable to the PC printer board and to the "Adapt3" PCB.  The JTAG cable is polarized to help connect it properly.
+
*Connect the JTAG programming cable to the PC parallel printer port and the "Adapt3" PCB.  The JTAG cable is polarized to help connect it properly.
  
*Optionally connect "Adapt3" to the PC via the USB cable (you many need to install drivers). USB will provide power to the board - however the parallel port can also do this (but may not be reliable).  This USB interface is also used for debugging.
+
*Optionally connect "Adapt3" to the PC via the USB cable (you many need to install drivers). USB will provide power to the board - however the parallel port can also do this (but may not be reliable).  This USB interface is also used for debugging.
  
 
*Connect the 1.5mm cable (10 pins) to the "Adapt3" PCB and to the datalogger board requiring programming.
 
*Connect the 1.5mm cable (10 pins) to the "Adapt3" PCB and to the datalogger board requiring programming.
 +
 +
*When programming firmware and the time/serial string - it is WISE to observe the USB / serial port output from the datalogger.  Only this way can successful programming be confirmed.

Latest revision as of 17:08, 19 February 2006

BACK

Setup

Support Software / Hardware

Required Software and Tools

To install - unzip into a known location - then connect the Adapt3 device USB cable. Windows will prompt for driver installation. Instruct windows to look for the drivers in the previous unzip extraction location.

Alternatively - from the extraction direct - "right click" on each of the 3 INF files and select install. When the Adapt3 USB cable is connected, the drivers should be installed.

  • MSP430 firmware, Download and extract source code for the datalogger. (Contact me for the latest firmware)

optional / informative

  • My programs - Sync and Cygintl-3.dll are used to flush the windows filesystem buffers. They automate the process of making safe the removal of the SD card after writing it. These tools are used by the makefile targets "file" and "SD". Place both of these in your executable path.

My Tools Setup

Executable binaries and source code are available from : http://www.dideas.com/docs/datalogger

At minimum download each of the binaries and copy into either the "working directory" or better yet or somewhere in your executable path. I keep them in c:\bin

Hardware Setup for MSP430 Programming

  • Connect the JTAG programming cable to the PC parallel printer port and the "Adapt3" PCB. The JTAG cable is polarized to help connect it properly.
  • Optionally connect "Adapt3" to the PC via the USB cable (you many need to install drivers). USB will provide power to the board - however the parallel port can also do this (but may not be reliable). This USB interface is also used for debugging.
  • Connect the 1.5mm cable (10 pins) to the "Adapt3" PCB and to the datalogger board requiring programming.
  • When programming firmware and the time/serial string - it is WISE to observe the USB / serial port output from the datalogger. Only this way can successful programming be confirmed.