Pydownloader tool

De WikiRobotics
Revisión del 11:16 20 feb 2011 de Obijuan (Discusión | contribuciones) (Interface explanation)

Saltar a: navegación, buscar

right

Introduction

The Pydownloader is the tools that will be used for downloading software into the Skycube board. The .hex files are the binary programs generated with the CodeBlocks+SDCC. The pydownloader tool reads these files and burns them into the PIC flash memory.

Installation on linux platforms

Ubuntu 10.04/10.10

Install the following .deb packages. Chose the preferred architecture: i386 (32-bits) / x86-64 bits

i386 (32 bits) architecture

Libiris: python-libiris_1.2-5_i386-ubuntu-10.04.deb
LibStargate: python-libstargate_1.2-1_i386-ubuntu-10.04.deb
Pydownloader: skybot-test_1.0.1-1_i386-ubuntu-10.04.deb

x86-64 bits

Libiris: python-libiris_1.2-5_amd64-ubuntu-10.10.deb
LibStargate: python-libstargate_1.2-1_amd64.deb
Pydownloader: pydownloader-wx_1.0-2_amd64.deb

Installation on Windows 7 / windows XP

Download and install the following packages. Accept the default configuration:

python-2.5.msi. Python 2.5 interpreter
2-pywin32-210.win32-py2.5.zip. Python extension for windows
3-pyserial-2.2.win32.zip. Serial communications for Python
5-libIris-1.2.win32.zip 5-libIris-1.2.win32.zip. LibIris
4-libstargate-1.2.win32.zip. Libstargate
wxPython2.8-win32-unicode-2.8.6.0-py25.exe. Wxpython for Windows
6-pydownloader-wx-1.0.win32.zip. Pydownloader

Interface explanation

The interface is in Spanish. However is very easy to use. Here is the translation/explanation:

Pydownloader-explanation-1.png

Downloading the "hello world" program

programa Pydownloader para descargar firmware en la Skypic (click para ampliar)
  • Ejecutar el programa Pydownloader-wx
  • Seleccionar el puerto serie
    • Windows: COM1, COM2, COM3...
    • Linux:
      • Los puertos serie nativos son: /dev/ttyS0, /dev/ttyS1, etc...
      • Los puertos serie a través de un conversor USB-serie: /dev/ttyUSB0, /dev/ttyUSB1,....
  • Abrir el fichero hola_mundo.hex. Pinchar en el botón de buscar y seleccionar el fichero
  • Pinchar en el botón "Grabar"
  • Apretar el botón de RESET de la Skypic

Videos

300|250</youtube>

Link to the video in YouTube
An example of downloading software into
Unimod using the pydownloader tool

Links

News

  • Feb/20th/2011: This page is started!