when i tried to dump my code in s7g2, i got this kind of error. Please give me the suggestion what should i do?
Glad you fixed it up. The giveaway was the "sim" in there - that's the default of using an ARM simulator when no target connection is found.
Doesn't look like you have a debugger (hardware) set up. Do you have a Segger JLing, a debug connection with JLink onboard, or other type of JTAG/SWD debugger set up in your E2 debugger congig?
some wrong configuration in debug. now working fine