Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - rvbcrs

1
Bus Pirate Support / Re: Unbricking IP Camera
Hi Fishie,

I had 4 cameras of chinavasion, 2 are now bricked because of my wrongfully experimenting. I already tried every firmware I found on the internet, I did it with the parameters you said, but it alwas ends with a myReboot command and the cam reboots. This is the log of a faulty camera:

W90P745 Boot Loader [ Version 1.1 $Revision: 1 $ ] Rebuilt on May 11 2010
Memory Size is 0x1000000 Bytes, Flash Size is 0x400000 Bytes
Board designed by Winbond
Hardware support provided at Winbond
Copyright (c) Winbond Limited 2001 - 2006. All rights reserved.
Boot Loader Configuration:

        MAC Address         : 00:0C:5D:75:1C:18
        IP Address          : 0.0.0.0
        DHCP Client         : Enabled
        CACHE               : Enabled
        BL buffer base      : 0x00300000
        BL buffer size      : 0x00100000
        Baud Rate           : -1
        USB Interface       : Disabled
        Serial Number       : 0xFFFFFFFF


For help on the available commands type 'h'

Press ESC to enter debug mode ......
Cache enabled!
Processing image 1 ...
Processing image 2 ...
Processing image 3 ...
Processing image 4 ...
Processing image 5 ...
Processing image 6 ...
Processing image 7 ...
Unzip image 7 ...
Executing image 7 ...
Linux version 2.4.20-uc0 (root@maverick-linux) (gcc version 3.0) #1042 Ò» 12ÔÂ 7
 05:49:33 CST 2009
Processor: Winbond W90N745 revision 1
Architecture: W90N745
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/rom0 rw
Calibrating delay loop... 39.83 BogoMIPS
Memory: 8MB = 8MB total
Memory: 6272KB available (1447K code, 284K data, 40K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 2048 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
PTZ Driver has been installed successfully.
Winbond W90N745 Serial driver version 1.0 (2005-08-15) with no serial options en
abled
ttyS00 at 0xfff80000 (irq = 9) is a W90N745
Winbond W90N7451 Serial driver version 1.0 (2005-08-15) with no serial options e
nabled
ttyS00 at 0xfff80100 (irq = 10) is a W90N7451
I2C Bus Driver has been installed successfully.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: 7F0E0000-7F16CFFF [VIRTUAL 7F0E0000-7F16CFFF] (RO)
S29GL032N Flash Detected
01 eth0 initial ok!
which:0
PPP generic driver version 2.4.2
Linux video capture interface: v1.00
Winbond Audio Driver v1.0 Initialization successfully.
usb.c: registered new driver hub
add a static ohci host controller device
: USB OHCI at membase 0xfff05000, IRQ 15
hc_alloc_ohci
usb-ohci.c: AMD756 erratum 4 workaround
hc_reset
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver audio
audio.c: v1.0.0:USB Audio Class driver
usb.c: registered new driver serial
usbserial.c: USB Serial Driver core v1.4

 _____     ____    _    ____
|__  /   _|  _   /   / ___|
  / / | | | | | |/ _  ___
 / /| |_| | |_| / ___  ___) |
/______, |____/_/   _____/
     |___/
ZD1211B - version 2.24.0.0
usb.c: registered new driver zd1211b
main_usb.c: VIA Networking Wireless LAN USB Driver 1.13
usb.c: registered new driver vntwusb
usb.c: registered new driver rt73
dvm usb cam driver 0.0.0.0 by Maverick Gao in 2006-8-12
usb.c: registered new driver dvm
dvm usb cam driver 0.1 for sonix288 by Maverick Gao in 2009-4-20
usb.c: registered new driver dvm usb cam driver for sonix288
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 1024)
VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 40K
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
BINFMT_FLAT: bad magic/rev (0x74202d74, need 0x4)
Shell invoked to run file: /bin/init
Command: mount -t proc none /proc
Command: mount -t ramfs none /usr
Command: mount -t ramfs none /swap
Command: mount -t ramfs none /var/run
Command: mount -t ramfs none /etc
Command: mount -t ramfs none /flash
Command: mount -t ramfs none /home
Command: camera&
[8]
Command: sh

Sash command shell (version 1.1.1)
no support
/> hub.c: connect-debounce failed, port 1 disabled
new USB device :807dce04-7e8640
hub.c: new USB device 1, assigned address 2
dvm cmos successfully initialized
dvm camera registered as video0
new USB device :807cf204-7e8640
hub.c: new USB device 2, assigned address 3
idVendor = 0x148f, idProduct = 0x2573

Wait for auto-negotiation complete...ResetPhyChip Failed
video0 opened
1
1
1
1
1
1
set resolution 4
set brightness 100
set contrast 4
set sharpness 3
set mode 0
__pthread_initial_thread_bos:348000
manage pid:16
audio_dev.state not AU_STATE_RECORDING
wb_audio_start_record
inet_sr.c INET_rinput 321
action===1
options==33
inet_sr.c INET_setroute 75
*args===255.255.255.255
*args===netmask
*args===eth0
[29]
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
myreboot

I need to get a way to read the original firmware from a working camera and flash that back to a bricked one. I guess the only two options are through the bootloader (but I don't know how) or via JTAG ( I don't know how) :)

I found a site that describes how to use JTAG to flash back a bootloader with the same ARM chip as the camera is using, but I can't really understand what they are doing.
http://www.wiki.kslemb.com/doku.php/uboot/install
2
Bus Pirate Support / Re: Unbricking IP Camera
[quote author="Fishie"]
Hello,

i own two pieces of this camera from chinavasion. One is bricked. Second is ok.

Beware! This camera is not Foscam clone on hardware basis! This is why you cannot use ordinary Foscam firmwares. Look on board and you'll see IP607SZ or something like that. This clone uses another kernel drivers because of little bit different hardware.
Through support i got original firmware for this camera and through non official sources ;-) i got documentation to bootloader and and development kit on which is camera build upon. Development kit and embedded linux distro is same as for Foscam, but kernel and rootfs image is build differently for each cam due reasons mentioned above.

Here is the link for firmware: http://download.chinavasion.com/downloa ... LM-I33.zip

Enclosing two files with firmware basis, one packed kernel, second rootfs:

Link for recovery files extracted from firmware: http://www.uloz.to/7215855/camera-ip607-zip

linux.zip
romfs.img

Address boundaries parameters for bootloader:
linux.zip-0x7f020000 0x8000(code execution address in RAM), end address is recomputed automatically by bootloader from file size

romfs.img-0x7f0e0000 0x7f0e0000

After uploading it is necessary to execute windows ip cam tool thingy and upload web interface files. Camera should appear in this tool after kernel boots and romfs is mounted. Please watch patiently for output from UART port for messages!

BTW:Those who developed Foscam and IP607 are total noobs!!! They have nice SDK and quite inteligent bootloader can load new firmware to RAM or flash it via TCP/IP. Even bootloader is manageable over telnet session. But its disabled! Enabling few options and opening camera is not necessary. Unbelievable how some hw developers are total (censored word). My bricked camera is because this noobs not locked address space as read only via JTAG, so changing ip address on camera and internal software fault probably damanged bootloader accessing this area for whatever reason. Even when address space is not lockable on hardware basis(some lower arms can't do) then can set address boundaries as kernel parameters for filesystem.




[/quote]

Hi Fishie!

Happy new year to you and all other members on this board!

I have tried you restore formware files but unfortunatly it doesn't work for my cam. I bought my cam at www.chinavasion.com. and the board says: ES_IP607_ARM_2.

When I upload the firmware you provided it the camera boots but like with all other firmwares I have tried at the end I get this message:

write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
write i2c error
myreboot

and the camera ends in a loop of reboots. Is it possible that I'm doing something wrong? or do I have a different cam?

Thanks,

Ramon
3
Bus Pirate Support / Re: Unbricking IP Camera
On  top of the register array I measured 3.3 volts!

I now swapped TDO and TDI and now macro mode (2) gives me this:

JTAG>(2)
JTAG INIT CHAIN
JTAGSM: RESET
JTAGSM: RESET->IDLE
JTAGSM: IDLE->Instruction Register (DELAYED ONE BIT FOR TMS)
JTAGSM: IR->IDLE
JTAGSM: IDLE->Data Register
JTAGSM: DR->IDLE
JTAGSM: RESET
JTAGSM: RESET->IDLE
JTAGSM: IDLE->Data Register
0xFA DEVICE(S) IN JTAG CHAIN
0x01 : 0x00 0x00 0x00 0x00
0x02 : 0x00 0x00 0x00 0x00
0x03 : 0x00 0x00 0x00 0x00
0x04 : 0x00 0x00 0x00 0x00
0x05 : 0x00 0x00 0x00 0x00
0x06 : 0x00 0x00 0x00 0x00
0x07 : 0x00 0x00 0x00 0x00
0x08 : 0x00 0x00 0x00 0x00
0x09 : 0x00 0x00 0x00 0x00
0x0A : 0x00 0x00 0x00 0x00
0x0B : 0x00 0x00 0x00 0x00
0x0C : 0x00 0x00 0x00 0x00
0x0D : 0x00 0x00 0x00 0x00
0x0E : 0x00 0x00 0x00 0x00
0x0F : 0x00 0x00 0x00 0x00
0x10 : 0x00 0x00 0x00 0x00
0x11 : 0x00 0x00 0x00 0x00
0x12 : 0x00 0x00 0x00 0x00
0x13 : 0x00 0x00 0x00 0x00
0x14 : 0x00 0x00 0x00 0x00
0x15 : 0x00 0x00 0x00 0x00
0x16 : 0x00 0x00 0x00 0x00
0x17 : 0x00 0x00 0x00 0x00
0x18 : 0x00 0x00 0x00 0x00
0x19 : 0x00 0x00 0x00 0x00
0x1A : 0x00 0x00 0x00 0x00
0x1B : 0x00 0x00 0x00 0x00
0x1C : 0x00 0x00 0x00 0x00
0x1D : 0x00 0x00 0x00 0x00
0x1E : 0x00 0x00 0x00 0x00
0x1F : 0x00 0x00 0x00 0x00
0x20 : 0x00 0x00 0x00 0x00
0x21 : 0x00 0x00 0x00 0x00
0x22 : 0x00 0x00 0x00 0x00
0x23 : 0x00 0x00 0x00 0x00
0x24 : 0x00 0x00 0x00 0x00
0x25 : 0x00 0x00 0x00 0x00
0x26 : 0x00 0x00 0x00 0x00
0x27 : 0x00 0x00 0x00 0x00
0x28 : 0x00 0x00 0x00 0x00
0x29 : 0x00 0x00 0x00 0x00
0x2A : 0x00 0x00 0x00 0x00
0x2B : 0x00 0x00 0x00 0x00
0x2C : 0x00 0x00 0x00 0x00
0x2D : 0x00 0x00 0x00 0x00
0x2E : 0x00 0x00 0x00 0x00
0x2F : 0x00 0x00 0x00 0x00
0x30 : 0x00 0x00 0x00 0x00
0x31 : 0x00 0x00 0x00 0x00
0x32 : 0x00 0x00 0x00 0x00
0x33 : 0x00 0x00 0x00 0x00
0x34 : 0x00 0x00 0x00 0x00
0x35 : 0x00 0x00 0x00 0x00
0x36 : 0x00 0x00 0x00 0x00
0x37 : 0x00 0x00 0x00 0x00
0x38 : 0x00 0x00 0x00 0x00
0x39 : 0x00 0x00 0x00 0x00
0x3A : 0x00 0x00 0x00 0x00
0x3B : 0x00 0x00 0x00 0x00
0x3C : 0x00 0x00 0x00 0x00
0x3D : 0x00 0x00 0x00 0x00
0x3E : 0x00 0x00 0x00 0x00
0x3F : 0x00 0x00 0x00 0x00
0x40 : 0x00 0x00 0x00 0x00
0x41 : 0x00 0x00 0x00 0x00
0x42 : 0x00 0x00 0x00 0x00
0x43 : 0x00 0x00 0x00 0x00
0x44 : 0x00 0x00 0x00 0x00
0x45 : 0x00 0x00 0x00 0x00
0x46 : 0x00 0x00 0x00 0x00
0x47 : 0x00 0x00 0x00 0x00
0x48 : 0x00 0x00 0x00 0x00
0x49 : 0x00 0x00 0x00 0x00
0x4A : 0x00 0x00 0x00 0x00
0x4B : 0x00 0x00 0x00 0x00
0x4C : 0x00 0x00 0x00 0x00
0x4D : 0x00 0x00 0x00 0x00
0x4E : 0x00 0x00 0x00 0x00
0x4F : 0x00 0x00 0x00 0x00
0x50 : 0x00 0x00 0x00 0x00
0x51 : 0x00 0x00 0x00 0x00
0x52 : 0x00 0x00 0x00 0x00
0x53 : 0x00 0x00 0x00 0x00
0x54 : 0x00 0x00 0x00 0x00
0x55 : 0x00 0x00 0x00 0x00
0x56 : 0x00 0x00 0x00 0x00
0x57 : 0x00 0x00 0x00 0x00
0x58 : 0x00 0x00 0x00 0x00
0x59 : 0x00 0x00 0x00 0x00
0x5A : 0x00 0x00 0x00 0x00
0x5B : 0x00 0x00 0x00 0x00
0x5C : 0x00 0x00 0x00 0x00
0x5D : 0x00 0x00 0x00 0x00
0x5E : 0x00 0x00 0x00 0x00
0x5F : 0x00 0x00 0x00 0x00
0x60 : 0x00 0x00 0x00 0x00
0x61 : 0x00 0x00 0x00 0x00
0x62 : 0x00 0x00 0x00 0x00
0x63 : 0x00 0x00 0x00 0x00
0x64 : 0x00 0x00 0x00 0x00
0x65 : 0x00 0x00 0x00 0x00
0x66 : 0x00 0x00 0x00 0x00
0x67 : 0x00 0x00 0x00 0x00
0x68 : 0x00 0x00 0x00 0x00
0x69 : 0x00 0x00 0x00 0x00
0x6A : 0x00 0x00 0x00 0x00
0x6B : 0x00 0x00 0x00 0x00
0x6C : 0x00 0x00 0x00 0x00
0x6D : 0x00 0x00 0x00 0x00
0x6E : 0x00 0x00 0x00 0x00
0x6F : 0x00 0x00 0x00 0x00
0x70 : 0x00 0x00 0x00 0x00
0x71 : 0x00 0x00 0x00 0x00
0x72 : 0x00 0x00 0x00 0x00
0x73 : 0x00 0x00 0x00 0x00
0x74 : 0x00 0x00 0x00 0x00
0x75 : 0x00 0x00 0x00 0x00
0x76 : 0x00 0x00 0x00 0x00
0x77 : 0x00 0x00 0x00 0x00
0x78 : 0x00 0x00 0x00 0x00
0x79 : 0x00 0x00 0x00 0x00
0x7A : 0x00 0x00 0x00 0x00
0x7B : 0x00 0x00 0x00 0x00
0x7C : 0x00 0x00 0x00 0x00
0x7D : 0x00 0x00 0x00 0x00
0x7E : 0x00 0x00 0x00 0x00
0x7F : 0x00 0x00 0x00 0x00
0x80 : 0x00 0x00 0x00 0x00
0x81 : 0x00 0x00 0x00 0x00
0x82 : 0x00 0x00 0x00 0x00
0x83 : 0x00 0x00 0x00 0x00
0x84 : 0x00 0x00 0x00 0x00
0x85 : 0x00 0x00 0x00 0x00
0x86 : 0x00 0x00 0x00 0x00
0x87 : 0x00 0x00 0x00 0x00
0x88 : 0x00 0x00 0x00 0x00
0x89 : 0x00 0x00 0x00 0x00
0x8A : 0x00 0x00 0x00 0x00
0x8B : 0x00 0x00 0x00 0x00
0x8C : 0x00 0x00 0x00 0x00
0x8D : 0x00 0x00 0x00 0x00
0x8E : 0x00 0x00 0x00 0x00
0x8F : 0x00 0x00 0x00 0x00
0x90 : 0x00 0x00 0x00 0x00
0x91 : 0x00 0x00 0x00 0x00
0x92 : 0x00 0x00 0x00 0x00
0x93 : 0x00 0x00 0x00 0x00
0x94 : 0x00 0x00 0x00 0x00
0x95 : 0x00 0x00 0x00 0x00
0x96 : 0x00 0x00 0x00 0x00
0x97 : 0x00 0x00 0x00 0x00
0x98 : 0x00 0x00 0x00 0x00
0x99 : 0x00 0x00 0x00 0x00
0x9A : 0x00 0x00 0x00 0x00
0x9B : 0x00 0x00 0x00 0x00
0x9C : 0x00 0x00 0x00 0x00
0x9D : 0x00 0x00 0x00 0x00
0x9E : 0x00 0x00 0x00 0x00
0x9F : 0x00 0x00 0x00 0x00
0xA0 : 0x00 0x00 0x00 0x00
0xA1 : 0x00 0x00 0x00 0x00
0xA2 : 0x00 0x00 0x00 0x00
0xA3 : 0x00 0x00 0x00 0x00
0xA4 : 0x00 0x00 0x00 0x00
0xA5 : 0x00 0x00 0x00 0x00
0xA6 : 0x00 0x00 0x00 0x00
0xA7 : 0x00 0x00 0x00 0x00
0xA8 : 0x00 0x00 0x00 0x00
0xA9 : 0x00 0x00 0x00 0x00
0xAA : 0x00 0x00 0x00 0x00
0xAB : 0x00 0x00 0x00 0x00
0xAC : 0x00 0x00 0x00 0x00
0xAD : 0x00 0x00 0x00 0x00
0xAE : 0x00 0x00 0x00 0x00
0xAF : 0x00 0x00 0x00 0x00
0xB0 : 0x00 0x00 0x00 0x00
0xB1 : 0x00 0x00 0x00 0x00
0xB2 : 0x00 0x00 0x00 0x00
0xB3 : 0x00 0x00 0x00 0x00
0xB4 : 0x00 0x00 0x00 0x00
0xB5 : 0x00 0x00 0x00 0x00
0xB6 : 0x00 0x00 0x00 0x00
0xB7 : 0x00 0x00 0x00 0x00
0xB8 : 0x00 0x00 0x00 0x00
0xB9 : 0x00 0x00 0x00 0x00
0xBA : 0x00 0x00 0x00 0x00
0xBB : 0x00 0x00 0x00 0x00
0xBC : 0x00 0x00 0x00 0x00
0xBD : 0x00 0x00 0x00 0x00
0xBE : 0x00 0x00 0x00 0x00
0xBF : 0x00 0x00 0x00 0x00
0xC0 : 0x00 0x00 0x00 0x00
0xC1 : 0x00 0x00 0x00 0x00
0xC2 : 0x00 0x00 0x00 0x00
0xC3 : 0x00 0x00 0x00 0x00
0xC4 : 0x00 0x00 0x00 0x00
0xC5 : 0x00 0x00 0x00 0x00
0xC6 : 0x00 0x00 0x00 0x00
0xC7 : 0x00 0x00 0x00 0x00
0xC8 : 0x00 0x00 0x00 0x00
0xC9 : 0x00 0x00 0x00 0x00
0xCA : 0x00 0x00 0x00 0x00
0xCB : 0x00 0x00 0x00 0x00
0xCC : 0x00 0x00 0x00 0x00
0xCD : 0x00 0x00 0x00 0x00
0xCE : 0x00 0x00 0x00 0x00
0xCF : 0x00 0x00 0x00 0x00
0xD0 : 0x00 0x00 0x00 0x00
0xD1 : 0x00 0x00 0x00 0x00
0xD2 : 0x00 0x00 0x00 0x00
0xD3 : 0x00 0x00 0x00 0x00
0xD4 : 0x00 0x00 0x00 0x00
0xD5 : 0x00 0x00 0x00 0x00
0xD6 : 0x00 0x00 0x00 0x00
0xD7 : 0x00 0x00 0x00 0x00
0xD8 : 0x00 0x00 0x00 0x00
0xD9 : 0x00 0x00 0x00 0x00
0xDA : 0x00 0x00 0x00 0x00
0xDB : 0x00 0x00 0x00 0x00
0xDC : 0x00 0x00 0x00 0x00
0xDD : 0x00 0x00 0x00 0x00
0xDE : 0x00 0x00 0x00 0x00
0xDF : 0x00 0x00 0x00 0x00
0xE0 : 0x00 0x00 0x00 0x00
0xE1 : 0x00 0x00 0x00 0x00
0xE2 : 0x00 0x00 0x00 0x00
0xE3 : 0x00 0x00 0x00 0x00
0xE4 : 0x00 0x00 0x00 0x00
0xE5 : 0x00 0x00 0x00 0x00
0xE6 : 0x00 0x00 0x00 0x00
0xE7 : 0x00 0x00 0x00 0x00
0xE8 : 0x00 0x00 0x00 0x00
0xE9 : 0x00 0x00 0x00 0x00
0xEA : 0x00 0x00 0x00 0x00
0xEB : 0x00 0x00 0x00 0x00
0xEC : 0x00 0x00 0x00 0x00
0xED : 0x00 0x00 0x00 0x00
0xEE : 0x00 0x00 0x00 0x00
0xEF : 0x00 0x00 0x00 0x00
0xF0 : 0x00 0x00 0x00 0x00
0xF1 : 0x00 0x00 0x00 0x00
0xF2 : 0x00 0x00 0x00 0x00
0xF3 : 0x00 0x00 0x00 0x00
0xF4 : 0x00 0x00 0x00 0x00
0xF5 : 0x00 0x00 0x00 0x00
0xF6 : 0x00 0x00 0x00 0x00
0xF7 : 0x00 0x00 0x00 0x00
0xF8 : 0x00 0x00 0x00 0x00
0xF9 : 0x00 0x00 0x00 0x00
0xFA : 0x00 0x00 0x00 0x00
JTAGSM: DR->IDLE
JTAG>
4
Bus Pirate Support / Re: Unbricking IP Camera
Flashed the 4.5 firmware, I connected the JTAG connector and ran macro (2) in the JTAG menu, this is the response:
JTAG>(2)
JTAG INIT CHAIN
JTAGSM: RESET
JTAGSM: RESET->IDLE
JTAGSM: IDLE->Instruction Register (DELAYED ONE BIT FOR TMS)
JTAGSM: IR->IDLE
JTAGSM: IDLE->Data Register
JTAGSM: DR->IDLE
JTAGSM: RESET
JTAGSM: RESET->IDLE
JTAGSM: IDLE->Data Register
0x00 DEVICE(S) IN JTAG CHAIN
JTAGSM: DR->IDLE
JTAG>

I guess it didn't find anything?
5
Bus Pirate Support / Re: Unbricking IP Camera
Hi Ian! Thanks for the reply, I soldered the connections to the board and want to try to scan JTAG with the buspirate to see if it detects anything. Sorry for the noob question, but do I need to power up the IP Camera to use JTAG? and where can I find the BusPirate 4 firmware with JTAG support? I now have 5.9 loaded on the BP.

Cheers,

Ramon
6
Bus Pirate Support / Re: Unbricking IP Camera
Ok trying a different route here. I found the datasheet for the ARM chip:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/IndustrialIC/ARMMicrocontroller/ARMMicrocontroller/Documents/NUC745ADN.pdf

As I looked at the pinout of the chip I saw there are JTAG PINS:


Can someone please tell me if I can get the content of the board through JTAG with the Bus Pirate and OpenOCD?
If so is the pinout on the picture enough?
And do I need to remove the resistor array R2 and the resistor R14 as shown on the picture?

I really hope someone can help me out here..

Thanks again!

Ramon
7
Bus Pirate Support / Re: Unbricking IP Camera
[quote author="villamany"]
any proggress reading the firm?
[/quote]

Unfortunately no, I have no idea how to connect the BP to the chip so I can dump the firmware. I do not have any idea how to start :) That's why I hope to trigger the interest of a hardware guru who can help me out :) All I need is a dump of the firmware, the "bricked" cam is still responsive through the bootloader on it, so if I have the original firmware I can put it on the "bricked" cam through the bootloader.
8
Bus Pirate Support / Re: Unbricking IP Camera
[quote author="drewmerc"]
the arm7 should have jtag so a quick search i found this http://www.computersolutions.cn/blog/20 ... 80%93-pt6/
[/quote]

Hi drewmerc!

Thank you for your response, unfortunately I have tried about every single possibility that I found on the internet and I also found that blog. I have connected the serial debug interface on the camera with a RS232 device and uploaded about every firmware I found. Nothing worked. The problem I think is that Foscam the original maker of the cams have made a protection in there firmware that checks if a specific chip is available and if not it reboots. That is what is happening now to the cam I uploaded new firmware to the cam it boots I can follow the process through the terminal window and then the last message I see is "I2C write error, myReboot". That is the reason why i want to read the original firmware from a working cam so I can upload it to the bricked cam. The thing is I don't know how I can dump the firmware form the working cam. As far as I can see there is no possibility through the bootloader.
10
Bus Pirate Support / Re: Unbricking IP Camera
[quote author="villamany"]
Hello Ramon, i reply your private message by this way.
I also have the FI8908W camera (the original foscam with wifi). Have you tried to upload the original foscam firmware by UART?

I can send you the c# sources of application that I use for SPI flash memory reading/writing. But it is not finished and I can not guarantee you work. I got what I needed (my camera MD80 without timestamp) and i leave the application.

I would recommend you to use FlashROMto read / write memory in your camera because it is a more reliable application.

If you still want the c# sources let me know. Good luck.

Greetings ...



[/quote]

Hi Villamany,

Thanks for your reply! I have tried about every Foscam firmware there is to be found on the internet, none of them work on my cam. I suspect that foscam has added a hardware check in the firmware and if a specific part is not found it resets the camera, thats what happens with my camera if I load the Focam recovery firmware it completely boots up but when it is almost finished it says i2c write error and sends a reboot signal. If you are willing to share the source that would be very cool!

Cheers,

Ramon
11
Bus Pirate Support / Unbricking IP Camera
Hi Guys,

After all recent unbricking success story's I hope you can help me with something. I have recently bought 4 IP Cameras from here: http://www.chinavasion.com/product_info.php/pName/ip-surveillance-camera-with-angle-control-and-motion-detection/ It is a so called Foscam Camera Clone from China :) I tried to update a camera with an original Foscam firmware with the result of bricking the camera. I have tried averything I could find on the internet to debrick a Foscam Clone, but nothing helps. It is not totally bricked I can connect a serial (TTL) device to it (3.3v) and can access the bootloader, only I do not have an original ChinaVasion firmware.

The thing I want to do is this: I want to get the original firmware of a camera that still workes and put it on the bricked one! I hope I can do this with the Bus Pirate, but I really do not have a clue how I can do this! I hope you guys can help me out here.

Some more info: 

The FLASH chip: SPANSION S19GL032ATFA00B0 it is a obsolete chip and all I could find was its replacement is the SPANSION S29GL032


The CPU is a ARM7 Nuvoton:


I really hope someone can help me reading out the content of the SPANSION FLASH chip somehow!

Thanks!

Ramon
13
Web platform / Re: Sure Electronics Dot Matrix Displays
Thanks Ian! There are more and more people discovering those Sure Electronics screens, I have found various code samples, but most of them are for Arduino like systems. I have attached 4 files. The SourceSample.txt is from Sure Electronics. The ht1632_write_Commands.h, ht1632_Commands and Source file.txt are from: http://pasanmicroprojects.wordpress.com/2010/02/18/ht1632-successfully-interfaced-with-pic-mcu/ But is written in MikroC.

Can't wait Ian, oh by the way, we both have the Sure Electronics 24x16 boards, but I just ordered 10 8x32 displays :) so if there is anyway you could support thos too that would be supurb! ;)

Thanks,

RvBCrS
14
Web platform / Re: Sure Electronics Dot Matrix Displays
Hi rsdio, I think this is really all going above my head, I understand some of what your saying, but go implement it is a whole other thing for me ;)

The chip is from HOLTEK, I think you found out already, but just to be sure. Here is the site with info about the chip: http://www.holtek.com/English/docum/consumer/1632.htm
And here is de datasheet: http://www.holtek.com/pdf/consumer/1632v120.pdf

I guess I have to stick with the arduino for now until some more electrical gifted person figures out how to get it to work with the WebPlatform ;)
15
Web platform / Re: Sure Electronics Dot Matrix Displays
Unfortunatly I'm not an electrical engineer by far! I like electronics and even more I like led's ;) The code I posted earlier is code from the manufacturer of the displays (Sure Electronics) They don't really provided much info for these displays, but thanks to the guys at the arduino forums I could finally use the displays. But the final goal (for me) was always to use them in combination with the Web Platform, I'm just a big sucker for big led displays controlled over the intenernet ;)

Anyway, I don't think it is possible to wright C++ code for the PIC Mcu's so I guess the only thing I have is the code from the manufacturer, and the fact that there seems to be more people out there who succeeded in interfacing the displays with a PIC MCU. http://pasanmicroprojects.wordpress.com/2010/02/18/ht1632-successfully-interfaced-with-pic-mcu/

He writes on his blog:
Quote
It can be driven by SPI like interface. It can be easy interfaced to any microcontrollers.

It doesn't say clearly it has a SPI interface, but..

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.02162494792session_write_close ( )...(null):0
20.02202626400ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.02202627176Database_MySQL->query( ).../DatabaseHandler.php:119
40.06702765928Database_MySQL->error( ).../Db-mysql.class.php:273