- Code: Select all
11:44:01.781 BATCH PROG: Insert device or connect ICSP, then press Enter or OK !
11:44:07.218 BATCH PROG: please wait..
11:44:07.218 Programming...
11:44:07.218 Erasing ("bulk" or "chip") ...
11:44:10.296 Read osccal, result 0x003450
11:44:12.578 Read cfg with bandgap ref, result 0x0021DC
11:44:12.578 Erasing chip using algorithm "12Fxx" .
11:44:14.859 Replaced OSCCAL word in buffer: old=0x003FFF, new=0x003450 .
11:44:14.859 Programming CODE, 0x000000..0x0003FF
11:44:14.859 Programming 0x000000..0x0003FF, algo="12Fxx", CanRead=0 .
11:44:32.812 Verifying 0x000000..0x0003FF
11:44:39.203 Restoring BANDGAP calibration bits for CONFIG-WORD
11:44:39.203 Cfg word before restoring BG calib: 0x003FDC
11:44:39.203 Cfg word after restoring BG calib: 0x002FDC
11:44:39.203 Programming CONFIG, 0x002000..0x002007
11:44:39.203 Programming 0x002000..0x002007, algo="12Fxx", CanRead=0 .
11:44:41.609 Verifying 0x002000..0x002007
11:44:43.703 Programming finished, no errors.
11:44:43.921 BATCH PROG: Insert device or connect ICSP, then press Enter or OK !
11:44:54.781 BATCH PROG: terminated batch mode.
But I realize that in your trace you get "Erasing CODE" before the error when I get "Erasing ("bulk" or "chip") ..."
I will search why is there this difference. It may be reason of the problem...