Lamobo D1

From Lamobo
Jump to: navigation, search
Lamobo D1 Front
Lamobo D1 Back

What is Lamobo D1?

Specification

  • Hardware
    • AXP173, Power Management
    • DS133833, RTC
    • MX25L12835, 16MB Serial Flash, (旺宏电子 Mxic)
    • SOC: AK3918 [1]
      • CPU: 400MHz ARM926EJ
        • From http://wiki.ubuntu.com/ARM/ :
          • Ubuntu targets the ARM EABI, with an expetation of minimum compliance with the ARMv7+VFP ISA. Limited support for earlier instruction sets (ARMv5t, ARMv6) was available in early releases of the ARM port (jaunty, karmic). Ubuntu typically targets the Thumb2 instruction set.
      • RAM: 48MB DDR2
      • Output
        • 5 PWM
        • I2C
        • SPI
  • Software
    • OS: Linux 3.4.35
    • GCC: ARM EABI
    • Platform Aimer39_V1 from Anyka (Guangzhou)
      • DDK
      • SDK

Connector

  • UART1
    • Votage: 3.3V
    • Baudrate: 115200
    • Pinout
      • 1. GND
      • 2. TX
      • 3. RX
  • UART2
    • Votage: 3.3V
    • Baudrate: 115200
  • VIN
    • Pinout
      • 1: GND
      • 2: 5V
  • USB1
    • Adjacent to Battery
    • 5V Power
  • USB2
    • Burn Image
    • WIFI Dongle
    • SDCard Reader
  • 1.27mm 2*14P
    • 1. HP_OUTR 2. AGND
    • 3. HP_OUTL 4. LINE_IN1
    • 5. UART2_RxD/GPIO4 6. PWM4/GPIO7
    • 7. UART2_TxD/PWM2/GPIO5 8. PWM3/GPIO6
    • 9. I2C_SCL/GPIO27 10. I2C_SDA/GPIO28
    • 11. GND 12. 3V3
    • 13. GND 14. 3V3

Interface

* Front Side Front Interfaces.jpg

* Back Side Back Interfaces.jpg

* Night Vision Module D1 Night Vision Module.jpg

Booting method

  • USB
  • USB MassStorage
  • SPI Flash
  • TF Card

Source code

https://github.com/Lamobo/Lamobo-D1

Performance

  • From cold to login prompt appears: 8s
  • From cold to WIFI hotspot appears: TBT
  • From cold to all service starts: TBT

Application Demos

Social

Boot Messages

Aimer39 spiboot V1.0.00
asic clk:60000000, pre-scaler=1 (wanted 20Mhz, got 15Mhz)
SPIFLASH_PAGE_SIZE:256
the manufacture id is 001820c2
spi param: id=001820c2, total_size=16777216, page_size=256, program_size=256.
erase_size=65536, clock=25000000, flag=80, protect_mask=0.
asic clk:60000000, pre-scaler=1 (wanted 25Mhz, got 15Mhz)
SPIFLASH_PAGE_SIZE:256
spiflash:set status reg:00000042
file cnt:3
Read file BIOS
readcfgbyname ok
load bios ......
start:66
file len:2048664
ld addr:0x81008000
Load bios from spiflash successfuly!
Uncompressing Linux... done, booting the kernel.
Anyka Linux Kernel Version: 1.0.05

Hardware Expansion

  • Hardware
    • Audio (3.5mm)
    • Bluetooth
    • GPIO
    • I2C
    • LCD
    • NFL24
    • PWM
    • RC
    • Servo
    • Adafruit (adafruit c or python lib)
      • DHT sensor
      • Python
      • LCD
      • Fingerprint
      • CC3000
      • Earphone

Programming

0. Build the latest firmware

   https://github.com/Lamobo/Lamobo-D1

1. Compile sample in Linux development machine, please check:

   https://github.com/Lamobo/Lamobo-D1/tree/master/src/samples

2. Connect D1 in AP mode

   ping 192.168.0.1

3. Upload the compiled binary to D1 via FTP

   ftp://192.168.0.1

4. Access D1 terminal

   (via network)
   telnet 192.168.0.1
   (via UART)
   putty comN ports 115200

5. Run and debug, goto 1 if needed

   /mnt/foo

Debug Programs

Remote Debug with GDB

  1. [D1] Start program with gdbserver
  2. [PC] Debug program with tools/debugtool/arm-none-linux-gnueabi-gdb