USB Boot Loader

From Paparazzi

Jump to: navigation, search

For an more extensive explanation go here

For the fast track if you already know what you are doing:

Required Cables / Adapter:

  1. FTDI Serial Adapter Cable TTL 3.3v
  2. 7-pin Molex Picoblade connector to 6-pin FTDI cable
  3. Jumper wire to set BOOT (P0.14) and GPS_RESET "low" (to GND)

Steps:

  1. Connect the "USB to FTDI cable" (#1 above) TTL ends to "7-pin Picoblade Male adapter connector cable" (#2 above)
  2. Connect the USB end to your Linux laptop (/var/log/messages should show a new device on /dev/ttyUSB0).
  3. Connect 7-pin Pico-Male to "download" 7-pin Pico-Female on Tiny2.11
  4. confirm the Linux computer is now connected via the cables to the "download" connector on the tiny2.11
  5. Using "Jumper Wire to common ground" set BOOT (P0.14) and GPS_RESET "low" and keep it held low
  6. Power on Tiny2.11, (~5v to 12v current limited power supply suggested power draw should be .04A)
  7. Open a terminal and change to the paparazzi directory: cd ~/paparazzi
  8. Enter this command in the terminal: make upload_bl PROC=GENERIC

NOTE: Success will mean you see this at the end in the terminal:

Synchronizing. OK
Read bootcode version: 2.12.0
Read part ID: LPC2148, 512 kiB ROM / 40 kiB SRAM (67305253)
Sector 0: .................................................. .............................................
Sector 1: .................................................. .........................
Download Finished... taking 6 seconds
Now launching the brand new code
ioctl get failed
ioctl set ok, status = 0
ioctl get ok, status = 2
ioctl get ok, status = 2
ioctl set ok, status = 2
ioctl set ok, status = 0
ioctl set ok, status = 0

What you need to see is the "Download Finished" message. Now you can remove Jumper and FTDI cable. From now on all programming is loaded using USB Adapter cable

BACK

Personal tools