I am using Kinetis KL46 processor to integrate with GSM module to send SMS. The output of the GSM module is RS232, I'm converting it into TTL using MAX232 converter and giving it to KL46 board. I'm observing it through PE multilink debugger. after sometime the processor hangs at _init_register() in arm_start.c.
Can anyone give me any suggestion.
_init_register() is a function within CPU initialization code and is called only once. If your application is running and the it gets stuck here I would think it is resetting for some reason. You can run in stand alone mode and check the reset pin to confirm.
Then you can enable tracing to see the moment in which the MCU is reseting.
In case the reset occurs in different random moments the cuase could be hardware.