Difference between revisions of "User:Mcurrie"

From PaparazziUAV
Jump to navigation Jump to search
Line 5: Line 5:
Currently building building Tiny 1.1 hardware.  Has hot air reflow, solder paste, smt, linux capabilities and keeps stock of some parts on hand.  Let me know if anyone needs any assistance.
Currently building building Tiny 1.1 hardware.  Has hot air reflow, solder paste, smt, linux capabilities and keeps stock of some parts on hand.  Let me know if anyone needs any assistance.


Q: [Tiny 1.1] My AP begins executing only after downloading code to it and not after a reset.
'''Q:''' [Tiny 1.1] My AP begins executing only after downloading code to it and not after a reset.


A: Make sure when you compiled your initial USB Bootloader you selected the right USB enable pin.  If using P0.23 add PROC=GENERIC to the make process.
'''A:''' Make sure when you compiled your initial USB Bootloader you selected the right USB enable pin.  If using P0.23 add PROC=GENERIC to the make process.


Q: [Tiny 1.1] I get error accessing USB when trying to load code to the Autopilot
'''Q:''' [Tiny 1.1] I get error accessing USB when trying to load code to the Autopilot


A: You need to copy a USB rules file following the instructions below
'''A:''' You need to copy a USB rules file following the instructions below


  # cd ''[paparazzi3 folder]''
  # cd ''[paparazzi3 folder]''
  # cp conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/
  # cp conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/


Q: [Tiny 0.9-1.1] What is the command to compile the ARM7 code?
'''Q:''' [Tiny 0.9-1.1] What is the command to compile the ARM7 code?


A: the two relevent commands are below.  Replace [AIRCRAFT] with the name of your aircraft.
A: the two relevent commands are below.  Replace [AIRCRAFT] with the name of your aircraft.
Line 27: Line 27:
  # cd ''[parazzi3 folder]'''
  # cd ''[parazzi3 folder]'''
  # make AIRCRAFT=[AIRCRAFT] ap.upload
  # make AIRCRAFT=[AIRCRAFT] ap.upload
'''Q:''' How do I get GCS to talk to the AP with straight serial and not a modem?
'''A:''' Here is an example of a section of my paparazzi3/conf/control_panel.xml
<session name="4 Matt Flight">
  <program name="link">
    <arg flag="-d" constant="/dev/ttyUSB0"/>
    <arg flag="-transport" constant="pprz"/>
    <arg flag="-uplink" constant=""/>
  </program>
  <program name="server"/>
  <program name="gcs"/>
</session>

Revision as of 20:58, 9 December 2006

Matthew Currie

Located in Nanaimo, B.C. Canada

Currently building building Tiny 1.1 hardware. Has hot air reflow, solder paste, smt, linux capabilities and keeps stock of some parts on hand. Let me know if anyone needs any assistance.

Q: [Tiny 1.1] My AP begins executing only after downloading code to it and not after a reset.

A: Make sure when you compiled your initial USB Bootloader you selected the right USB enable pin. If using P0.23 add PROC=GENERIC to the make process.

Q: [Tiny 1.1] I get error accessing USB when trying to load code to the Autopilot

A: You need to copy a USB rules file following the instructions below

# cd [paparazzi3 folder]
# cp conf/system/udev/rules/10-paparazzi.rules /etc/udev/rules.d/

Q: [Tiny 0.9-1.1] What is the command to compile the ARM7 code?

A: the two relevent commands are below. Replace [AIRCRAFT] with the name of your aircraft.

# cd [parazzi3 folder]'
# make AIRCRAFT=[AIRCRAFT] ap.compile

to download code that has already been compiled

# cd [parazzi3 folder]'
# make AIRCRAFT=[AIRCRAFT] ap.upload

Q: How do I get GCS to talk to the AP with straight serial and not a modem?

A: Here is an example of a section of my paparazzi3/conf/control_panel.xml

<session name="4 Matt Flight">
  <program name="link">
    <arg flag="-d" constant="/dev/ttyUSB0"/>
    <arg flag="-transport" constant="pprz"/>
    <arg flag="-uplink" constant=""/>
  </program>
  <program name="server"/>
  <program name="gcs"/>
</session>