sx280 colors (was Re: Another confirmed case of firmware bit rot) - General Discussion and Assistance - CHDK Forum  

sx280 colors (was Re: Another confirmed case of firmware bit rot)

  • 6 Replies
  • 3430 Views
*

Offline Caefix

  • *****
  • 945
  • Sorry, busy deleting test shots...
Advertisements
Probably wrong place because my Sx280 has a little hardware problem, but it might be known better...
CRC-check is fine && photos have the right colors, but it always displays false colors.
(Menues etc. too; here a valid palette (Ix265)):  :-[
« Last Edit: 29 / March / 2021, 14:42:40 by reyalp »
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 14080
Re: sx280 colors (was Re: Another confirmed case of firmware bit rot)
« Reply #1 on: 29 / March / 2021, 14:47:37 »
Probably wrong place because my Sx280 has a little hardware problem, but it might be known better...
CRC-check is fine && photos have the right colors, but it always displays false colors.
(Menues etc. too; here a valid palette (Ix265)):  :-[
CRC check doesn't check the whole ROM, so a firmware dump still might show something. It's also possible for failed bits to be intermittent.

Do colors look correct in chdkptp live view?

edit:
If the firmware is fine, it could be physical issue related to the LCD panel or related connectors and hardware.
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 945
  • Sorry, busy deleting test shots...
Re: sx280 colors (was Re: Another confirmed case of firmware bit rot)
« Reply #2 on: 22 / July / 2021, 16:06:06 »
Quote
WARNING: camera live view protocol not supported by this client, live view disabled>
Tried
Code: [Select]
D:\hostluaPortable\CHDK-Shell\trunk\trunk-6001\platform\sx280hs\sub\102b\funcs_by_address.csv (2 hits)
Line 1520: 0xfc3aca8b,GetCameraInformationData_FW

=call_event_proc'System.Create' p=call_event_proc('AllocateMemory',4) return call_func_ptr(0xfc3aca8b,p),p,peek(p)
got ...  :(
Code: [Select]
ERROR: Operation Not Supported
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 14080
Re: sx280 colors (was Re: Another confirmed case of firmware bit rot)
« Reply #3 on: 22 / July / 2021, 22:24:34 »
Quote
WARNING: camera live view protocol not supported by this client, live view disabled>
Tried
Code: [Select]
D:\hostluaPortable\CHDK-Shell\trunk\trunk-6001\platform\sx280hs\sub\102b\funcs_by_address.csv (2 hits)
Line 1520: 0xfc3aca8b,GetCameraInformationData_FW

=call_event_proc'System.Create' p=call_event_proc('AllocateMemory',4) return call_func_ptr(0xfc3aca8b,p),p,peek(p)
got ...  :(
Code: [Select]
ERROR: Operation Not Supported
Are you sure CHDK is running on this cam?
Don't forget what the H stands for.


*

Offline Caefix

  • *****
  • 945
  • Sorry, busy deleting test shots...
Re: sx280 colors (was Re: Another confirmed case of firmware bit rot)
« Reply #4 on: 23 / July / 2021, 11:21:02 »
Are you sure CHDK is running on this cam?
:) Today I am. (26/0)
Code: [Select]
> =call_event_proc'System.Create' p=call_event_proc('AllocateMemory',4) return call_func_ptr(0xfc3aca8b,p),p,peek(p)

185:return:0
185:return:4672608
185:return:0

2:return:0
2:return:4671304
2:return:0

3:return:0
3:return:4489600
3:return:1701083233

> rmem 1701083233 0x4000 -f=sx280-caminfo.xml

==> sx280-caminfo.xml exists, no line readable ... :(
All lifetime is a loan from eternity.

*

Offline reyalp

  • ******
  • 14080
Re: sx280 colors (was Re: Another confirmed case of firmware bit rot)
« Reply #5 on: 23 / July / 2021, 13:19:07 »
To use this method, you need the first function called by GetCameraInformationData_FW, not GetCameraInformationData_FW itself. For sx280hs 102b, this should be 0xfc374425

Code: [Select]
./capdis.exe ../../dumps/sx280hs/sub/102b/PRIMARY.BIN 0xFC000000 -props=6 -stubs=../platform/sx280hs/sub/102b -s=GetCameraInformationData_FW -c=20
; GetCameraInformationData_FW 0xfc3aca8b
loc_fc3aca8a:
    push    {r3, r4, r5, lr}
    adr     r4, #0x220 ;  *"CAMINFODATA"
    mov     r0, sp
    bl      sub_fc374424
    cmp     r0, #0
Don't forget what the H stands for.

*

Offline Caefix

  • *****
  • 945
  • Sorry, busy deleting test shots...
Re: sx280 colors (was Re: Another confirmed case of firmware bit rot)
« Reply #6 on: 23 / July / 2021, 13:39:10 »
 ;) ... > rmem 1078363520 1743  :haha -f=sx280-caminfo.xml
Edit: These values are pure runtime, retried same line, got garbage...   ???
Quote
<?xml version="1.0"?><Canon><CameraInfo><Serial>643051005237</Serial><FirmwareVer><Internal>Firmware Ver GM1.02B</Internal><Major>1.0.2.0</Major></FirmwareVer><ErrorLog><Log><DateTime>2018.08.21 10:09:21</DateTime><Reason>E02 AFScanTimeOut</Reason><BatteryTemperature>256 36</BatteryTemperature></Log><Log><DateTime>2017.06.20 07:18:38</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>366 22</BatteryTemperature></Log><Log><DateTime>2016.11.30 17:36:39</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>255 36</BatteryTemperature></Log><Log><DateTime>2016.11.26 18:37:38</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>270 34</BatteryTemperature></Log><Log><DateTime>2016.06.19 12:12:05</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>317 28</BatteryTemperature></Log><Log><DateTime>2015.09.17 14:43:20</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>243 38</BatteryTemperature></Log><Log><DateTime>2015.09.04 15:00:06</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>295 30</BatteryTemperature></Log><Log><DateTime>2015.02.09 14:59:24</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>448 13</BatteryTemperature></Log><Log><DateTime>2014.11.29 12:41:41</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>330 26</BatteryTemperature></Log><Log><DateTime>2014.09.21 17:19:05</DateTime><Reason>E18 ZoomLensSpeedError</Reason><BatteryTemperature>330 26</BatteryTemperature></Log></ErrorLog><TotalShoot>22046</TotalShoot><ZoomRetryCount>3</ZoomRetryCount><PowerOnCount>5539</PowerOnCount><TotalRunningTime>1062928</TotalRunningTime><ZoomMoveCount>14546</ZoomMoveCount></CameraInfo></Canon>
« Last Edit: 23 / July / 2021, 15:16:18 by Caefix »
All lifetime is a loan from eternity.

 

Related Topics