GoPro HD HERO 1080 Firmware

  • 102 Replies
  • 105967 Views
Re: GoPro HD HERO Firmware
« Reply #10 on: 12 / January / 2011, 18:25:56 »
Advertisements
Hi all,

I just wrote a new article about what I am doing with 5 GoPro HD cameras:
http://www.diy-streetview.org/2011/01/13/gopro-hd-plywood-rig/

Jan
DIY-streetview.org - Do It Yourself streetview!

Re: GoPro HD HERO Firmware
« Reply #11 on: 14 / January / 2011, 11:01:20 »
Hey Pixeldoc2000! Awesome job, man!

Before the question, let me introduce the scenery.
I'm working on an open source software/hardware to control Canon cameras remotely and provide OSD telemetry data.
The project is called ArduCam OSD.
It's intended to be done through most interfaces as possible and could be extended to other brands. Until now, it works by hosting the camera on its USB bus. It uses Powershot PTP commands (PS-ReCSDK 1.1.0e). However, the ArduCam hardware exposes pads for SPI and i2c too.

I'm in touch with Mweerden. He is helping me to figure out a way to extend the PTP command set to CHDK's PTP too (to Heyalp's implementation).

More details about the project here: http://code.google.com/p/arducam-osd/wiki/arducam_osd?tm=6.


So, here goes the question: now that you have access to more details, do you think it could be possible to discover if the i2c exposed on GoPro could be used to remote controlling it? It would be an awesome addition to ArduCams firmware.

You know, I'm referring to pins 28, 29:

1 GND
2 R video out - component Pb/Cb or composite
3 G video out - component Y
4 B video out - component Pr/Cr
5 USB +5V USB power
6 USB +5V USB power
7 USB DP-B USB data line D+
8 USB DM-B USB data line D-
9 GND
10 HPR audio out right channel
11 HPL audio out left channel
12 PWR/MODE power/mode button
13 V3.6 ?
14 IN1R audio in right channel
15 IN1L audio in left channel
16 IR IN input IR receiver
17 TRIG ?
18 GND
19 ID1 digital input
20 ID2 digital input
21 ID3 digital input
22 ID4 digital input
23 ADAPTER output - power for ext. adapter?
24 ADAPTER output - power for ext. adapter?
25 WBAT+ input - ext. power for camera?
26 WBAT+ input - ext. power for camera?
27 GND
28 DATA interface I2C
29 CLK interface I2C

30 GND

« Last Edit: 14 / January / 2011, 11:03:57 by Playmobil »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: GoPro HD HERO Firmware
« Reply #12 on: 18 / January / 2011, 13:11:20 »
The project is called ArduCam OSD.
Interesting idea.
I'm into AVR / Arduino some years now ;-)

I'm in touch with Mweerden. He is helping me to figure out a way to extend the PTP command set to CHDK's PTP too (to Heyalp's implementation).
You want to execute shoot command and other stuff on powershot/ixus i guess...

So, here goes the question: now that you have access to more details, do you think it could be possible to discover if the i2c exposed on GoPro could be used to remote controlling it? It would be an awesome addition to ArduCams firmware.
Without analysing the I2C handling in firmware I can only guess...
  • Ambarella CPU maybe I2C Master (sender) only and does not listen for commands without custom Firmware
  • Maybe we need to send some "magic" data to Ambarella before it will list to any "random" command (probably accessory connected to Hero BUS send some magic data or Ambarella search I2C Bus for specific address active and than listen)
  • Maybe the right connection with ID1 & ID2 & ID3 & ID4 & ... is required to force Ambarella to listen to I2C
  • Maybe there is no support at all for Hero BUS in current firmware (maybe accessory requires new
    firmware update)

I don't see any way to interact from serial with I2C. Otherwise it's would be possible to send serial (UART) commands with arduino to camera. Of cause it require soldering UART TX RX on pcb which is no fun.

BTW, i didn't tinker with I2C yet...
« Last Edit: 18 / January / 2011, 13:37:04 by pixeldoc2000 »

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: GoPro HD HERO Firmware
« Reply #13 on: 19 / January / 2011, 18:47:51 »
gopropit posted link to http://spritesmods.com/?art=zx3hack at http://goprouser.freeforums.org/the-gopro-hero-hd-bus-interface-t797-60.html#p12089

Sprite hacked his Kodak ZX3 with Ambarella A5 Core and 128MB Ram. Firmware Update "zx3_112.exe" is available.
Most Kodak firmware  looks very simular to GoPro.

On boot Camera does start script autoexec.ash on SD-Card.
Looks like we can execute any available ambsh (Ambarella Shell) command.

autoexec.ash for Kodak ZX3
Code: [Select]
savebin d:\memdump.bin 0xC0000000 l 134217728
Note: Require unix linebreak!

On GoPro it creates an empty file.

I'm still unshure if 0xC0000000 is correct RAM (relocation) address for ROM.

EDIT: In order to dump 256MBit we need use 134217728 * 2 = 268435456 as length parameter to savebin (ZX3 has only 128MBit RAM) of cause...
« Last Edit: 20 / January / 2011, 17:47:02 by pixeldoc2000 »


Re: GoPro HD HERO Firmware
« Reply #14 on: 19 / January / 2011, 20:36:12 »
Just to let you know that I told Sprite about our attempts and provided a link.
Let's see if he is interested.

Jan
DIY-streetview.org - Do It Yourself streetview!

Re: GoPro HD HERO Firmware
« Reply #15 on: 19 / January / 2011, 21:53:57 »
janmartin,

Just checked your site... very cool.  Google Streetview on a budget.  I love it.

Now you have me wondering about putting this rig on a UAV such as the ones discussed at DIYDrones.com

You could use the attitude sensors to correct the angle of the resulting view.  Lots of possibilities here...

Keep up the great work!
Was: SD1100 IS, Autobuild, V1.01a, dunked in ocean
Next: SD990 IS, Autobuild, used to build sand castles with
Waiting to die: SX230

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: GoPro HD HERO Firmware
« Reply #16 on: 20 / January / 2011, 17:51:16 »
Just to let you know that I told Sprite about our attempts and provided a link.
Already noticed your comment, good move.
Sprite may have some answers like correct memory layout (RAM address) and cross reference between kodac/gopro firmware.

@Old Farseeing Art & @janmartin
No offend, but lets continue conversion about (open)streetview in new tread if not related to gopro fw...  ;)
« Last Edit: 20 / January / 2011, 17:56:56 by pixeldoc2000 »

Re: GoPro HD HERO Firmware
« Reply #17 on: 24 / January / 2011, 15:19:20 »
Hello Pixeldoc2000,

This is how I did the autoexec.ash:
savebin d:\memdump.bin 0xC0000000 l 268435456\n

"\n" is the char 0x0a, of course.

The memdump.bin was saved, but is empty here too.


*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: GoPro HD HERO Firmware
« Reply #18 on: 27 / January / 2011, 14:04:39 »
The memdump.bin was saved, but is empty here too.
As expected...

I also tried to use savebin within shell, but didn't work either...

*

Offline pixeldoc2000

  • ****
  • 356
  • IXUS900Ti 1.00C, IXUS300HS 1.00D
    • pixel::doc homebase
Re: GoPro HD HERO Firmware
« Reply #19 on: 30 / January / 2011, 17:04:22 »
It would be handy if we manage to get a dump from the first firmware (from Camera not updated to v02.05.11) to compare them.

I guess if GoPro release Stereo Rig and Display Backpack there will be a new Firmware to support it (maybe with real remote control or sync features).

BTW, i've messured UART RX / TX Voltage Level with my scope to be shure they are 3.3V (active high) like the rest.
« Last Edit: 30 / January / 2011, 17:21:01 by pixeldoc2000 »

 

Related Topics