Hi.
I stumbled upon another problem on boot.c
void __attribute__((naked,noinline)) sub_FFC4F394_my() { //#fs // CreateTask_CaptSeqTask
asm volatile(
"STMFD SP!, {R3-R5,LR}\n"
"LDR R2, =0x18860\n"
"MOV R0, #0\n"
"MOV R1, #0\n"
"loc_FFC4F3A4:\n"
"ADD R3, R2, R0,LSL#4\n"
"ADD R0, R0, #1\n"
"CMP R0, #5\n"
"STR R1, [R3,#8]\n"
"BCC loc_FFC4F3A4\n"
"BL sub_FFD174EC\n"
"BL sub_FFD190C4\n"
"MOV R1, #5\n"
"MOV R0, #0\n"
"BL sub_FFC0BECC\n"
It stucks on this last call, which is related to memory allocation. In fact, from IDA
ROM:FFC0BBEC STMFD SP!, {R4,LR}
ROM:FFC0BBF0 BL sub_FFC179F4 //inside here malloc is called
ROM:FFC0BBF4 CMP R0, #5 //code doesnt execute this
ROM:FFC0BBF8 MOV R4, R0
ROM:FFC0BBFC ADREQ R0, aKernelmisc_c ; "KernelMisc.c"
ROM:FFC0BC00 MOVEQ R1, #0x1F
ROM:FFC0BC04 BLEQ DebugAssert
ROM:FFC0BC08 MOV R0, R4
ROM:FFC0BC0C LDMFD SP!, {R4,PC}
So it freezes at FFC0BBF0. I Really cant get past it..