Hi Rong,
thanks for your response.
You said:
==
If you UNCHECK the "Always mass erase on download" box and check the "User specified->Fmain", the debugger selects "Wait for device to power up at connect"
==
Why debugger would select "Wait for device to power up at connect" if respective check box is not selected?
Can you please try downloading of any code, for example An4759sw, using these two options and let me know?
1/ Using this option debugger stops @ main.

2/ Using this option debugger stops @ _EntryPoint().

Thanks for your support,
Jolanta.