Hello @Ganesh_1
1) "
I get the following error:
Error: Initial ping failure: No response received for ping command
"
->> This means the device did not enter ISP mode.
Please check the hardware board to ensure the ISP jumper is correctly connected.
If it still doesn't work, try using USB-ISP for the connection.
2) Regarding your first board, it can be erased.
After erasing, please use the read command to verify whether the chip has been successfully erased.
Then, use the IDE or blhost to write a simple led.bin image to the chip.
BR
Alice