Trích:
Nguyên văn bởi namqn
Sau khi xóa chip xong, bạn thử đọc lại xem chip có thực sự bị xóa hay không. Nếu chip không thực sự bị xóa thì bạn không thể nạp chương trình mới vào được.
Thân,
|
Em nạp cho PIC16F877A
Đây là các thông báo của WinPIC ở phần Message: từ khi khởi động WinPIC, nạp file hex, chạy lệnh xóa rồi thử lệnh đọc về:
Info: Loading definitions for "PIC16F877A" from C:\Program Files\WinPic\devices.ini .
Info: Changed to "Vdd before Vpp" in 2004-09-13
Info: Programming spec doesn't say anything about this
Parsed "C:\Program Files\WinPic\devices\PIC16F877A.dev" : found 22 bit combinations in 9 configuration bit groups .
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.50 seconds, timer_freq=2813.5900 MHz ... ok
EraseAll: Device is not protected, using BULK erase
Device has been erased.
Reading 0x000000 - 0x001FFF ...
Reading 0x002100 - 0x0021FF ...
Reading 0x002000 - 0x002007 ...
Reading PIC FAILED (maybe blank).
Tiếp theo là: quá trình khởi động WinPIC, rồi chạy lệnh Load & Program Device:
nfo: Loading definitions for "PIC16F877A" from C:\Program Files\WinPic\devices.ini .
Info: Changed to "Vdd before Vpp" in 2004-09-13
Info: Programming spec doesn't say anything about this
Parsed "C:\Program Files\WinPic\devices\PIC16F877A.dev" : found 22 bit combinations in 9 configuration bit groups .
Initialising PIC-Programmer: Success.
Testing: delay(500ms) took 0.50 seconds, timer_freq=2813.5900 MHz ... ok
Programming...
Erasing ("bulk" or "chip") ...
EraseAll: Device is not protected, using BULK erase
Programming CODE, 0x000000..0x00008B
Verifying 0x000000..0x00008B
Verify Error: 000000: read 003FFF, wanted 002820
Verify Error: 000004: read 003FFF, wanted 002805
Verify Error: 000005: read 003FFF, wanted 0000F1
Verify Error: 000006: read 003FFF, wanted 000803
More Verify Errors, unable to list all (total=55)
Programming CONFIG, 0x002000..0x002007
Verifying 0x002000..0x002007
Verify Error: 002007: read 003FFF, wanted 003F32
Programming CONFIG-WORD
Verifying 0x002007..0x002007
Verify Error: 002007: read 003FFF, wanted 003F32
ERROR: Programming FAILED !
Các anh xem giúp em với, em không biết bị lỗi gì nữa