kinetis kl46 processor hangs at _init_register()

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kinetis kl46 processor hangs at _init_register()

643 Views
shabana
Contributor II

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

Labels (1)
0 Kudos
3 Replies

538 Views
Carlos_Musich
NXP Employee
NXP Employee

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

0 Kudos

538 Views
shabana
Contributor II

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

0 Kudos

538 Views
shabana
Contributor II

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

0 Kudos