Hi,
Am using LPC1756 for my project. I have been working on the code for sometime, but recently when I added a new code for sprintf the firmware version of the project, i am getting HARDFAULT-FORCED(30),
void func(void){
char Dummy[50];
uint8_t new_rev_vers;
sprintf(Dummy,"DOWNLOADING..%hu",new_rev_vers);
}
I tried understanding the disassembly and also tried adjusting heap and stack in mcuxpresso style, which did not even start the code.
I'll share the memory consumed by the code. and the fault details.

memory consumption:

MCU details
