This happens in any program. I turned on internal pull-up resistor and didn't use P2.10 this happened again.
This massage in keil showed again and program didn't run:
cpu did not halt after bootloader
I also measured voltage of P2.10 that was 0 volt.
I think P2.10 is ruined because it is not working in any programs and is always in low level.
is there any way that avoid entering ISP mode??