The fact that it doesn't work in an adapter with a known working camera also seem to point that way. The card type really shouldn't matter, I've used micro SD in adapters before.
The same microSD in the Powershot N booted normally. But maybe the fi2.inc / dancingbits type stuff was wrong and the ps.fi2 file ignored?
PS.FI2 should give you an update error if you try to load an incorrect encoding.
So maybe the N can't boot from microSD after all.
loc_ff1c0498: ; 2 refs (LED on)ff1c0498: e92d4010 push {r4, lr}ff1c049c: e1a04000 mov r4, r0ff1c04a0: e5d42000 ldrb r2, [r4]ff1c04a4: e1a00001 mov r0, r1ff1c04a8: e3520000 cmp r2, #0ff1c04ac: 0a000002 beq loc_ff1c04bcff1c04b0: e3520006 cmp r2, #6ff1c04b4: 0b00006f bleq loc_ff1c0678ff1c04b8: ea000002 b loc_ff1c04c8loc_ff1c04bc:ff1c04bc: e5940004 ldr r0, [r4, #4]ff1c04c0: e59f10a0 ldr r1, [pc, #160] ; ff1c0568: (0093d800)ff1c04c4: ebfb40a8 bl loc_ff09076cloc_ff1c04c8:ff1c04c8: e3a00000 mov r0, #0ff1c04cc: e5c40009 strb r0, [r4, #9]ff1c04d0: e8bd8010 pop {r4, pc}loc_ff1c04d4: ; 3 refs (LED off)ff1c04d4: e92d4010 push {r4, lr}ff1c04d8: e1a04000 mov r4, r0ff1c04dc: e5d00000 ldrb r0, [r0]ff1c04e0: e3500000 cmp r0, #0ff1c04e4: 0a000002 beq loc_ff1c04f4ff1c04e8: e3500006 cmp r0, #6ff1c04ec: 0b00006f bleq loc_ff1c06b0ff1c04f0: ea000002 b loc_ff1c0500loc_ff1c04f4:ff1c04f4: e5940004 ldr r0, [r4, #4]ff1c04f8: e59f106c ldr r1, [pc, #108] ; ff1c056c: (0083dc00)ff1c04fc: ebfb409a bl loc_ff09076cloc_ff1c0500:ff1c0500: e3a00001 mov r0, #1ff1c0504: e5c40009 strb r0, [r4, #9]ff1c0508: e8bd8010 pop {r4, pc}loc_ff1c050c: (LED table init)ff1c050c: e3a01000 mov r1, #0ff1c0510: e5c01000 strb r1, [r0]ff1c0514: e3a01106 mov r1, #-2147483647 ; 0x80000001ff1c0518: e5801004 str r1, [r0, #4]ff1c051c: e3a01006 mov r1, #6ff1c0520: e5c01100 strb r1, [r0, #256] ; 0x100ff1c0524: e5c01180 strb r1, [r0, #384] ; 0x180ff1c0528: e5c012c0 strb r1, [r0, #704] ; 0x2c0ff1c052c: e12fff1e bx lrloc_ff09076c: ; 121 refs (set GPIO, thunk)ff09076c: ea000011 b loc_ff0907b8loc_ff0907b8: (set GPIO)ff0907b8: e92d4070 push {r4, r5, r6, lr}ff0907bc: e1a04001 mov r4, r1ff0907c0: e59f10a0 ldr r1, [pc, #160] ; ff090868: (0093d800) ff0907c4: e59f60a0 ldr r6, [pc, #160] ; ff09086c: (0083dc00) ff0907c8: e59f5090 ldr r5, [pc, #144] ; ff090860: (c022c000) ff0907cc: e3500102 cmp r0, #-2147483648 ; 0x80000000ff0907d0: 1a00000d bne loc_ff09080cff0907d4: e1540001 cmp r4, r1ff0907d8: 1a000005 bne loc_ff0907f4ff0907dc: eb57e828 bl loc_68a884 ; <GetSRAndDisableInterrupt -0xFEA05F58>ff0907e0: e595130c ldr r1, [r5, #780] ; 0x30cff0907e4: e3c11c03 bic r1, r1, #768 ; 0x300ff0907e8: e3811c02 orr r1, r1, #512 ; 0x200ff0907ec: e585130c str r1, [r5, #780] ; 0x30cff0907f0: eb57e824 bl loc_68a888 ; <SetSR -0xFEA05F68>loc_ff0907f4:ff0907f4: e1540006 cmp r4, r6ff0907f8: 18bd8070 popne {r4, r5, r6, pc}ff0907fc: eb57e820 bl loc_68a884 ; <GetSRAndDisableInterrupt -0xFEA05F78>ff090800: e595130c ldr r1, [r5, #780] ; 0x30cff090804: e3c11c03 bic r1, r1, #768 ; 0x300ff090808: ea000011 b loc_ff090854loc_ff09080c:ff09080c: e3500106 cmp r0, #-2147483647 ; 0x80000001 ; this is the LED from the LED tableff090810: 159f1058 ldrne r1, [pc, #88] ; ff090870: (ff5bd654) ff090814: 17910100 ldrne r0, [r1, r0, lsl #2]ff090818: 15804000 strne r4, [r0]ff09081c: 18bd8070 popne {r4, r5, r6, pc}ff090820: e1540001 cmp r4, r1 ; LED on?ff090824: 1a000005 bne loc_ff090840ff090828: eb57e815 bl loc_68a884 ; <GetSRAndDisableInterrupt -0xFEA05FA4>ff09082c: e595130c ldr r1, [r5, #780] ; 0x30cff090830: e3c11030 bic r1, r1, #48 ; 0x30ff090834: e3811020 orr r1, r1, #32ff090838: e585130c str r1, [r5, #780] ; 0x30cff09083c: eb57e811 bl loc_68a888 ; <SetSR -0xFEA05FB4>loc_ff090840:ff090840: e1540006 cmp r4, r6 ; LED off?ff090844: 18bd8070 popne {r4, r5, r6, pc}ff090848: eb57e80d bl loc_68a884 ; <GetSRAndDisableInterrupt -0xFEA05FC4>ff09084c: e595130c ldr r1, [r5, #780] ; 0x30cff090850: e3c11030 bic r1, r1, #48 ; 0x30loc_ff090854:ff090854: e585130c str r1, [r5, #780] ; 0x30cff090858: e8bd4070 pop {r4, r5, r6, lr}ff09085c: ea57e809 b loc_68a888 ; <SetSR -0xFEA05FD4>
Seeing your wikia edits, I did a small research on LED addresses. The LED table only knows 1 LED (as much as I understand), and the sigfinder fails on identifying it.Its address is 0xc022c30c, switching it on and off requires setting and clearing some of its bits, with disabled interrupts
Update : I guess the better question would be "Can I call that directly using the entry addresses you tagged"?
The above code is missing the interrupt related stuff of course, not sure how important that is.
Started by HarpoMa « 1 2 ... 67 68 » General Discussion and Assistance
Started by sylikc « 1 2 ... 70 71 » General Discussion and Assistance
Started by sgtrum « 1 2 ... 27 28 » General Discussion and Assistance
Started by gtoonstra « 1 2 ... 5 6 » General Discussion and Assistance
Started by Gerryve7bgp General Discussion and Assistance