SX430 - This will be my first porting Attempt

  • 133 Replies
  • 170195 Views
Re: SX430 - This will be my first porting Attempt
« Reply #40 on: 07 / November / 2018, 11:34:36 »
Advertisements
tried recompiling with Disable Compat_Check
and the camera still freezes instantly

*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #41 on: 07 / November / 2018, 11:38:20 »
the AF LED ...
turns on
turns off

and then the camera hangs....

so thats ok
Great, here is another blink in boot.c

Re: SX430 - This will be my first porting Attempt
« Reply #42 on: 07 / November / 2018, 12:29:45 »
the AF LED ...
turns on
turns off

and then the camera hangs....

so thats ok
Great, here is another blink in boot.c

apparently does the same

The AF LED Turns on , Turns Off, the camera hangs.

*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #43 on: 07 / November / 2018, 13:14:16 »
If you do not see the second blink, the camera dies before boot.c
You can try to comment out "MOV R0, # 1 \ n" in loader / main.c
Or wait for some advice from more experienced people.


Re: SX430 - This will be my first porting Attempt
« Reply #44 on: 07 / November / 2018, 14:31:24 »
Code: [Select]
        //"    LDR     R0, =sub_FF020000 \n"
        "    MOV     R0, %0\n"              // new jump-vector
        "    BLX     R0 \n"
//        "    MOV     R0, #1 \n"       
        //"    LDMFD   SP!, {R4,LR} \n" 
         : : "r"(MEMISOSTART) : "memory","r0","r1","r2","r3","r4"
        );

tried removing MOV R0,#1

still the same

*

Offline srsa_4c

  • ******
  • 3728
Re: SX430 - This will be my first porting Attempt
« Reply #45 on: 07 / November / 2018, 17:25:06 »
If you do not see the second blink, the camera dies before boot.c
Can you attach the source that changed since the latest published source zip?

*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #46 on: 07 / November / 2018, 18:37:34 »
Can you attach the source that changed since the latest published source zip?
Here you go.

*

Offline srsa_4c

  • ******
  • 3728
Re: SX430 - This will be my first porting Attempt
« Reply #47 on: 07 / November / 2018, 19:19:08 »
Here you go.
Thanks.
In code_gen, move the CHDK_NOT_IN_CANON_HEAP related modification block of boot.c down so it replaces this (0x2B9464 is MEMISOSTART):
LDR     R0, =0x2B9464


*

Offline blackhole

  • *****
  • 642
  • A590IS 101b
    • Planetary astrophotography
Re: SX430 - This will be my first porting Attempt
« Reply #48 on: 07 / November / 2018, 19:52:59 »
Thanks.
In code_gen, move the CHDK_NOT_IN_CANON_HEAP related modification block of boot.c down so it replaces this (0x2B9464 is MEMISOSTART):
LDR     R0, =0x2B9464
Thanks again!
Test build is attached.

Re: SX430 - This will be my first porting Attempt
« Reply #49 on: 07 / November / 2018, 23:39:18 »
the camera no longer freezes

the AF LED turns on , turns off
there is a very small period it turns on then immediately turns off ..... maybe a few milliseconds... you could almost miss it

but the camera does not freeze

if i press the power button again it repeats the process


 

Related Topics