1 .section .entry 2 3 LDR SP, =MEMBASEADDR 4 BL check_compat 5 6 7 // looks like idle cycle is required for proper shutdown 8 MOV R3, #0xF0000 // increased from 8000 to F0000 for extra delay for sx200 maybe could be 10000 ? 9 1: 10 SUB R3, R3, #1 11 CMP R3, #0 12 BNE 1b 13 14 // ordinary startup... 15 16 MOV SP, #0x1900 17 MOV R11, #0 18 B my_restart