Skip to content

Instantly share code, notes, and snippets.

View esden's full-sized avatar

Piotr Esden-Tempski esden

View GitHub Profile
Calibrating delay loop... 660M loops per second, 100 myus = 203 us. OK.
No coreboot table found.
Found chipset "NVIDIA MCP78S", enabling flash write... OK.
Probing for AMD Am29F002(N)BB, 256 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation
Probing for AMD Am29F002(N)BT, 256 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation
Probing for AMD Am29F016D, 2048 KB: probe_29f040b: id1 0x49, id2 0x4d
Probing for AMD Am29F040B, 512 KB: probe_29f040b: id1 0x1e, id2 0xae
Probing for AMD Am29F080B, 1024 KB: probe_jedec: id1 0x49, id2 0x4d
Probing for AMD Am29LV040B, 512 KB: probe_29f040b: id1 0x1e, id2 0xae
Probing for AMD Am29LV081B, 1024 KB: probe_29f040b: id1 0x49, id2 0x4d
const const uint16_t timeslot_table[] PROGMEM =
{
2, 8, 19, 34, 52, 75, 102, 134,
169, 208, 252, 299, 351, 406, 466, 530,
598, 669, 745, 825, 909, 998, 1090, 1186,
1286, 1390, 1499, 1611, 1728, 1848, 1972, 2101,
2233, 2370, 2511, 2655, 2804, 2956, 3113, 3274,
3438, 3607, 3780, 3957, 4137, 4322, 4511, 4704,
4900, 5101, 5306, 5515, 5728, 5944, 6165, 6390,
6619, 6852, 7089, 7329, 7574, 7823, 8076, 8333,
Acquisition with 2/8 probes at 0.200 Mhz starting at Wed Mar 17 20:24:59 2010
clk:00000000 00000000 00000000 11111111 11111111 11111000 00000000 00000000
data:00000000 00000000 00000000 11111111 11000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
data:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
data:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
data:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
#!/bin/sh
#
# This scripts adds local version information from the version
# control systems git, mercurial (hg) and subversion (svn).
#
# Copied from Linux 2.6.32 scripts/setlocalversion and modified
# slightly to work better for OpenOCD.
#
usage() {
#!/bin/bash
# Written by Uwe Hermann <uwe@hermann-uwe.de>, released as public domain.
# Modified by Piotr Esden-Tempski <piotr@esden.net>, released as public domain.
#
# Requirements (example is for Debian, replace package names as needed):
#
# apt-get install flex bison libgmp3-dev libmpfr-dev libncurses5-dev \
# libmpc-dev autoconf texinfo build-essential
#
<!-- this is an asctec frame equiped with Lisa/M and generic china pwm motor controllers -->
<airframe name="lisa_asctec">
<servos min="0" neutral="0" max="0xff">
<servo name="FRONT" no="0" min="1000" neutral="1000" max="2000"/>
<servo name="BACK" no="1" min="1000" neutral="1000" max="2000"/>
<servo name="LEFT" no="2" min="1000" neutral="1000" max="2000"/>
<servo name="RIGHT" no="3" min="1000" neutral="1000" max="2000"/>
</servos>
@esden
esden / gist:1612653
Created January 14, 2012 19:44
conf.xml for quadshot
<conf>
<aircraft
name="QUADSHOT_LISAM"
ac_id="163"
airframe="airframes/esden/qs4_lisam.xml"
radio="radios/cockpitSX.xml"
telemetry="telemetry/telemetry_jtm.xml"
flight_plan="flight_plans/dummy.xml"
settings=" settings/settings_booz2_jtm.xml"
gui_color="white"
Full Speed device @ 6 (0xFA130000): ............................................. Miscellaneous/Common Class device: "Black Magic Probe"
Port Information: 0x0018
Not Captive
External Device
Connected
Enabled
Number Of Endpoints (includes EP0):
Total Endpoints for Configuration 1 (current): 7
Device Descriptor
Descriptor Version Number: 0x0200
Default setup:
| | | +-o Black Magic Probe@fd130000 <class IOUSBDevice, id 0x10000ec55, registered, matched, active, busy 0 (1328 ms), retain 12>
| | | +-o AppleUSBCDC <class AppleUSBCDC, id 0x10000ec58, registered, matched, active, busy 0 (1 ms), retain 5>
| | | +-o Black Magic GDB Server@0 <class IOUSBInterface, id 0x10000ec59, registered, matched, active, busy 0 (249 ms), retain 8>
| | | | +-o AppleUSBCDCACMControl <class AppleUSBCDCACMControl, id 0x10000ec5f, registered, matched, active, busy 0 (1 ms), retain 5>
| | | +-o IOUSBInterface@1 <class IOUSBInterface, id 0x10000ec5a, registered, matched, active, busy 0 (252 ms), retain 8>
| | | | +-o AppleUSBCDCACMData <class AppleUSBCDCACMData, id 0x10000ec63, !registered, !matched, active, busy 0 (2 ms), retain 5>
| | | | +-o IOModemSerialStreamSync <class IOModemSerialStreamSync, id 0x10000ec64, registered, matched, active, busy 0 (2 ms), retain 5>
| | | | +-o IOSerialB
@esden
esden / gist:1654373
Created January 21, 2012 22:56 — forked from gsmcmullin/gist:1645565
blackmagic: lsusb -v
Bus 002 Device 100: ID 0483:5740 SGS Thomson Microelectronics
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 239 Miscellaneous Device
bDeviceSubClass 2 ?
bDeviceProtocol 1 Interface Association
bMaxPacketSize0 64
idVendor 0x0483 SGS Thomson Microelectronics