808 Micro Camera Firmware

mandl edited this page Jul 6, 2011 · 24 revisions

The project goal is to develop an open souce firmware for the 808 Micro Camera. For my development i use Ubuntu Linux Version 10.10

The 808 Cam uses an Sunplus SPCA1527 Chip

http://www.chucklohr.com/808/C3/index.html

Tools we use.

The 8051 Assembler ( as31 )

http://www.pjrc.com/tech/8051/

First steps: upload sample code

Compile the sample:

as31 blink.asm

Convert the hex File to BIN

avr-objcopy -I ihex -O binary blink.hex blink.bin

Press and hold the mode button and connect the cam to usb.

lsusb

Now the Cam is in webcam mode

ID 04fc:1528 Sunplus Technology Co., Ltd SPCA1527A/SPCA1528 SD card camera (webcam mode)

Upload the code to cam s-ram memory ( Wrong code can destroy your Cam !!!)

ISP808 blink.bin

Yes. Now the Led will blink. We loaded our first code in your Cam.

Disconnect the cam from USB

Press Reset.

Enable the uart

Solder a 10k resistor SMD chip.

http://github.com/mandl/808MicroCam/tree/master/Doc/uartmod.png

Now the Gpio 4 ( Led ) is a UART Pin with 57600 baud rate ( 3.3 Volt ).

Restart the Cam, we get.

spiBoot

1c3114

Ld Ok

K B F/W version is T32 V272-00

F/W compiled @ 08/09/10, 10:23:59

...

Build a C Sample

Install the SDCC - Small Device C Compiler

http://sdcc.sourceforge.net/

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.