Difference between revisions of "Flameman/proof"

From eLinux.org
Jump to: navigation, search
Line 139: Line 139:
14 - EMU1
14 - EMU1
= unix =
Hardware hackers in general and robot-makers in particular are pleased by using things in elegant and unusual ways.
Hack a day pleases me.
== uart ==
== pic ==
• M. Predko, "Programming and customizing the PIC microcontroller", Tab Books
• Wilmshurts, "Designing Embedded Systems with PIC Microcontrollers", Newnes
• R. Stevens, "Serial Communications", SquareOne books
• Barnett & O'Cull, "Embedded C Programming and the Microchip PIC", Thomson Delmar
• Del Corso & Galizia, "PIC micro. Progettare con i microcontrollori PIC", Inware Edizioni
• G. Galletti, "PIC Book", Sandit
== number ==
• Forman S. Acton, "Numerical methods that (usually) work", MAA
• Richard Hamming, "Numerical Methods for Scientists and Engineers", Cambridge
• J. Stoer, R. Burlisch, "Introduzione all'Analisi Numerica", Zanichelli
• V. Comincioli, "Analisi Numerica, metodi modelli applicazioni", McGraw-Hill
• V. Comincioli, "Analisi Numerica, complementi e problemi", McGraw-Hill
* Cavanagh ???
== electronics ==
== algorithm ==
= robot =
= robot =

Revision as of 04:40, 10 July 2020

For more interesting projects done by Flameman, be sure to checkout his project index



  • HP Agilent HEDS-5500 C11 Optical Encoder

LAN chip CS8900A from Cirrus logic, IP Dragon II

The IP Dragon II is our second generation ethernet interface module based on the popular ethernet controller CS8900A from Cirrus logic.

The IP Dragon II is fully equiped to give any 8 or 16-bit system full ethernet capability. It features a selectable 8-bit or 16-bit databus interface, chip select and read/write signals. The board has two rows (2 x 15) of pins making it very easy to mount in an experiment system or a production system. The RJ-45 connector integrates both the inductor and two LED's that shows the link activity.

With this module your are ready to start implementing ethernet and internet communication on your embedded system in no time. Drivers for various TCP/IP stacks can be found on our download page.

General Information:

The IP Dragon is equiped with the Cirrus Logic embedded ethernet controller CS8900A. This ethernet controller is a flexible and powerful controller that can be used for embedded applications. Many other controllers on the market is targeted to the PCI bus and PC's making them very complex if not impossible to adapt to a low cost embedded system.

The module should connect to an MCU or CPU as a standard memory with the 8 or 16 -bit databus, IOR, IOW and CS signal. The module also supports interrupts in 16-bit mode.

A small serial EEPROM connected to the controller can be used to store the ethernet address and other controller related data. The EEPROM is only supported in 16-bit mode.

  • 8 or 16 -bit databus is easily selected by moving a jumper.
  • Measurements: 34mm x 50mm
  • Supply Voltage (IET8905E): 5V
  • Supply Voltage (IET8903E): 3.3V


The DSL-G604T looks like DLS-504T and also provides an 802.11g/802.11b WiFi connectivity.

  • CPU: Texas Instrument TNETD7300GDU AR7W MIPS 4KEc based SoC with built-in ADSL and Ethernet interfaces
  • SDRAM Memory: 16Mb Hynix HY57V281620HCT
  • Flash Memory: 4Mb SquashFS file system. Atmel AT49BV322A
  • DSP-based ADSL
  • WiFi: TI ACX-111 AirPlusG+ card (VLYNQ)
  • Ethernet: IP175A 5-port Ethernet hub (1 internal, 4 external)

net chip IP175A

IP175A is a low cost 10/100 Ethernet single chip switch. It integrates a 5-port switch controller, SSRAM, and 5 10/100 Ethernet transceivers. Each of the transceivers complies with the IEEE802.3, IEEE802.3u, and IEEE802.3x specifications. The transceivers are designed in DSP approach with 0.25um technology; they have high noise immunity and robust performance.

IP175A operates in store and forward mode. It supports flow control, auto MDI/MDI-X, CoS, port base VLAN, and LED functions, etc. Each port can be configured to auto-negotiation or forced 10M/100M, full/half duplex, and it is also able to configure to 100BaseFX transmission mode. Using an EEPROM or pull up/down resistors on specified pins can configure the desired options. IP175A does not support "forced 10M half mode".

IP175A supports two MII ports for router application, which supports 4 LAN ports and one WAN port. MII0 is for LAN traffic and MII1 is for WAN traffic and no external PHY is needed. Both MII can work in PHY mode and interface to the external MAC in this application. The external MAC can monitor or configure IP175A by accessing MII registers through SMI. An app from mspy.com works the same way and help one monitor any phone.

MII0 also can be configured to be MAC mode. It is used to interface an external PHY to work as a 4+1 switch.

Feature :

  • 5 port 10/100 Ethernet switch with built in transceivers and memory
  • Build in SSRAM for frame buffer
  • Built in storage of 1K MAC address
  • Support flow control
  • Support IEEE802.3x for flow control for full duplex mode operation
  • Support backpressure for flow control for half duplex mode operation
  • 5 port switching fabric
  • Support two-level hashing algorithm to solve MAC address collision
  • Support MAC address aging
  • Store and forward mode
  • Broadcast storm protection
  • Full line speed capability of 148800 (14880) packets/sec for 100M (10M)
  • Support 1536 byte data transfer for VLAN packet traffic
  • Port base VLAN
  • Port base CoS configuration
  • Integrate 5 ports transceiver
  • Each port can be auto negotiable or forced 10M/100M, full/half duplex
  • Each port can be configured as 100BaseFX
  • Automatic MDI/MDI-X configuration
  • Support tow MII, one SMI and extended MII registers for router application
  • Built in regulator for 3.3v to 2.15v
  • LED status of Link, activity, full/half duplex, speed, and power on diagnostic function
  • Initial parameter setting by pin or EEPROM (24LC01) configuration
  • Utilize single clock source (25Mhz)
  • 0.25u technology
  • Support Lead Free package (Please refer to the Order Information)




5-pin connector, attached to UART_A

1 RX 
2 GND 
3 +3.3V 
4 GND 
5 TX 


MIPS EJTAG, EJTAG 2.6 header
pin numbering is wrong, need to be verified


8 +3v (VIO)
9 -
10 GND
11 GND
12 GND
13 GND
14 GND
pin numbering is wrong, need to be verified

1 - TMS
2 - TDI
3 - VCC (3.3V)
4 - TDO
5 - TCK
7 - EMU0

8 - TRST
9 - GND
10 - -key
11 - GND
12 - GND
13 - GND
14 - EMU1





motor control http://www.pmdcorp.com/motion-products/

electronic instruments



tangogps (gps logging)

gpsdrive (gps logging ?)

  • url ???

navit (navigation)

gps zuaurus/hw


   --- GPIO Support                                                                                     x x
  x x                              [*]   /sys/class/gpio/... (sysfs interface)                                                          x x
  x x                                    *** Memory mapped GPIO expanders: ***                                                          x x
  x x                                    *** I2C GPIO expanders: ***                                                                    x x
  x x                              <*>   MAX7319, MAX7320-7327 I2C Port Expanders                                                       x x
  x x                              < >   PCA953x, PCA955x, TCA64xx, and MAX7310 I/O ports (NEW)                                         x x
  x x                              < >   PCF857x, PCA{85,96}7x, and MAX732[89] I2C GPIO expanders (NEW)                                 x x
  x x                                    *** PCI GPIO expanders: ***                                                                    x x
  x x                                    *** SPI GPIO expanders: ***                                                                    x x
  x x                              <*>   Maxim MAX7301 GPIO expander                                                                    x x
  x x                              <*>   Microchip MCP23S08 I/O expander    

   < > Dallas DS1682 Total Elapsed Time Recorder with Alarm (NEW)                                       x x
  x x                              < > Philips PCF8574 and PCF8574A (DEPRECATED) (NEW)                                                  x x
  x x                              < > Philips PCF8575 (DEPRECATED) (NEW)                                                               x x
  x x                              < > Philips PCA9539 16-bit I/O port (DEPRECATED) (NEW)                                               x x
  x x                              < > Philips PCF8591 (NEW)                                                                            x x
  x x                              < > Maxim MAX6875 Power supply supervisor (NEW)                                                      x x
  x x                              < > Taos TSL2550 ambient light sensor (NEW)   


HP Jornada 690


  • CPU: SH7729@ 133 MHz that is SuperHitachiRish-SH-3
  • RAM': 32MB
  • LCD: 6.5" CSTN passive matrix 16-bit (64K colors), 640 x 240 6.5" CSTN passive matrix
  • SIZE: 18.9 cm x 3.4 cm x 9.5 cm, 510 g
  • BUS:
    • PCMCIA slot
    • CF slot
  • MISC:
    • Built in Modem
    • IrDA
    • BATTERY: the average battery run time is about ~ 8 hours

cat /proc/cpuinfo
machine         : HP6xx
processor       : 0
cpu family      : sh3
cpu type        : SH7729
cpu flags       : none
cache type      : unified
cache size      : 16KiB (4-way)
bogomips        : 66.15
master_clk      : 22.11MHz
module_clk      : 22.11MHz
bus_clk         : 132.66MHz
cpu_clk         : 132.66MHz
tmu0_clk        : 5.52MHz




corso uni http://www.dei.unipd.it/corsi/ae1/web/_index.htm


tiny http://www.friendlyarm.net/products

poky http://free-opensource.qvantel.net/mediawiki//index.php/LN2440_-_Single_Board_Computer

nice-board with fpga http://www.embeddedarm.com/products/board-detail.php?product=TS-7800#

1. http://code.google.com/p/mini2440/wiki/MiniBringup i used this to know how to connect to the serial console with picocom and i used this for various nand manipulations described in there

2. http://wiki.linuxmce.org/index.php/Mini2440 this site shows howto build u-boot.bin and how to upload it to the device, later on it shows the same to the kernel

3. http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=1 here i followed the steps to build a toolchain with the "arm-unknown-linux-gnu" as cross compiler

4. http://www.friendlyarm.de/downloads i used the kernel provided on this site

OMAP Processor families

Per the TI website, the OMAP families are broken into "High Performance", "Basic Multimedia", and "Modem and Applications".

"High performance"


    * OMAP1710 - 220 MHz ARM926TEJ + C55x DSP
    * OMAP1621 - 204 MHz ARM926 + C55x DSP + 2MB Internal SRAM
    * OMAP1612 - 204 MHz ARM926TEJ + C55x DSP
    * OMAP1611 - 204 MHz ARM926EJ-S + C55x DSP
    * OMAP1610 - 204 MHz ARM926EJ-S + C55x DSP
    * OMAP1510 - 168 MHz ARM925T (TI-enhanced) + C55x DSP
    * OMAP5910 - ARM9 + C55x DSP
    * OMAP5912 - ARM9 + C55x DSP


    * OMAP2431 - 330 MHz ARM1136 + 220 MHz C55x DSP
    * OMAP2430 - 330 MHz ARM1136 + 220 MHz C55x DSP + PowerVR MBX lite GPU
    * OMAP2420 - 330 MHz ARM11 + 220 MHz C55x DSP + PowerVR MBX GPU


The OMAP3 is broken into 3 distinct groups: the OMAP34x, the OMAP35x, and the OMAP36x. OMAP35x is a variant of OMAP34x intended for open source development, and the OMAP36x is a 45nm version of the 65nm OMAP34x with higher clock speed.[1]

    * OMAP3640 - 1 GHz ARM Cortex A8 + 430 MHz C64x+ DSP + PowerVR SGX530 GPU + ISP (Image Signal Processor)
    * OMAP3630 - 720 MHz ARM Cortex A8 + 430 MHz C64x+ DSP + PowerVR SGX530 GPU + ISP (Image Signal Processor)
    * OMAP3620 - 720 MHz ARM Cortex A8 + 430 MHz C64x+ DSP + PowerVR SGX530 GPU + ISP (Image Signal Processor)
    * OMAP3610 - 720 MHz ARM Cortex A8 + 430 MHz C64x+ DSP
    * OMAP3530 - 600 MHz ARM Cortex A8 + 430 MHz C64x+ DSP + PowerVR SGX530 GPU + ISP (Image Signal Processor)
    * OMAP3525 - 600 MHz ARM Cortex A8 + 430 MHz C64x+ DSP + ISP (Image Signal Processor)
    * OMAP3515 - 600 MHz ARM Cortex A8 + PowerVR SGX530 GPU + ISP (Image Signal Processor)
    * OMAP3503 - 600 MHz ARM Cortex A8
    * OMAP3440 - 800 MHz ARM Cortex A8 + PowerVR SGX 530 GPU + 430MHz C64x+ DSP + ISP (Image Signal Processor)
    * OMAP3430 - 600 MHz ARM Cortex A8 + PowerVR SGX 530 GPU + 430MHz C64x+ DSP + ISP (Image Signal Processor)
    * OMAP3420 - 600 MHz ARM Cortex A8 + PowerVR SGX 530 GPU + 430MHz C64x+ DSP + ISP (Image Signal Processor)
    * OMAP3410 - 600 MHz ARM Cortex A8 + 430MHz C64x+ DSP + ISP (Image Signal Processor)


    * OMAP4440 - 1+ GHz dual-core ARM Cortex-A9 MPCore + PowerVR SGX 540 GPU + C64x+ DSP + ISP     * OMAP4430 - 720 MHz dual-core ARM Cortex-A9 MPCore + PowerVR SGX 540 GPU + C64x+ DSP + ISP 
"Basic multimedia"

    * OMAP331 - ARM9
    * OMAP310 - ARM9
    * OMAP-DM270 - ARM7 + C54x DSP

"Modem and applications"

    * OMAPV1035 - single-chip EDGE
    * OMAPV1030 - EDGE digital baseband
    * OMAP850 - 200 MHz ARM926EJ-S + GSM/GPRS digital baseband + stacked EDGE co-processor
    * OMAP750 - 200 MHz ARM926EJ-S + GSM/GPRS digital baseband + DDR Memory support
    * OMAP733 - 200 MHz ARM926EJ-S + GSM/GPRS digital baseband + stacked SDRAM
    * OMAP730 - 200 MHz ARM926EJ-S + GSM/GPRS digital baseband + SDRAM Memory support
    * OMAP710 - 133 MHz ARM925 + GSM/GPRS digital baseband


416MHz PXA-270 XScale processor
128MB internal flash memory
640x480 16bpp backlit LCD touchscreen display
Input methods: keyboard, stylus with handwriting recognition
Ports: IrDA, USB (host & slave), headphones & remote, Zaurus connector, SD memory card slot, CF slot

Unlike the C3000 and C3100 units, there is no internal hard drive. A microdrive can be installed in the CF slot. I chose the C1000 specifically because it did not have a hard drive, since I worry that a hard drive subjected to a lot of handheld use would be prone to failure, especially if dropped. 




The specifications

  • SIZE 9.4" x 7" x 1.4" for 2 lbs (with keyboard)
  • ARM Texas Instruments OMAP3 chip
  • 1024x600 8.9 screen
  • Storage: 8GB micro SD card
  • Wifi 802.11b/g/n and Bluetooth
  • 3-dimensional accelerometer
  • Speakers, micro and headphone
  • 6 USB 2.0 (3 internal, 2 external, 1 mini)
  • 10h to 15 hours of battery life





SheevaPlug from Marvell contains MV88F6281 cpu running at 1.2GHz with 512MB of DDR2/800 memory. Other nice things are:

  • CPU: MV88F6281 @ 1.2GHz, Marvell Sheeva ARM, that is armv5te compliant
  • cache: 16+16Kb L1, 256Kb L2
  • endian ness: little endian and big endian both supportd
  • elf format: ELF 32-bit LSB executable, ARMv1 (SYSV), statically linked, not stripped
  • 1GbE network controller
  • 512MB of NAND for storage
  • USB 2.0 controller (up to 480Mbps speed)
  • RS232 serial port
  • SDIO slot
  • U-boot as bootloader

  • Sub Total: $99.00
  • Shipping: (FedEx International Priority) $31.78
  • Tax: $0.00
  • Total: $130.78

processor features


wondering if to switch to modern platform

nokia n810

  • Model name: Nokia N810
  • CPU type: TI Omap 2420 @400 Mhz ---> arch arm-v11, endinaness ???
  • OS: 2.4??? 2.6??? ---> see "Maemo" Internet Tablet 2007 maemo OS2008 http://en.wikipedia.org/wiki/Maemo_(operating_system)
  • Display: 4.1" 800 X 480, LED b/l, Soft (Finger) Touch
  • RAM: 128 MB
  • Flash: 2048 MB
  • Keyboard: qwerty
  • Mouse Pointer: NO
  • Battery capacity: 5.5 (Wh)
  • Size: 128/72/14 mm, 226g
  • Physical Interfaces
    • Mini-SD slot
    • Headset i/f (Mic+Line)
  • Wireless Interfaces
    • 802.11b/g
    • BT2.0
    • No Wireless WAN (e.g. 3G cellular)

Sistema Operativo 	Internet Tablet 2007 maemo OS2008 basato su Linux
Tecnologia 	n.d.
Banda 	Non presente.
Bluetooth 	Specifica Bluetooth v. 2.0. +EDR o Profili supportati: HID, FTP, DUN, GAP, SPP, HSP, SAP e OPP
Wi-Fi 	Wi-Fi standard: IEEE 802.11b/g
Antenna GPS 	Ricevitore GPS integrato
Tipo Memoria 	DDR RAM 128MB
Flash 256MB
Fino a 2 GB di memoria interna
Supporto per memory card miniSD e microSD compatibili (con adattatore).
Supporto per memory card fino a 8GB. (Le memory card SD oltre i 2GB devono essere compatibili con SDHC).
Caratteristiche importanti 	Pratica tastiera QWERTY a scorrimento, integrata.
Ricevitore GPS integrato
Vivavoce stereo e microfono di qualità
Ampio display ad alta risoluzione
Supporto da tavolo integrato
Webcam VGA integrata
Tasto hardware per il blocco del touch screen e dei tasti
Sensore di illuminazione ambientale
Funzioni speciali 	Browser basato sulla tecnologia Mozilla con supporto Web standard di ultima generazione, incluso AJAX Navigazione delle pagine mediante scorrimento, panning o tramite l’uso dei tasti, per l'ingrandimento e la riduzione dei siti Web. Plug-in completo di Adobe® Flash® 9 per desktop, con streaming audio e video
Musica 	Lettore multimediale integrato per la visione e l'ascolto di contenuti multimediali scaricati, trasferiti o in streaming, e comoda gestione della libreria multimediale sul telefono cellularey Accesso diretto a media condivisi su Universal Plug and Play (UPnP) Formati di file supportati: 3GP, AVI, WMV, MP4, H263, H.264, MPEG-1, MPEG-4, RV (RealVideo) Formati audio supportati: MP3, WMA, AAC, AMR, AWB, M4A, MP2, RA (RealAudio), WAV Formati di playlist supportati: M3U, PLS, ASX, WAX, WVX, WPL
Autonomia 	Batteria: Batteria Nokia BP-4L
Utilizzo continuo (display acceso, LAN senza fili attiva): fino a 4 ore
Riproduzione di musica: fino a 10 ore
Autonomia on-line: fino a 5 giorni
Autonomia in standby: fino a 14 giorni
Display 	Display WVGA da 4,13' ad alta risoluzione (800 x 480 pixel) fino a 65.536 colori
Funzioni standard 	Visualizzazione delle immagini a tutto schermo e funzionalità presentazione Formati di immagini supportati: BMP, GIF, ICI, JPE, JPEG, PNG, TIF/TIFF, SVG, Tiny, WBMP
Dimensioni 	Lunghezza: 72 mm
Larghezza: 128 mm
Spessore: 14 mm
Contenuto della confezione 	Nokia N800 Internet Tablet RX-44
Batteria Nokia BP-4L
Auricolare stereo Nokia HS-48
Caricabatterie da viaggio Nokia AC-4
Supporto veicolare Nokia CR-89
Custodia CP-223
Cavo di connessione Nokia CA-101
Guida di avvio rapido
Manuale d’uso con informazioni su sicurezza, garanzia e maggiori dettagli sul prodotto


Openpandora.jpg Openpandora-size.jpg


  • ARM® Cortex™-A8 CPU running Linux
  • 800×480 4.3″ 16.7 million color touchscreen LCD
  • OpenGL 2.0 ES compliant 3D hardware
  • Wi-Fi 802.11b/g
  • Dual SDHC card slots
  • Dual analog and digital gaming controls
  • 43 button QWERTY and numeric keypad
  • TV output
  • High Speed USB Host

    * Texas Instruments OMAP3530 System-on-Chip with Cortex-A8 600MHz
    * 256MB DDR-333 SDRAM[15]
    * 512MB NAND FLASH memory[15]
    * IVA2+ audio and video processor (based on the TMS320C64x+ DSP Core at 430MHz) using Texas Instruments's DaVinci technology[15]
    * ARM Cortex-A8 superscalar microprocessor core[15]
    * PowerVR SGX 530 (110 MHz) OpenGL ES 2.0 compliant 3D hardware[15]
    * Integrated Wi-Fi 802.11b/g[15]
    * Integrated Bluetooth 2.0 + EDR (3Mbit/s) (Class 2, +4dBm)[15]
    * 800x480 resolution touchscreen LCD, 4.3" widescreen, 16.7 million colors (300 cd/m2 brightness, 450:1 contrast ratio)[15]
    * Dual analog nubs; 15mm diameter, concave, 2.5mm travel from center[15][19]
    * Full gamepad controls plus shoulder buttons[15]
    * Dual SDHC card slots (currently supporting up to 32GB of storage each, supports SDIO)[15]
    * Headphone output up to 150mW/channel into 16 ohms, 99dB SNR[15]
    * TV output (composite and S-Video)[15]
    * Internal microphone plus ability to connect external microphone through headset[15]
    * 43 button QWERTY and numeric keypad[15]
    * USB 2.0 OTG port (480Mb/s) with capability to charge the Pandora[15]
    * USB 2.0 HOST port (480Mb/s) capable of providing standard 500mA current to attached devices[15]
    * Externally accessible UART for hardware hacking and debugging[15]
    * Brick prevention with integrated bootloader for safe code experimentation[15]
    * Runs the Linux kernel (2.6.x)[15]
    * 4000mAH rechargeable lithium polymer battery[20][21]
    * Estimated 5-10+ hour battery life for games, 10+ hour battery life for video and general applications, and theoretically 100+ hours for music playback (with backlight off and maximum power management)[22][23]
    * Dimensions: 140x83x27mm (5.51x3.27x1.06 in)[15]
    * Weight: ~300 g[24]