My Controller is MK10N512VLQ
when i have done programing and code Restarts
The RESET pin goes like 40us high and 10us low and it is toggling continuoslly. This is observed in number of Microcontrollers.
Have you disabled the watchdog (or do you service it)?
Watchdog overflow can be the reason for this behavior since it can also assert external RESET pin.
Code execution has not reached upto void main(). and i also tried to debug it but it is not possible. u can see that the RESET pin Low Time is only 10 microseconds. and RESET pin High Time is only 40 microseconds. So,it is doing reset i think in bootloader code.
This is the Waveform on RESET pin after POR
.|"""""""""|..|"""""""""|..|"""""""""|..|"""""""""|..|"""""""""|.. Ton=40us, Toff=10us
By the way - you have enough stable supply voltage so you don't suffer any brownout auto-reset directly the processor starts to run?
Now i Know that RESET Source is
Reset source: Core Lockup Event Reset
Can anybody Tell me why this EVENT Occured
Thanks for your support Dinesh Vaghela
Dude, why not look in the chip's user manual?
I have gone Through the manual,but i didnt find information regarding it thats why i have asked. it says it is because of Hardware error kernel creating this event. but i did not find the source of error
Broken external oscillator...? Did you try starting up using the internal one?