Hi,
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.
Please!!!!
Best Regards,
Shabana M
Hi Shabana,
_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.
Regards,
Carlos
Hi Carlos,
In debug configuration i have enabled tracing. can u tell me how to analyse that it is breaking at any point?
Regards,
Shabana M
Hi Carlos,
This problem is not consistent, sometimes it is occurring but sometime it is not. I really dont have any idea why it is resetting...
Best Regards,
Shabana