Open marek786 opened 10 years ago
Where to get DDR initialization sequence and HAL patch for GoPro Hero 3+ Silver?
I have never made one myself (never owned such a camera) but I've heard the Hero2 version works well enough? On May 5, 2016 5:33 AM, "coolbick" notifications@github.com wrote:
Where to get DDR initialization sequence and HAL patch for GoPro Hero 3+ Silver?
— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/evilwombat/gopro-usb-tools/issues/1#issuecomment-217141679
@evilwombat Having tried all versions of the cameras that are defined and where initialization fails DDR. How did you take these parameters?
Hopefully someone is still watching this thread and can give me some pointers. I have a bricked Hero3 Silver that has no lights on when plugged into usb and no activity when a battery is plugged in. I was able to get the camera into usb command mode and use Nikko's method of gpboot. Problem is once gpboot is done the bottom red LED illuminates for maybe 10-15 seconds then goes out and windows gives audio notification that a usb device has been disconnected. Not sure if anyone else has had any luck with a H3S. Any input would be appreciated.
Hi Just watch this video,any questions I will be happy to answer. https://m.youtube.com/watch?v=VW3fp0OOeyg
Thanks, I watched the video already. I don't have a RS232 adapter so I think I am pretty much out of luck. I thought there might have been another method of getting FW to load after using the gpboot.
This is your only way at the moment as there is no ddr sequence for silver. Just order one from eBay RS232TL
Hello everybody. I ask for help! I need UART pinouts for gopro hero3+ black edition.
Hi Never had the black plus so I am not Sure about,think that if I had a picture of the motherboard will be nice to try and see about.
Hi Just watch this video,any questions I will be happy to answer. https://m.youtube.com/watch?v=VW3fp0OOeyg
Hello nikko20 thank you for your tutorial! I think it works fine for most cases. But not for my case. I stuck on a Putty. It receive some logs and thats all ;(
Ambarella(R) Copyright (C) 2004-2007
[00000006] Built: root@edward-laptop 2013-07-10 22:49:38 [00000006] Kernel command line: osd=tv_full rec_thm=image [00000006] Memory Usage: [00000006] fios/dma: 0xc0000000 - 0xc007ffff [0x00080000] [00000006] rtos + app: 0xc0100000 - 0xc0be4c3f [0x00ae4c40] [00000006] cached heap: 0xc0bf0000 - 0xc2faffff [0x023c0000] [00000006] non-cached heap: 0xc2fb0000 - 0xc2ffffff [0x00050000] [00000006] dsp: 0xc6000000 - 0xcfffffff [0x0a000000] [00000006] linux: 0xc3000000 - 0xc5ffffff [0x03000000] [00000006] total memory: 0x10000000 [00000006] cache id trademark: 0x41 [00000006] cache id architecture: 0x7 [00000006] cache id part number: 0xb36 [00000006] cache id revision: 0x5 [00000006] cache type: write back [00000006] separate i-cache and d-cache [00000006] cache type d-cache size: 16 KB [00000006] cache type d-cache associativities: 0x4 [00000006] cache type d-cache multiplier: 0x0 [00000006] cache type d-cache line size: 32 byte [00000006] cache type i-cache size: 16 KB [00000006] cache type i-cache associativities: 0x4 [00000006] cache type i-cache multiplier: 0x0 [00000006] cache type i-cache line size: 32 byte [00000007] boss: Initialize BOSS base service [00000007] ipc: shared mem = c5f00000, 00100000 [00000007] ipc: slock = c5f02000, 204 [00000007] ipc: mutex = c5f03000, c5f03040, 12, 7, 8 [00000007] ipc: mutex 0 = c5f03040, 9 [00000007] ipc: mutex 1 = c5f030fc, 10 [00000007] ipc: mutex 2 = c5f031b8, 11 [00000007] ipc: mutex 3 = c5f03274, 12 [00000007] ipc: mutex 4 = c5f03330, 13 [00000007] ipc: mutex 5 = c5f033ec, 14 [00000007] ipc: mutex 6 = c5f034a8, 15 [00000007] ipc: mutex 7 = c5f03564, 16 [00000007] ipc: mutex 8 = c5f03620, 17 [00000007] ipc: mutex 9 = c5f036dc, 18 [00000007] ipc: mutex 10 = c5f03798, 19 [00000007] ipc: mutex 11 = c5f03854, 20 [00000007] ipc: shm = c5f01000, 1024 [00000007] boss: shared mem = c5f00000, 00100000 [00000030] [boot_irq0 = 0x00] [00000030] [boot_irq1 = 0x00] [00000030] [boot_irq2 = 0x00] [00000030] [boot_irq3 = 0x00] [00000038] [pmic 0x17-0x07 = 0x00] [00000043] [pmic 0x19-0x00 = 0xD1] [00000051] pmic initialized [00000072] rtc in pwc mode [00000082] HDMI use cyclic timer mode(2) to detect HPD and RX Sense [00000082] [hook_maintask_post_peripheral_init()] [00000084] [Read board revision 0.] [00000084] [hook_maintask_post_ui_init()] [00000084] [Blacks_Button_Init()] [00000085] [Blacks_Gpio_Button_Scan_Init()] [00000085] [Blacks_Gpio_Button_Irq_init()] [00000085] [Blacks_ADC_Button_Init()] [00000085] [Blacks_IR_Button_Init()] [00000085] [Blacks_Button_Detect_Disable(0xffffffff)] [00000085] [btn_detect_task.detect_en = 0x0] [00000085] Initialize SCM [00000085] Initialize STK task [00000085] Initialize debou task [00000087] Initialize FL1 block driver ... [00000087] fl1prf2 - fat pages:32, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize SD0 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize RD block driver ... [00000087] Initialize SD2 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000133] Initialize AMB flash host controller [00000133] HYNIX HY27U1G8F2B_128MB_PG2K with (id: 0xadf1001d) (banks: 1) [00000133] [[Button Task] : Blacks_Button_Task()] [00000134] Initialize AMB SD host controller 0 [00000134] FW_PART: initialized [00000135] BB pre-scan ok (id=9) [00000136] ROMFS: initialized [00000137] [hook_boss_pre_start()] [00000137] boss: Initialize BOSS [00000138] ipc: binder = c084f860, ipc_buf = c5f00098, 16 [00000138] ipc: clnt_out = c5f00098, 3 [00000138] ipc: clnt_in = c5f000d8, 4 [00000138] ipc: svc_in = c5f00118, 5 [00000138] ipc: svc_out = c5f00158, 6 [00000138] boss: bh = c0898984 [00000138] boss: bh worker 0 = c0898a8c [00000138] boss: bh worker 1 = c089ac2c [00000140] BB pre-scan ok (id=10) [00000140] UCLD START 140 [00000143] [bsp_link_codec()] [00000143] ENABLE_TLV320AIC3101_CODEC [00000143] Doing Reset of Audio [00000162] Load main(code) ucode to 0xcfd00000 successful, size = 2096266 [00000165] Load sub0(me) ucode to 0xcff00000 successful, size = 338052 [00000167] Load default binary ucode to 0xcffa0000 successful, size = 262144 [00000167] ---- UCODE DONE 167 ---- [00000206] [tlv320aic3101_init] [00000213] IIS flag (0x00) [00000219] TLV320AIC3101 ADC flag (0x40) [00000225] TLV320AIC3101 DAC flag (0xc0) [00000225] recording 0 (0) [00000225] using internal mic? 1 [00000226] not live feed? 1 [00000226] tlv320aic3101: Not support function! [00000227] tlv320aic3101_sfreq_conf: 48000 [00000227] Max audio allocate size(cache) = 605208 [00000227] AIN_MAX_UPSMP_CNT=16 , AIN_MAX_UPSMP_LEVEL=7 [00000227] AIN_NUM_RX_BUFFER=16, AOUT_NUM_TX_BUFFER=16 [00000227] Global audio cachable heap is created successfully...... [00000227] Global audio cachable heap is created successfully(12)...... [00000227] Global audio non-cache heap is allocated successfully...... [00000227] Global audio non-cache heap is created successfully (13)...... [00000228] [tlv320aic3101_lineout_power_on] [00000231] [tlv320aic3101_hpout_power_on] [00000231] tlv320aic3101: Not support function! [00000231] [tlv320aic3101_mic_input_down] AIN_ADC_MIC_IN [00000231] [tlv320aic3101_herobusmic_off] AIN_ADC_LINE1_IN [00000231] Doing Reset of Audio [00000294] [tlv320aic3101_init] [00000301] IIS flag (0x00) [00000307] TLV320AIC3101 ADC flag (0x40) [00000313] TLV320AIC3101 DAC flag (0xc0) [00000313] recording 0 (0) [00000314] using internal mic? 1 [00000314] not live feed? 1 [00000315] tlv320aic3101_sfreq_conf: 48000 [00000320] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000321] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000325] [tlv320aic3101_mute_off] [00000325] audio tasks init done [00000325] cre_iav_buf: raw=(c1ecb52c,16781312), base=(c1ecc000,16777216) [00000325] Initialize cavlc task [00000325] iav_msg.base at 0xc1e9b000 size 0x20000 [00000325] Host control manager ready [00000325] [handler()] [00000325] [app_init()] [00000326] ==========> streaming_mode is set to 0 !! [00000326] Registered sensor mt9f001_a5 [00000326] LCD panel selected: a027dl01 [00000326] Registered LCD[0] a027dl01 [00000330] -->SENSOR_VIDEO_RES_WVGA_FULL [00000330] ------------>app_hd2_vr_get [30]
[00000330] fovphotosize_set Mode,window_index,w,h=0,0,3840,2880 [00000331] app_hd2_slowburst_set[PHOTO_slowburst] =2 [00000331] App save system preference [00000339] App save user preference [00000348] sound_freq = 48000 [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Display was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] app_save_fw_version enter [00000348] This is a old version FW: HD3.02.03.00 [00000348] This is a old sub version FW: 01 [00000348] tx_timer_init enter [00000348] tx_timer_init end [00000348] [Herobus_Init()] [00000348] [Gpio HERO_BUS_ID(0)] [00000351] [Herobus_Check_ID(9)] [00000353] [data1 = 255, data2 = 255] [00000409] [Herobus_Check_ID(9)] [00000411] [data1 = 255, data2 = 255] [00000466] [app_check_herobus_bp2()] [00000466] [Herobus_Check_ID(1)] [00000469] [data1 = 255, data2 = 255] [00000524] [Herobus_Check_ID(6)] [00000526] [data1 = 255, data2 = 255] [00000625] [data(255), check again] [00000625] [data(255)] [00000636] [data1(255)] [00000636] [invalid ID(255)] [00000636] [app_status.hero_bus_id(15)] [00001137] [CEC_USB_Check_Power_Status(1, 1)] [00001137] [CEC_Sys_Get_ADC_Value(3) = 870] [00001137] [CEC_Sys_Check_Internal_Battery_Exist() = 1, int_bat(870)] [00001137] [only int battery, check usb status] [00001137] [CEC_Sys_Check_Usb_Source()] [00001137] [read 1 : USB_5V_51(0), HUSB_5V_91(0)] [00001137] [CEC_POWER_BATT] [00001137] [CEC_USB_HW_Switch(0)] [00001137] [Herobus_HUSB_Disable()] [00001138] [icurr2_state(0)] [00001138] [app_status.usb_plugin_flag = 0] [00001138] [CEC_Sys_Check_WakeUp()] [00001138] [HW version = CEC_HW_B1] [00001138] [nCEC_Boot_Hibernation_Wifi=0, nCEC_Boot_Hibernation_Charge=0] [00001138] [nCEC_Boot_Wakeup_Status = 00000001] [00001138] [irq_status(0x00000000))] [00001138] [Irq1(0x00), Irq2(0x00)] [00001138] [nCEC_Boot_Irq_PWRUP(0)] [00001138] [Irq_CHG_TEMP(0), Irq_CHG_EOC(0), Irq_CHG_NoBAT(0), Irq_CHG_DET(0)] [00001138] [CEC_WiFi_OFF_2_Coma()] [00001138] [........................INT2 low] [00001138] [........................PTD1 low] [00001138] [CEC_K20_Power_Set(1)] [00001138] [CEC_WiFi_Power_On_Settings] [00001138*****
rtos mesg enabled dsp mesg disabled type 'help' for help
a:> ] [CEC_GPIO_Config_Interrupt(gpio_id(11), type(1), enable(1))]
[00001138] [WiFi Command Hero Bus I2C INT on]
[00001140] Application type: DSC
[00001140] 3D format type: JPEG
[00001140] Format cache 1216 1808 504
[00001141] bits buffer addr = 0xC2EC9FE0
[00001141] desc buffer is zero or negative
[00001141] bits buffer addr = 0xC2EBDDC0
[00001141] desc buffer is zero or negative
[00001142] ========== image adjust control Init OK!!
[00001143] G2 Command Handler, mbx_id = 5
[00001160] [DemoLib - Module]
May be you can suggest me what I do wrong or may be my gopro has some hardware issue. Thanks!
HiIs your cam complete dead? Or is freezing after power on.Some info to get idea what’s wrong.First opinion is that your image sensor is damage.Regards
Sent from Yahoo Mail for iPhone
On Tuesday, October 2, 2018, 11:32, krikz notifications@github.com wrote:
Hi Just watch this video,any questions I will be happy to answer. https://m.youtube.com/watch?v=VW3fp0OOeyg
Hello nikko20 thank you for your tutorial! I think it works fine for most cases. But not for my case. I stuck on a Putty. It receive some logs and thats all ;(
` Calc CRC for hal done. Calc CRC for dsp done. Calc CRC for pri done. HAL (176869.0) [00000000] chip name: a5m, chip stepping: [00000000] build id: , build date: [00000004] [bspinit()] [00000006] ____ . . . / \ | ____ _ __ | | | | _ / /_\ \ / | \ _ / | | | | / | \ Y Y \ \ / | | /\ /| || |/ | /|| / (_ /| >/(__ / / / / / / / Ambarella System Software Running on PrKERNELv4
Ambarella(R) Copyright (C) 2004-2007
[00000006] Built: root@edward-laptop 2013-07-10 22:49:38 [00000006] Kernel command line: osd=tv_full rec_thm=image [00000006] Memory Usage: [00000006] fios/dma: 0xc0000000 - 0xc007ffff [0x00080000] [00000006] rtos + app: 0xc0100000 - 0xc0be4c3f [0x00ae4c40] [00000006] cached heap: 0xc0bf0000 - 0xc2faffff [0x023c0000] [00000006] non-cached heap: 0xc2fb0000 - 0xc2ffffff [0x00050000] [00000006] dsp: 0xc6000000 - 0xcfffffff [0x0a000000] [00000006] linux: 0xc3000000 - 0xc5ffffff [0x03000000] [00000006] total memory: 0x10000000 [00000006] cache id trademark: 0x41 [00000006] cache id architecture: 0x7 [00000006] cache id part number: 0xb36 [00000006] cache id revision: 0x5 [00000006] cache type: write back [00000006] separate i-cache and d-cache [00000006] cache type d-cache size: 16 KB [00000006] cache type d-cache associativities: 0x4 [00000006] cache type d-cache multiplier: 0x0 [00000006] cache type d-cache line size: 32 byte [00000006] cache type i-cache size: 16 KB [00000006] cache type i-cache associativities: 0x4 [00000006] cache type i-cache multiplier: 0x0 [00000006] cache type i-cache line size: 32 byte [00000007] boss: Initialize BOSS base service [00000007] ipc: shared mem = c5f00000, 00100000 [00000007] ipc: slock = c5f02000, 204 [00000007] ipc: mutex = c5f03000, c5f03040, 12, 7, 8 [00000007] ipc: mutex 0 = c5f03040, 9 [00000007] ipc: mutex 1 = c5f030fc, 10 [00000007] ipc: mutex 2 = c5f031b8, 11 [00000007] ipc: mutex 3 = c5f03274, 12 [00000007] ipc: mutex 4 = c5f03330, 13 [00000007] ipc: mutex 5 = c5f033ec, 14 [00000007] ipc: mutex 6 = c5f034a8, 15 [00000007] ipc: mutex 7 = c5f03564, 16 [00000007] ipc: mutex 8 = c5f03620, 17 [00000007] ipc: mutex 9 = c5f036dc, 18 [00000007] ipc: mutex 10 = c5f03798, 19 [00000007] ipc: mutex 11 = c5f03854, 20 [00000007] ipc: shm = c5f01000, 1024 [00000007] boss: shared mem = c5f00000, 00100000 [00000030] [boot_irq0 = 0x00] [00000030] [boot_irq1 = 0x00] [00000030] [boot_irq2 = 0x00] [00000030] [boot_irq3 = 0x00] [00000038] [pmic 0x17-0x07 = 0x00] [00000043] [pmic 0x19-0x00 = 0xD1] [00000051] pmic initialized [00000072] rtc in pwc mode [00000082] HDMI use cyclic timer mode(2) to detect HPD and RX Sense [00000082] [hook_maintask_post_peripheral_init()] [00000084] [Read board revision 0.] [00000084] [hook_maintask_post_ui_init()] [00000084] [Blacks_Button_Init()] [00000085] [Blacks_Gpio_Button_Scan_Init()] [00000085] [Blacks_Gpio_Button_Irq_init()] [00000085] [Blacks_ADC_Button_Init()] [00000085] [Blacks_IR_Button_Init()] [00000085] [Blacks_Button_Detect_Disable(0xffffffff)] [00000085] [btn_detect_task.detect_en = 0x0] [00000085] Initialize SCM [00000085] Initialize STK task [00000085] Initialize debou task [00000087] Initialize FL1 block driver ... [00000087] fl1prf2 - fat pages:32, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize SD0 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize RD block driver ... [00000087] Initialize SD2 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000133] Initialize AMB flash host controller [00000133] HYNIX HY27U1G8F2B_128MB_PG2K with (id: 0xadf1001d) (banks: 1) [00000133] [[Button Task] : Blacks_Button_Task()] [00000134] Initialize AMB SD host controller 0 [00000134] FW_PART: initialized [00000135] BB pre-scan ok (id=9) [00000136] ROMFS: initialized [00000137] [hook_boss_pre_start()] [00000137] boss: Initialize BOSS [00000138] ipc: binder = c084f860, ipc_buf = c5f00098, 16 [00000138] ipc: clnt_out = c5f00098, 3 [00000138] ipc: clnt_in = c5f000d8, 4 [00000138] ipc: svc_in = c5f00118, 5 [00000138] ipc: svc_out = c5f00158, 6 [00000138] boss: bh = c0898984 [00000138] boss: bh worker 0 = c0898a8c [00000138] boss: bh worker 1 = c089ac2c [00000140] BB pre-scan ok (id=10) [00000140] UCLD START 140 [00000143] [bsp_link_codec()] [00000143] ENABLE_TLV320AIC3101_CODEC [00000143] Doing Reset of Audio [00000162] Load main(code) ucode to 0xcfd00000 successful, size = 2096266 [00000165] Load sub0(me) ucode to 0xcff00000 successful, size = 338052 [00000167] Load default binary ucode to 0xcffa0000 successful, size = 262144 [00000167] ---- UCODE DONE 167 ---- [00000206] [tlv320aic3101_init] [00000213] IIS flag (0x00) [00000219] TLV320AIC3101 ADC flag (0x40) [00000225] TLV320AIC3101 DAC flag (0xc0) [00000225] recording 0 (0) [00000225] using internal mic? 1 [00000226] not live feed? 1 [00000226] tlv320aic3101: Not support function! [00000227] tlv320aic3101_sfreq_conf: 48000 [00000227] Max audio allocate size(cache) = 605208 [00000227] AIN_MAX_UPSMP_CNT=16 , AIN_MAX_UPSMP_LEVEL=7 [00000227] AIN_NUM_RX_BUFFER=16, AOUT_NUM_TX_BUFFER=16 [00000227] Global audio cachable heap is created successfully...... [00000227] Global audio cachable heap is created successfully(12)...... [00000227] Global audio non-cache heap is allocated successfully...... [00000227] Global audio non-cache heap is created successfully (13)...... [00000228] [tlv320aic3101_lineout_power_on] [00000231] [tlv320aic3101_hpout_power_on] [00000231] tlv320aic3101: Not support function! [00000231] [tlv320aic3101_mic_input_down] AIN_ADC_MIC_IN [00000231] [tlv320aic3101_herobusmic_off] AIN_ADC_LINE1_IN [00000231] Doing Reset of Audio [00000294] [tlv320aic3101_init] [00000301] IIS flag (0x00) [00000307] TLV320AIC3101 ADC flag (0x40) [00000313] TLV320AIC3101 DAC flag (0xc0) [00000313] recording 0 (0) [00000314] using internal mic? 1 [00000314] not live feed? 1 [00000315] tlv320aic3101_sfreq_conf: 48000 [00000320] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000321] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000325] [tlv320aic3101_mute_off] [00000325] audio tasks init done [00000325] cre_iav_buf: raw=(c1ecb52c,16781312), base=(c1ecc000,16777216) [00000325] Initialize cavlc task [00000325] iav_msg.base at 0xc1e9b000 size 0x20000 [00000325] Host control manager ready [00000325] [handler()] [00000325] [app_init()] [00000326] ==========> streaming_mode is set to 0 !! [00000326] Registered sensor mt9f001_a5 [00000326] LCD panel selected: a027dl01 [00000326] Registered LCD[0] a027dl01 [00000330] -->SENSOR_VIDEO_RES_WVGA_FULL [00000330] ------------>app_hd2_vr_get [30]
[00000330] fovphotosize_set Mode,window_index,w,h=0,0,3840,2880 [00000331] app_hd2_slowburst_set[PHOTO_slowburst] =2 [00000331] App save system preference [00000339] App save user preference [00000348] sound_freq = 48000 [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Display was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] app_save_fw_version enter [00000348] This is a old version FW: HD3.02.03.00 [00000348] This is a old sub version FW: 01 [00000348] tx_timer_init enter [00000348] tx_timer_init end [00000348] [Herobus_Init()] [00000348] [Gpio HERO_BUS_ID(0)] [00000351] [Herobus_Check_ID(9)] [00000353] [data1 = 255, data2 = 255] [00000409] [Herobus_Check_ID(9)] [00000411] [data1 = 255, data2 = 255] [00000466] [app_check_herobus_bp2()] [00000466] [Herobus_Check_ID(1)] [00000469] [data1 = 255, data2 = 255] [00000524] [Herobus_Check_ID(6)] [00000526] [data1 = 255, data2 = 255] [00000625] [data(255), check again] [00000625] [data(255)] [00000636] [data1(255)] [00000636] [invalid ID(255)] [00000636] [app_status.hero_bus_id(15)] [00001137] [CEC_USB_Check_Power_Status(1, 1)] [00001137] [CEC_Sys_Get_ADC_Value(3) = 870] [00001137] [CEC_Sys_Check_Internal_Battery_Exist() = 1, int_bat(870)] [00001137] [only int battery, check usb status] [00001137] [CEC_Sys_Check_Usb_Source()] [00001137] [read 1 : USB_5V_51(0), HUSB_5V_91(0)] [00001137] [CEC_POWER_BATT] [00001137] [CEC_USB_HW_Switch(0)] [00001137] [Herobus_HUSB_Disable()] [00001138] [icurr2_state(0)] [00001138] [app_status.usb_plugin_flag = 0] [00001138] [CEC_Sys_Check_WakeUp()] [00001138] [HW version = CEC_HW_B1] [00001138] [nCEC_Boot_Hibernation_Wifi=0, nCEC_Boot_Hibernation_Charge=0] [00001138] [nCEC_Boot_Wakeup_Status = 00000001] [00001138] [irq_status(0x00000000))] [00001138] [Irq1(0x00), Irq2(0x00)] [00001138] [nCEC_Boot_Irq_PWRUP(0)] [00001138] [Irq_CHG_TEMP(0), Irq_CHG_EOC(0), Irq_CHG_NoBAT(0), Irq_CHG_DET(0)] [00001138] [CEC_WiFi_OFF_2_Coma()] [00001138] [........................INT2 low] [00001138] [........................PTD1 low] [00001138] [CEC_K20_Power_Set(1)] [00001138] [CEC_WiFi_Power_On_Settings] [00001138*****
*
ambsh ;) *
*
rtos mesg enabled dsp mesg disabled type 'help' for help
a:> ] [CEC_GPIO_Config_Interrupt(gpio_id(11), type(1), enable(1))]
[00001138] [WiFi Command Hero Bus I2C INT on]
[00001140] Application type: DSC
[00001140] 3D format type: JPEG
[00001140] Format cache 1216 1808 504
[00001141] bits buffer addr = 0xC2EC9FE0
[00001141] desc buffer is zero or negative
[00001141] bits buffer addr = 0xC2EBDDC0
[00001141] desc buffer is zero or negative
[00001142] ========== image adjust control Init OK!!
[00001143] G2 Command Handler, mbx_id = 5
[00001160] [DemoLib - Module]
May be you can suggest me what I do wrong or may be my gopro has some hardware issue. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
HiIs your cam complete dead? Or is freezing after power on.Some info to get idea what’s wrong.First opinion is that your image sensor is damage.Regards Sent from Yahoo Mail for iPhone
It's not powering on, but it can charge and when I connect it to PC in special sequinces it detect SD card. How I can check image sensor state?
Hi To check the sensor you have to replace it,as you describe I don’t think is image sensor the problem,is your power flex buttons ok? When you press any of them you have to see reading on putty,did you checked this.
Sent from Yahoo Mail for iPhone
On Tuesday, October 2, 2018, 13:03, krikz notifications@github.com wrote:
HiIs your cam complete dead? Or is freezing after power on.Some info to get idea what’s wrong.First opinion is that your image sensor is damage.Regards Sent from Yahoo Mail for iPhone
It's not powering on, but it can charge and when I connct it to PC in special sequinces it detect SD card. How I can check image sensor state?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hi To check the sensor you have to replace it,as you describe I don’t think is image sensor the problem,is your power flex buttons ok? When you press any of them you have to see reading on putty,did you checked this. Sent from Yahoo Mail for iPhone On Tuesday, October 2, 2018, 13:03,
I trying to demonstrate how it connecting to putty in this video: https://youtu.be/JKLJEVAdITw
When I insert USB cable putty wrote other logs:
Ambarella(R) Copyright (C) 2004-2007
[00000006] Built: root@edward-laptop 2013-07-10 22:49:38 [00000006] Kernel command line: osd=tv_full rec_thm=image [00000006] Memory Usage: [00000006] fios/dma: 0xc0000000 - 0xc007ffff [0x00080000] [00000006] rtos + app: 0xc0100000 - 0xc0be4c3f [0x00ae4c40] [00000006] cached heap: 0xc0bf0000 - 0xc2faffff [0x023c0000] [00000006] non-cached heap: 0xc2fb0000 - 0xc2ffffff [0x00050000] [00000006] dsp: 0xc6000000 - 0xcfffffff [0x0a000000] [00000006] linux: 0xc3000000 - 0xc5ffffff [0x03000000] [00000006] total memory: 0x10000000 [00000006] cache id trademark: 0x41 [00000006] cache id architecture: 0x7 [00000006] cache id part number: 0xb36 [00000006] cache id revision: 0x5 [00000006] cache type: write back [00000006] separate i-cache and d-cache [00000006] cache type d-cache size: 16 KB [00000006] cache type d-cache associativities: 0x4 [00000006] cache type d-cache multiplier: 0x0 [00000006] cache type d-cache line size: 32 byte [00000006] cache type i-cache size: 16 KB [00000006] cache type i-cache associativities: 0x4 [00000006] cache type i-cache multiplier: 0x0 [00000006] cache type i-cache line size: 32 byte [00000007] boss: Initialize BOSS base service [00000007] ipc: shared mem = c5f00000, 00100000 [00000007] ipc: slock = c5f02000, 204 [00000007] ipc: mutex = c5f03000, c5f03040, 12, 7, 8 [00000007] ipc: mutex 0 = c5f03040, 9 [00000007] ipc: mutex 1 = c5f030fc, 10 [00000007] ipc: mutex 2 = c5f031b8, 11 [00000007] ipc: mutex 3 = c5f03274, 12 [00000007] ipc: mutex 4 = c5f03330, 13 [00000007] ipc: mutex 5 = c5f033ec, 14 [00000007] ipc: mutex 6 = c5f034a8, 15 [00000007] ipc: mutex 7 = c5f03564, 16 [00000007] ipc: mutex 8 = c5f03620, 17 [00000007] ipc: mutex 9 = c5f036dc, 18 [00000007] ipc: mutex 10 = c5f03798, 19 [00000007] ipc: mutex 11 = c5f03854, 20 [00000007] ipc: shm = c5f01000, 1024 [00000007] boss: shared mem = c5f00000, 00100000 [00000030] [boot_irq0 = 0x00] [00000030] [boot_irq1 = 0x00] [00000030] [boot_irq2 = 0x90] [00000030] [boot_irq3 = 0x00] [00000038] [pmic 0x17-0x07 = 0x00] [00000042] [pmic 0x19-0x00 = 0xD1] [00000051] pmic initialized [00000072] rtc in pwc mode [00000082] HDMI use cyclic timer mode(2) to detect HPD and RX Sense [00000082] [hook_maintask_post_peripheral_init()] [00000084] [Read board revision 0.] [00000084] [hook_maintask_post_ui_init()] [00000084] [Blacks_Button_Init()] [00000085] [Blacks_Gpio_Button_Scan_Init()] [00000085] [Blacks_Gpio_Button_Irq_init()] [00000085] [Blacks_ADC_Button_Init()] [00000085] [Blacks_IR_Button_Init()] [00000085] [Blacks_Button_Detect_Disable(0xffffffff)] [00000085] [btn_detect_task.detect_en = 0x0] [00000085] Initialize SCM [00000085] Initialize STK task [00000085] Initialize debou task [00000087] Initialize FL1 block driver ... [00000087] fl1prf2 - fat pages:32, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize SD0 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize RD block driver ... [00000087] Initialize SD2 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000133] Initialize AMB flash host controller [00000133] HYNIX HY27U1G8F2B_128MB_PG2K with (id: 0xadf1001d) (banks: 1) [00000133] [[Button Task] : Blacks_Button_Task()] [00000134] Initialize AMB SD host controller 0 [00000134] FW_PART: initialized [00000135] BB pre-scan ok (id=9) [00000136] ROMFS: initialized [00000137] [hook_boss_pre_start()] [00000137] boss: Initialize BOSS [00000138] ipc: binder = c084f860, ipc_buf = c5f00098, 16 [00000138] ipc: clnt_out = c5f00098, 3 [00000138] ipc: clnt_in = c5f000d8, 4 [00000138] ipc: svc_in = c5f00118, 5 [00000138] ipc: svc_out = c5f00158, 6 [00000138] boss: bh = c0898984 [00000138] boss: bh worker 0 = c0898a8c [00000138] boss: bh worker 1 = c089ac2c [00000140] BB pre-scan ok (id=10) [00000140] UCLD START 140 [00000143] [bsp_link_codec()] [00000143] ENABLE_TLV320AIC3101_CODEC [00000143] Doing Reset of Audio [00000145] usb cable is inserted [00000162] Load main(code) ucode to 0xcfd00000 successful, size = 2096266 [00000165] Load sub0(me) ucode to 0xcff00000 successful, size = 338052 [00000167] Load default binary ucode to 0xcffa0000 successful, size = 262144 [00000167] ---- UCODE DONE 167 ---- [00000206] [tlv320aic3101_init] [00000213] IIS flag (0x00) [00000219] TLV320AIC3101 ADC flag (0x40) [00000225] TLV320AIC3101 DAC flag (0xc0) [00000225] recording 0 (0) [00000225] using internal mic? 1 [00000225] not live feed? 1 [00000225] tlv320aic3101: Not support function! [00000227] tlv320aic3101_sfreq_conf: 48000 [00000227] Max audio allocate size(cache) = 605208 [00000227] AIN_MAX_UPSMP_CNT=16 , AIN_MAX_UPSMP_LEVEL=7 [00000227] AIN_NUM_RX_BUFFER=16, AOUT_NUM_TX_BUFFER=16 [00000227] Global audio cachable heap is created successfully...... [00000227] Global audio cachable heap is created successfully(12)...... [00000227] Global audio non-cache heap is allocated successfully...... [00000227] Global audio non-cache heap is created successfully (13)...... [00000228] [tlv320aic3101_lineout_power_on] [00000231] [tlv320aic3101_hpout_power_on] [00000231] tlv320aic3101: Not support function! [00000231] [tlv320aic3101_mic_input_down] AIN_ADC_MIC_IN [00000231] [tlv320aic3101_herobusmic_off] AIN_ADC_LINE1_IN [00000231] Doing Reset of Audio [00000294] [tlv320aic3101_init] [00000301] IIS flag (0x00) [00000307] TLV320AIC3101 ADC flag (0x40) [00000313] TLV320AIC3101 DAC flag (0xc0) [00000313] recording 0 (0) [00000313] using internal mic? 1 [00000314] not live feed? 1 [00000315] tlv320aic3101_sfreq_conf: 48000 [00000320] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000320] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000324] [tlv320aic3101_mute_off] [00000324] audio tasks init done [00000324] cre_iav_buf: raw=(c1ecb52c,16781312), base=(c1ecc000,16777216) [00000325] Initialize cavlc task [00000325] iav_msg.base at 0xc1e9b000 size 0x20000 [00000325] Host control manager ready [00000325] [handler()] [00000325] [app_init()] [00000325] ==========> streaming_mode is set to 0 !! [00000326] Registered sensor mt9f001_a5 [00000326] LCD panel selected: a027dl01 [00000326] Registered LCD[0] a027dl01 [00000330] -->SENSOR_VIDEO_RES_WVGA_FULL [00000330] ------------>app_hd2_vr_get [30]
[00000330] fovphotosize_set Mode,window_index,w,h=0,0,3840,2880 [00000330] app_hd2_slowburst_set[PHOTO_slowburst] =2 [00000331] App save system preference [00000339] App save user preference [00000348] sound_freq = 48000 [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Display was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] app_save_fw_version enter [00000348] This is a old version FW: HD3.02.03.00 [00000348] This is a old sub version FW: 01 [00000348] tx_timer_init enter [00000348] tx_timer_init end [00000348] [Herobus_Init()] [00000348] [Gpio HERO_BUS_ID(0)] [00000351] [Herobus_Check_ID(9)] [00000353] [data1 = 255, data2 = 255] [00000409] [Herobus_Check_ID(9)] [00000411] [data1 = 255, data2 = 255] [00000466] [app_check_herobus_bp2()] [00000466] [Herobus_Check_ID(1)] [00000469] [data1 = 255, data2 = 255] [00000524] [Herobus_Check_ID(6)] [00000526] [data1 = 255, data2 = 255] [00000625] [data(255), check again] [00000625] [data(255)] [00000636] [data1(255)] [00000636] [invalid ID(255)] [00000636] [app_status.hero_bus_id(15)] [00001137] [CEC_USB_Check_Power_Status(1, 1)] [00001137] [CEC_Sys_Get_ADC_Value(3) = 877] [00001137] [CEC_Sys_Check_Internal_Battery_Exist() = 1, int_bat(877)] [00001137] [only int battery, check usb status] [00001137] [CEC_Sys_Check_Usb_Source()] [00001137] [read 1 : USB_5V_51(1), HUSB_5V_91(1)] [00001137] [icurr2_state(0)] [00001138] [icurr2_state(10)]
rtos mesg enabled dsp mesg disabled type 'help' for help
a:> [00001439] [read 2 : USB_5V_51(1), HUSB_5V_91(1)]
[00001439] [icurr2_state(0)]
[00001439] [CEC_POWER_BATT_USB]
[00001439] [CEC_USB_HW_Switch(0)]
[00001439] [Herobus_HUSB_Disable()]
[00001440] [icurr2_state(0)]
[00001440] [app_status.usb_plugin_flag = 1]
[00001440] [CEC_Sys_Check_WakeUp()]
[00001440] [HW version = CEC_HW_B1]
[00001440] [nCEC_Boot_Hibernation_Wifi=0, nCEC_Boot_Hibernation_Charge=0]
[00001440] [nCEC_Boot_Wakeup_Status = 00000000]
[00001440] [irq_status(0x00900000))]
[00001440] [Irq1(0x00), Irq2(0x90)]
[00001440] [nCEC_Boot_Irq_PWRUP(0)]
[00001441] [Irq_CHG_TEMP(1), Irq_CHG_EOC(0), Irq_CHG_NoBAT(0), Irq_CHG_DET(1)]
[00001441] [usb connected => normal power on]
[00001441] [CEC_WiFi_OFF_2_Coma()]
[00001441] [........................INT2 low]
[00001441] [........................PTD1 low]
[00001441] [CEC_K20_Power_Set(1)]
[00001441] [CEC_WiFi_Power_On_Settings]
[00001441] [CEC_GPIO_Config_Interrupt(gpio_id(11), type(1), enable(1))]
[00001441] [WiFi Command Hero Bus I2C INT on]
[00001442] Application type: DSC
[00001442] 3D format type: JPEG
[00001443] Format cache 1216 1808 504
[00001444] bits buffer addr = 0xC2EC9FE0
[00001444] desc buffer is zero or negative
[00001444] bits buffer addr = 0xC2EBDDC0
[00001444] desc buffer is zero or negative
[00001445] ========== image adjust control Init OK!!
[00001445] G2 Command Handler, mbx_id = 5
[00001462] [DemoLib - Module]
HiDid you try to reload software? As I see at the video you only use putty with buttons try to start it.
Sent from Yahoo Mail for iPhone
On Wednesday, October 3, 2018, 16:41, krikz notifications@github.com wrote:
When I insert USB cable putty wrote other logs:
Calc CRC for hal done. Calc CRC for dsp done. Calc CRC for pri done. HAL (176869.0) [00000000] chip name: a5m, chip stepping: [00000000] build id: , build date: [00000004] [bspinit()] [00000006] ____ . . . / \ | ____ _ __ | | | | _ / /_\ \ / | \ _ / | | | | / | \ Y Y \ \ / | | /\ /| || |/ | /|| / (_ /| >/(__ / / / / / / / Ambarella System Software Running on PrKERNELv4
Ambarella(R) Copyright (C) 2004-2007
[00000006] Built: root@edward-laptop 2013-07-10 22:49:38 [00000006] Kernel command line: osd=tv_full rec_thm=image [00000006] Memory Usage: [00000006] fios/dma: 0xc0000000 - 0xc007ffff [0x00080000] [00000006] rtos + app: 0xc0100000 - 0xc0be4c3f [0x00ae4c40] [00000006] cached heap: 0xc0bf0000 - 0xc2faffff [0x023c0000] [00000006] non-cached heap: 0xc2fb0000 - 0xc2ffffff [0x00050000] [00000006] dsp: 0xc6000000 - 0xcfffffff [0x0a000000] [00000006] linux: 0xc3000000 - 0xc5ffffff [0x03000000] [00000006] total memory: 0x10000000 [00000006] cache id trademark: 0x41 [00000006] cache id architecture: 0x7 [00000006] cache id part number: 0xb36 [00000006] cache id revision: 0x5 [00000006] cache type: write back [00000006] separate i-cache and d-cache [00000006] cache type d-cache size: 16 KB [00000006] cache type d-cache associativities: 0x4 [00000006] cache type d-cache multiplier: 0x0 [00000006] cache type d-cache line size: 32 byte [00000006] cache type i-cache size: 16 KB [00000006] cache type i-cache associativities: 0x4 [00000006] cache type i-cache multiplier: 0x0 [00000006] cache type i-cache line size: 32 byte [00000007] boss: Initialize BOSS base service [00000007] ipc: shared mem = c5f00000, 00100000 [00000007] ipc: slock = c5f02000, 204 [00000007] ipc: mutex = c5f03000, c5f03040, 12, 7, 8 [00000007] ipc: mutex 0 = c5f03040, 9 [00000007] ipc: mutex 1 = c5f030fc, 10 [00000007] ipc: mutex 2 = c5f031b8, 11 [00000007] ipc: mutex 3 = c5f03274, 12 [00000007] ipc: mutex 4 = c5f03330, 13 [00000007] ipc: mutex 5 = c5f033ec, 14 [00000007] ipc: mutex 6 = c5f034a8, 15 [00000007] ipc: mutex 7 = c5f03564, 16 [00000007] ipc: mutex 8 = c5f03620, 17 [00000007] ipc: mutex 9 = c5f036dc, 18 [00000007] ipc: mutex 10 = c5f03798, 19 [00000007] ipc: mutex 11 = c5f03854, 20 [00000007] ipc: shm = c5f01000, 1024 [00000007] boss: shared mem = c5f00000, 00100000 [00000030] [boot_irq0 = 0x00] [00000030] [boot_irq1 = 0x00] [00000030] [boot_irq2 = 0x90] [00000030] [boot_irq3 = 0x00] [00000038] [pmic 0x17-0x07 = 0x00] [00000042] [pmic 0x19-0x00 = 0xD1] [00000051] pmic initialized [00000072] rtc in pwc mode [00000082] HDMI use cyclic timer mode(2) to detect HPD and RX Sense [00000082] [hook_maintask_post_peripheral_init()] [00000084] [Read board revision 0.] [00000084] [hook_maintask_post_ui_init()] [00000084] [Blacks_Button_Init()] [00000085] [Blacks_Gpio_Button_Scan_Init()] [00000085] [Blacks_Gpio_Button_Irq_init()] [00000085] [Blacks_ADC_Button_Init()] [00000085] [Blacks_IR_Button_Init()] [00000085] [Blacks_Button_Detect_Disable(0xffffffff)] [00000085] [btn_detect_task.detect_en = 0x0] [00000085] Initialize SCM [00000085] Initialize STK task [00000085] Initialize debou task [00000087] Initialize FL1 block driver ... [00000087] fl1prf2 - fat pages:32, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize SD0 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000087] Initialize RD block driver ... [00000087] Initialize SD2 block driver ... [00000087] sdprf2 - fat pages:64, dat pages:32, fat buf:4, data buf:8 [00000133] Initialize AMB flash host controller [00000133] HYNIX HY27U1G8F2B_128MB_PG2K with (id: 0xadf1001d) (banks: 1) [00000133] [[Button Task] : Blacks_Button_Task()] [00000134] Initialize AMB SD host controller 0 [00000134] FW_PART: initialized [00000135] BB pre-scan ok (id=9) [00000136] ROMFS: initialized [00000137] [hook_boss_pre_start()] [00000137] boss: Initialize BOSS [00000138] ipc: binder = c084f860, ipc_buf = c5f00098, 16 [00000138] ipc: clnt_out = c5f00098, 3 [00000138] ipc: clnt_in = c5f000d8, 4 [00000138] ipc: svc_in = c5f00118, 5 [00000138] ipc: svc_out = c5f00158, 6 [00000138] boss: bh = c0898984 [00000138] boss: bh worker 0 = c0898a8c [00000138] boss: bh worker 1 = c089ac2c [00000140] BB pre-scan ok (id=10) [00000140] UCLD START 140 [00000143] [bsp_link_codec()] [00000143] ENABLE_TLV320AIC3101_CODEC [00000143] Doing Reset of Audio [00000145] usb cable is inserted [00000162] Load main(code) ucode to 0xcfd00000 successful, size = 2096266 [00000165] Load sub0(me) ucode to 0xcff00000 successful, size = 338052 [00000167] Load default binary ucode to 0xcffa0000 successful, size = 262144 [00000167] ---- UCODE DONE 167 ---- [00000206] [tlv320aic3101_init] [00000213] IIS flag (0x00) [00000219] TLV320AIC3101 ADC flag (0x40) [00000225] TLV320AIC3101 DAC flag (0xc0) [00000225] recording 0 (0) [00000225] using internal mic? 1 [00000225] not live feed? 1 [00000225] tlv320aic3101: Not support function! [00000227] tlv320aic3101_sfreq_conf: 48000 [00000227] Max audio allocate size(cache) = 605208 [00000227] AIN_MAX_UPSMP_CNT=16 , AIN_MAX_UPSMP_LEVEL=7 [00000227] AIN_NUM_RX_BUFFER=16, AOUT_NUM_TX_BUFFER=16 [00000227] Global audio cachable heap is created successfully...... [00000227] Global audio cachable heap is created successfully(12)...... [00000227] Global audio non-cache heap is allocated successfully...... [00000227] Global audio non-cache heap is created successfully (13)...... [00000228] [tlv320aic3101_lineout_power_on] [00000231] [tlv320aic3101_hpout_power_on] [00000231] tlv320aic3101: Not support function! [00000231] [tlv320aic3101_mic_input_down] AIN_ADC_MIC_IN [00000231] [tlv320aic3101_herobusmic_off] AIN_ADC_LINE1_IN [00000231] Doing Reset of Audio [00000294] [tlv320aic3101_init] [00000301] IIS flag (0x00) [00000307] TLV320AIC3101 ADC flag (0x40) [00000313] TLV320AIC3101 DAC flag (0xc0) [00000313] recording 0 (0) [00000313] using internal mic? 1 [00000314] not live feed? 1 [00000315] tlv320aic3101_sfreq_conf: 48000 [00000320] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000320] [tlv320aic3101_linein_power_on] AIN_ADC_LINE_IN [00000324] [tlv320aic3101_mute_off] [00000324] audio tasks init done [00000324] cre_iav_buf: raw=(c1ecb52c,16781312), base=(c1ecc000,16777216) [00000325] Initialize cavlc task [00000325] iav_msg.base at 0xc1e9b000 size 0x20000 [00000325] Host control manager ready [00000325] [handler()] [00000325] [app_init()] [00000325] ==========> streaming_mode is set to 0 !! [00000326] Registered sensor mt9f001_a5 [00000326] LCD panel selected: a027dl01 [00000326] Registered LCD[0] a027dl01 [00000330] -->SENSOR_VIDEO_RES_WVGA_FULL [00000330] ------------>app_hd2_vr_get [30]
[00000330] fovphotosize_set Mode,window_index,w,h=0,0,3840,2880 [00000330] app_hd2_slowburst_set[PHOTO_slowburst] =2 [00000331] App save system preference [00000339] App save user preference [00000348] sound_freq = 48000 [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Display was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] No Image algo manager was registered. [00000348] app_save_fw_version enter [00000348] This is a old version FW: HD3.02.03.00 [00000348] This is a old sub version FW: 01 [00000348] tx_timer_init enter [00000348] tx_timer_init end [00000348] [Herobus_Init()] [00000348] [Gpio HERO_BUS_ID(0)] [00000351] [Herobus_Check_ID(9)] [00000353] [data1 = 255, data2 = 255] [00000409] [Herobus_Check_ID(9)] [00000411] [data1 = 255, data2 = 255] [00000466] [app_check_herobus_bp2()] [00000466] [Herobus_Check_ID(1)] [00000469] [data1 = 255, data2 = 255] [00000524] [Herobus_Check_ID(6)] [00000526] [data1 = 255, data2 = 255] [00000625] [data(255), check again] [00000625] [data(255)] [00000636] [data1(255)] [00000636] [invalid ID(255)] [00000636] [app_status.hero_bus_id(15)] [00001137] [CEC_USB_Check_Power_Status(1, 1)] [00001137] [CEC_Sys_Get_ADC_Value(3) = 877] [00001137] [CEC_Sys_Check_Internal_Battery_Exist() = 1, int_bat(877)] [00001137] [only int battery, check usb status] [00001137] [CEC_Sys_Check_Usb_Source()] [00001137] [read 1 : USB_5V_51(1), HUSB_5V_91(1)] [00001137] [icurr2_state(0)] [00001138] [icurr2_state(10)]
*
ambsh ;) *
*
rtos mesg enabled dsp mesg disabled type 'help' for help
a:> [00001439] [read 2 : USB_5V_51(1), HUSB_5V_91(1)]
[00001439] [icurr2_state(0)]
[00001439] [CEC_POWER_BATT_USB]
[00001439] [CEC_USB_HW_Switch(0)]
[00001439] [Herobus_HUSB_Disable()]
[00001440] [icurr2_state(0)]
[00001440] [app_status.usb_plugin_flag = 1]
[00001440] [CEC_Sys_Check_WakeUp()]
[00001440] [HW version = CEC_HW_B1]
[00001440] [nCEC_Boot_Hibernation_Wifi=0, nCEC_Boot_Hibernation_Charge=0]
[00001440] [nCEC_Boot_Wakeup_Status = 00000000]
[00001440] [irq_status(0x00900000))]
[00001440] [Irq1(0x00), Irq2(0x90)]
[00001440] [nCEC_Boot_Irq_PWRUP(0)]
[00001441] [Irq_CHG_TEMP(1), Irq_CHG_EOC(0), Irq_CHG_NoBAT(0), Irq_CHG_DET(1)]
[00001441] [usb connected => normal power on]
[00001441] [CEC_WiFi_OFF_2_Coma()]
[00001441] [........................INT2 low]
[00001441] [........................PTD1 low]
[00001441] [CEC_K20_Power_Set(1)]
[00001441] [CEC_WiFi_Power_On_Settings]
[00001441] [CEC_GPIO_Config_Interrupt(gpio_id(11), type(1), enable(1))]
[00001441] [WiFi Command Hero Bus I2C INT on]
[00001442] Application type: DSC
[00001442] 3D format type: JPEG
[00001443] Format cache 1216 1808 504
[00001444] bits buffer addr = 0xC2EC9FE0
[00001444] desc buffer is zero or negative
[00001444] bits buffer addr = 0xC2EBDDC0
[00001444] desc buffer is zero or negative
[00001445] ========== image adjust control Init OK!!
[00001445] G2 Command Handler, mbx_id = 5
[00001462] [DemoLib - Module]
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Hi there,
Backing this thread to life to thank evilwombat for all this.
To help others - I hope - I got back to life a GoPro Hero 3 Silver that was death (no lights, no nothing). Please note I am talking about a Silver, not a Plus Silver.
As evilwombat said, this camera is closer to Hero2 than to Hero3. With this in mind I tried with the Hero2 bootloader.
First, I got the sections of the last Hero3Silver firmware with fwunpacker.exe. It will give you 9 sections, 0 to 8. The one you are instersted in is the 3.
You will also need the Hero2 firmware for the bootloader, you must use prepare-bootstrap with the Hero2 firmware.
Then you must prepare a autoexec.ash with the following commands:
cd d:\ firmfl prog d:\HD3.02-firmware.bin rm d:\autoexec.ash reboot yes
Be careful in case you do this from Windows (as I did): autoexec.ash must be in UNIX format (end lines, I mean) and I think it must have an empty line at the end.
Put the autoexec.ash together with the Hero3 Silver firmware in the root of your SD card. Follow the instructions to boot it in USB mode and then:
.\gpboot.exe --rtos section_3
Remember, section_3 from the Hero3 Silver firmware. This will do something at the end, the red led will light and after some minutes the blue as well. At that moment I reset the thing and it started to upload the firmware. The screen showed some garbage with mixed messages, but it passed. The camera restarted once by itself, then it was done! I remove the batery and then did a clean update from the SD again, following this time the GoPro official instructions, just to be sure.
I had to try several times, but it finally worked! This is a piece of old hardware now, but I am happy I could recover it!
I hope this can help somebody out there.
@soybanban, I've been trying to resuscitate my bricked hero 3 silver for a while now, but with no success. I would like to thank you for this reply, it was the key to solve the problem of the hero 3 silver! @evilwombat thank you so much for your marvellous work!!! I tried 10-15 times with @soybanban instructions, the GoPro booted successfully (a progress) with @evilwombat standard method. After the booting 3 things happened: 1) a continuous red light turned on; 2) the GoPro disconnected from computer; 3) Camera didn't turn on, but if I pushed the wifi button with the cable still attached, both red and blue lets would simultaneously turn on and suddenly off and GoPro went back to be lifeless. If instead I detached the cable after point 2, the GoPro red light turned off, camera did not turn on and only wifi responded but didn't not turn off once activated. I tried then to turn on the GoPro using wifi and the GoPro app, nothing. The Gopro appeared in the app but did not receive the command to turn on, resulting in an eternal waiting message on the phone. Actually, I don't know if my autoexec.ash file compiled under @soybanban instructions was not saved properly or something else happened. The solution in my case was to use another autoexec.ash file, once again a modified @evilwombat script:
t app fp_string 'WAIT' firmfl prog d:\HD3.02-firmware.bin t app fp_string 'DONE'
After another successful booting with the @soybanban instructions and the latter autoexec.ash file, continuous red light turned on, I detached GoPro from computer, pushed power button and it turned on. At first it didn't work properly, freezing. After pulling out battery and resetting it, it started to work again as nothing ever happened. Guys, once again, thank you so much, the feeling of success against the system is worth more than buying 100 newer cameras!
Cheers
Hi there,
Backing this thread to life to thank evilwombat for all this.
To help others - I hope - I got back to life a GoPro Hero 3 Silver that was death (no lights, no nothing). Please note I am talking about a Silver, not a Plus Silver.
As evilwombat said, this camera is closer to Hero2 than to Hero3. With this in mind I tried with the Hero2 bootloader.
First, I got the sections of the last Hero3Silver firmware with fwunpacker.exe. It will give you 9 sections, 0 to 8. The one you are instersted in is the 3.
You will also need the Hero2 firmware for the bootloader, you must use prepare-bootstrap with the Hero2 firmware.
Then you must prepare a autoexec.ash with the following commands:
cd d: firmfl prog d:\HD3.02-firmware.bin rm d:\autoexec.ash reboot yes
Be careful in case you do this from Windows (as I did): autoexec.ash must be in UNIX format (end lines, I mean) and I think it must have an empty line at the end.
Put the autoexec.ash together with the Hero3 Silver firmware in the root of your SD card. Follow the instructions to boot it in USB mode and then:
.\gpboot.exe --rtos section_3
Remember, section_3 from the Hero3 Silver firmware. This will do something at the end, the red led will light and after some minutes the blue as well. At that moment I reset the thing and it started to upload the firmware. The screen showed some garbage with mixed messages, but it passed. The camera restarted once by itself, then it was done! I remove the batery and then did a clean update from the SD again, following this time the GoPro official instructions, just to be sure.
I had to try several times, but it finally worked! This is a piece of old hardware now, but I am happy I could recover it!
I hope this can help somebody out there.
@mrblonde8888 I am so happy this worked for you too! My experience was more or less like the one you described, I had to try several times until it worked at 100%.
In my case sometimes I could connect the camera to the app when I got the blue light blinking, but it was faulty, not even showing the right video modes in config and no way to update the firmware with the app.
I also did some tests adding sleeps in the autoexec.ash, because it looked like it was just a timming issue to make it working or not. I couldn't find a logic in the process with the same steps producing different results. So I follow the stubborn strategy of repeating the process again and again.
At the end I decided to post the autoexec.ash that finally worked for me, with no sleeps. In your file you are just printing text, which would add some delay before and after the firmfl command. Maybe that made the difference, who knows.
As you said, recovering the camera feels really good. It is a shame that these expensive cameras don't have an official tool to program them, or at least to load a firmware from a computer besides using the camera itself. What it's stupid when you have a bricked camera because its faulty firmware refuses to start. But you know, GoPro...
Anyway, I am happy that my post encouraged you to try with the 3 silver. Thank you for taking the time of sharing the result, it might sound weird but it made my day :) And of course I take the opportunity to say thanks to @evilwombat again.
Cheers!
@soybanban Thank you a lot for your post! There is still something I don't understand:
You will also need the Hero2 firmware for the bootloader, you must use prepare-bootstrap with the Hero2 firmware.
This step produces the files v312-bld.bind
and v312-hal-reloc.bin
.
You only mention putting the Hero3 firmware on the SD card, but never mention these files or the Hero2 firmware again.
What do I have to do with these files?
@soybanban Thank you a lot for your post! This step produces the files
v312-bld.bind
andv312-hal-reloc.bin
. You only mention putting the Hero3 firmware on the SD card, but never mention these files or the Hero2 firmware again. What do I have to do with these files?
Those files are needed by gpboot.exe tool to work, it is a requirement to the tool not specific to the hero 3 silver recover process. It is,explained in the instructions here:
https://github.com/evilwombat/gopro-usb-tools
Take a look to the section: "Preparing the necessary bootstrap files". They must be in the same directory as gpboot.exe.
The only trick here is to prepare the bootstrap files with the Hero2 firmware, not with the Hero 3 because the Silver 3 hardware is closer to the Hero2 than Hero3. This way gpboot.exe will allow you to upload the rtos.
TL;DR You don't need to specifically use or copy the files generated by prepare-boostrap, they are needed by gpboot. You must just generate them with the command prepare-bootstrap HD2-firmware.bin
Hope this helps,
Good luck!
Thanks for the clarification, @soybanban!
Unfortunately, it's not possible to start the camera in USB command mode. I tried it multiple times following the instructions in the ReadMe, but gpboot.exe won't connect. Too bad.
Anyway, thank you for your help!
@soybanban It appeas that I may have the same hardware as you, but no luck. I have been trying to recover my GoPro HERO3, I guess it is silver or is it white when the "3" is white? At least the front plate is silverish in color. The model listed inside it is CHDHE-301
. My battery voltage is 3.9V when measured open loop.
So is it correct that what I need to do is:
$ ./prepare-bootstrap HD2-firmware.bin
evilwombat's gopro bootstrap fwcutter tool v0.06
Detected firmware file type: "Hero2 v312 Firmware"
Creating v312-bld.bin
Creating v312-hal-reloc.bin
Done.
$ sudo ./gpboot --rtos HD3.09-firmware.bin
evilwombat's gopro boot thingy v0.14
MAKE SURE YOU HAVE READ THE INSTRUCTIONS!
The author makes absolutely NO GUARANTEES of the correctness of this program
and takes absolutely NO RESPONSIBILITY OR LIABILITY for any consequences that
arise from its use. This program could SEVERELY mess up your camera, totally
destroy it, cause it to catch fire. It could also destroy your computer, burn
down your house, etc. The author takes no responsibility for the consequences
of using this program. Use it at your own risk! You have been warned.
Initializing libusb
Initializing DDR................................... done
Testing DDR....................... passed
Okay, loading and booting RTOS image HD3.09-firmware.bin on a Hero2 camera
Loading v312-bld.bin to address c0000000
... done
Loading relocate.bin to address c7000000
... done
Loading v312-hal-reloc.bin to address c8000000
... done
Loading HD3.09-firmware.bin to address c9000000
... done
Patching in a jump to our relocator..
Okay, here goes nothing...
Exec c0000000: 12 (ok)
But what gpboot options do I need to use? Is sudo ./gpboot --rtos HD3.09-firmware.bin
correct? I downloaded that firmware from the gopro website.
After this I still don't see any sign of life in my hero3. Am I missing something?
@soybanban It appeas that I may have the same hardware as you, but no luck. I have been trying to recover my GoPro HERO3, I guess it is silver or is it white when the "3" is white? At least the front plate is silverish in color. The model listed inside it is
CHDHE-301
. My battery voltage is 3.9V when measured open loop.
Hi @nickoe . I am not 100% sure but I think that serial number is for White models. What I can tell you for sure is that is the color of the number 3 in the front which changes between black, silver and white editions. AFAIK the camera front plate color is the same in all of them (silverish as you said).
So you probably have a white one... No idea if my instructions will work with it, but you must use the White firmware with fwunpacker tool.
And then try to use the section_3 as well, but I don't know what is the right one.
I think you are trying to load the whole firmware with your gpboot --rtos command, which is wrong. As explained, you must first split the firmware in sections with fwunpacker and figure it out which section is the rtos (usually section 3 o 9 in other cameras, but you never know...)
If you are lucky and you make you camera boot with the rtos, then it must boot and flash the whole firmware that you have copied into the SD card (HD3.09-firmware.bin in your case) with the correct autoexec.ash file with the instruction to flash it.
The steps, in short and to be done at your own risk :) :
Hope this helps, good luck
@soybanban Ok, thank you for the hints. I did not try to investigate the fwunpacker further as it did not seem to be needed for others. I may not get around to it this week, but we will see :)
And I had no idea what those sections were actually referring to as such, I guess it would have made sense if we had the original linker script.
@soybanban Ok, so I finally got around to trying your suggestions:
I unpacked the latest fw for my camera from the gorpo website, the fw it gave me for my specific serial.
gopro-fw-tools]$ ./fwunpacker ../HD3.09-firmware.bin
Saving section 0 to section_0 at offset 2304 len 4096 CRC 0x5e64d6e2
Saving section 1 to section_1 at offset 8448 len 166732 CRC 0x1f070473
Saving section 2 to section_2 at offset 176384 len 59144 CRC 0x3407bf3c
Saving section 3 to section_3 at offset 237824 len 6582272 CRC 0xd5b9e6a3
Saving section 4 to section_4 at offset 6822144 len 4956684 CRC 0x8f8b1b83
Saving section 5 to section_5 at offset 11780352 len 8716288 CRC 0x9d17cbcb
Saving section 6 to section_6 at offset 20498688 len 2696552 CRC 0xc75e70e3
Saving section 7 to section_7 at offset 23195904 len 16384000 CRC 0x8c314099
Saving section 8 to section_8 at offset 39581952 len 1024 CRC 0xefb5af2e
End of file reached.
Found the HD2-firmware.bin firmware that the scripts are happy with:
gopro-usb-tools]$ ./prepare-bootstrap HD2-firmware.bin
evilwombat's gopro bootstrap fwcutter tool v0.06
Detected firmware file type: "Hero2 v312 Firmware"
Creating v312-bld.bin
Creating v312-hal-reloc.bin
Done.
Tried to make it boot section_3 as suggested:
gopro-usb-tools]$ sudo ./gpboot --rtos ../gopro-fw-tools/section_3
[sudo] password for nickoe:
evilwombat's gopro boot thingy v0.14
MAKE SURE YOU HAVE READ THE INSTRUCTIONS!
The author makes absolutely NO GUARANTEES of the correctness of this program
and takes absolutely NO RESPONSIBILITY OR LIABILITY for any consequences that
arise from its use. This program could SEVERELY mess up your camera, totally
destroy it, cause it to catch fire. It could also destroy your computer, burn
down your house, etc. The author takes no responsibility for the consequences
of using this program. Use it at your own risk! You have been warned.
Initializing libusb
Initializing DDR................................... done
Testing DDR....................... passed
Okay, loading and booting RTOS image ../gopro-fw-tools/section_3 on a Hero2 camera
Loading v312-bld.bin to address c0000000
... done
Loading relocate.bin to address c7000000
... done
Loading v312-hal-reloc.bin to address c8000000
... done
Loading ../gopro-fw-tools/section_3 to address c9000000
... done
Patching in a jump to our relocator..
Okay, here goes nothing...
Exec c0000000: 12 (ok)
This did successfully make the camera boot! I beeped and blinked a bit, and I now see an USB symbol and charging bar on the LCD.
It does not appear to try to update to the fw in the root of the SD card.
Eventually it will seem as if it turns off, so it beeps a bit and clears the LCD and the red light is constantly lit, even without the USB cable plugged in.
It is not happy with flashing section_9.
gopro-usb-tools]$ sudo ./gpboot --rtos ../gopro-fw-tools/section_9
<snip>
Initializing libusb
Initializing DDR................................... done
Testing DDR....................... passed
Okay, loading and booting RTOS image ../gopro-fw-tools/section_9 on a Hero2 camera
Loading v312-bld.bin to address c0000000
... done
Loading relocate.bin to address c7000000
... done
Loading v312-hal-reloc.bin to address c8000000
... done
Could not get size of ../gopro-fw-tools/section_9. Does this file exist?
Could not load RTOS file ../gopro-fw-tools/section_9
This should be section_3 from the v124 firmware, or section_9 from
the v198 / v222 / v312 firmware, depending on what you are doing.
It even presents the contents as MSC. For sanity checking it is:
$ls /run/media/nickoe/E426-2E75
autoexec.ash UPDATE UPDATE.zip
HD3.09-firmware.bin update.cmd WF3.01-app.bin
$ cat /run/media/nickoe/E426-2E75/update.cmd
# Camera upgrade rules file
OPTIONS:2
# Load sequence
CAMERA:1
WIFIAPP:1
$ cat /run/media/nickoe/E426-2E75/autoexec.ash
cd d:
firmfl prog d:\HD3.09-firmware.bin
rm d:\autoexec.ash
reboot yes
@soybanban I did check the that autoexec.ash
uses newlines only. file
tells me it is just ASCII-test , i.e. it does not mention CRLF line endings, and I even did a dos2unix on the file to be sure. Are we sure the d: stuff is correct?
Is it possible to get a debug shell on the device over USB?
Hi @nickoe , I am glad that you're getting some progress. I think the section 3 is the way to go. The fixed red light it can be it is updating, you need to be patient and wait at least 5 minutes. But I must say that it will take some time to work, it didn't work the first time for me, I spent more than one hour repeating the same process over and over again.
You can check also the message from @mrblonde8888 , he got it working too and he left some good instructions. By the way he used this as autoexec.ash:
t app fp_string 'WAIT' firmfl prog d:\HD3.02-firmware.bin t app fp_string 'DONE'
Which just print some string that will generate a bit of wait time before the firmware program that apparently worked for him.
! I just digged into my files and I found one file I tried, I think this was the one that worked. As you can see, I also put some dummy commands ato have some delay before it starts the firmware program:
cd d:\ sleep 2 t app test buzzer_play 2 firmfl prog d:\HD3.02-firmware.bin rm d:\autoexec.ash reboot yes
I put the "rm" command to check if the script is executed, because if the file dissapear from the sdcard you know that at least it tried to run it, even if the update didn't work. The buzzer sound didn't worked in my case tho. Having the file deleted gave me the clue that I was in the right path and I just repeated the process until it had the line "firmfl prog d:\HD3.02-firmware.bin" actually doing something.
Some hints from my experience:
Regarding the autoexec.ash, I just took the examples from @evilwombat . You can check for yourself in the doc:
https://github.com/evilwombat/gopro-usb-tools
It says that sometimes a:\ works instead of d:\, but I am 100% sure that d:\ was right for me.
I think I read somewhere you need to leave a blank line at the end of the file to work. I can't tell for sure, but it doesn't hurt to do so.
You can find a lot of info about autoexec.ash for gopro and the supported commands just googling it. For instance:
http://gopro-hack.blogspot.com/2014/11/gopro-hero3-black-autoexec.html
Regarding the file format, I said that in my original message:
"Be careful in case you do this from Windows (as I did): autoexec.ash must be in UNIX format (end lines, I mean) and I think it must have an empty line at the end."
I don't remember why I said that, but I suppose that CRLF (Windows) just didn't work for me. Try to do it in LF (Unix)
Anyway I am not an expert, just a guy who got it working :)
Good luck.
Hi, I just tried @soybanban 's method and the camera didn't start after I got : "Exec c0000000: 12 (ok)". No red light, no beeps. I left the camera connected for about 20 minutes. Should the battery be in the camera ? I had removed it. I am trying again with the battery now, the last loading step (section 3) has been going for about 20 minutes so far. Thanks for any help
Edit : Finished loading again this time with the battery and it has still not turned on...
I tried booting the hero 2 firmware and now I'm getting a -9 error on everything except the bootloader.
Patching in a jump to our relocator.. Okay, here goes nothing... Exec c0000000: -9 (hmmm...) Exec c0000000 failed: -9 Exec failed: -9
Edit : It seems that I have to hold the shutter button for at least 5 seconds after plugging in the USB cable. Still nothing on the camera screen though...
You know into it add support for GoPro Hero 3 silver?