The LR register in pushed on stack holds the address of the instruction that caused InvState Fault. The instruction is in the function "__2sprintf". will someone kindly give me an insight of this function? On calling which library function is this function called? (sprintf i guess).
PS: i have solved the previous hardfault. this is a new fault.