source: trunk/loader/ixus230_elph310hs/entry.S @ 1567

Revision 1567, 425 bytes checked in by philmoz, 17 months ago (diff)

Add new camera - IXUS 230, firmware 1.00b (from velvethammer42).
http://chdk.setepontos.com/index.php?topic=650.msg79928#msg79928

  • Property svn:eol-style set to native
Line 
1    .section .entry
2
3// Turn OFF SD Card power           
4// to support autostart.
5        LDR     R3, =0xC0220130
6        MOV     R2, #0x44
7        STR     R2, [R3]
8       
9// looks like idle cycle is required for proper shutdown
10        MOV     R3, #0xF0000   // increased from 8000 to F0000 for extra delay for sx200 maybe could be 10000 ?
111:
12        SUB     R3, R3, #1
13        CMP     R3, #0
14        BNE     1b
15
16// ordinary startup...
17
18        MOV     SP, #0x1900
19        MOV     R11, #0
20        B       my_restart
Note: See TracBrowser for help on using the repository browser.