Skip to content
Maarten Weyn edited this page Apr 13, 2014 · 17 revisions

githalytics.com alpha

  1. Where can I set the logger options in the framework

    d7aoss/framework/log.h

  2. What are the requirements for the PyLogger tool

    You have to use python2, python3 is not yet supported. The requirements are in requirements.txt and can be installed using pip install -r requirements.txt

Pip for windows can be installed from https://sites.google.com/site/pydatalog/python/pip-for-windows

  1. PyLogger tool under Mac OS X

Python is installed by default on OS X.

To install pip you should open Terminal (located in /Applications/Utilities/) and run following command

sudo easy_install pip

Enter your password

After the process completed, we'll use pip to install colorama & pyserial with following commands

sudo pip install colorama

sudo pip install pyserial

To use the TTL-232R-3V3 serial cable, additional drivers should be installed from http://www.ftdichip.com/Drivers/VCP.htm

Verify the installation by using ls /dev/tty.* There should be an interface that starting with: "/dev/cu.usbserial"

To run the pylogger, enter python d7-oss-logger.py /dev/tty.usbserial-FTG7QFLS

Make sure "/dev/usbserial-FTG7QFLS" matches the interface found in the previous command.

  1. Olimex drivers en Windows 8/8.1

The Olimex driver are not signed by Microsoft, you need to reboot in advanced mode to install unsigned drivers: http://www.makeuseof.com/tag/how-can-i-install-hardware-with-unsigned-drivers-in-windows-8/

  1. Error: "Program will not fit in available memory"

Your code size exceeds the available memory of the hardware, you can optimize your code size in CCS using project properties > CCS Build > MSP430 Compiler > Optimization. Read the compiler's documentation to know the impact of the optimization on your code.

Tip: "2. global optimization" is a good trade-off. Take into account 'volatile' variables!

Clone this wiki locally