PIC Vietnam

Go Back   PIC Vietnam > Microchip PIC > Bootloaders - Programmers - Debuggers - Emulators

Tài trợ cho PIC Vietnam
Trang chủ Đăng Kí Hỏi/Ðáp Thành Viên Lịch Tìm Kiếm Bài Trong Ngày Ðánh Dấu Ðã Ðọc Vi điều khiển

Bootloaders - Programmers - Debuggers - Emulators Những công cụ cần thiết để lập trình cho PIC/dsPIC

 
 
Ðiều Chỉnh Xếp Bài
Prev Previous Post   Next Post Next
Old 24-12-2007, 10:24 PM   #14
dungnt7
Nhập môn đệ tử
 
Tham gia ngày: Aug 2007
Nơi Cư Ngụ: Ho Chi Minh city, Viet Nam
Bài gửi: 9
:
Trích:
Nguyên văn bởi namqn View Post
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
dungnt7 vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
 

Ðiều Chỉnh
Xếp Bài

Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt

Chuyển đến

Similar Threads
Ðề tài Người gửi Chuyên mục Trả lời Bài mới
Tài liệu hướng dẫn PIC - Tiếng Việt (Upd. 11/08/2005) falleaf Cơ bản về vi điều khiển và PIC 69 28-02-2025 03:09 PM
Các bạn mới học PIC lưu ý luồng này (Upd. 16/10/2005) falleaf Các ngôn ngữ lập trình khác (CCS C, HT PIC,...) 4 10-10-2005 06:23 PM
Các bạn mới học PIC lưu ý luồng này (Upd. 16/10/2005) falleaf PIC - Thiết kế và Ứng dụng 4 10-10-2005 06:23 PM
Các bạn mới học PIC lưu ý luồng này (Upd. 16/10/2005) falleaf MPASM 0 24-05-2005 12:52 AM
Các bạn mới học PIC lưu ý luồng này (Upd. 16/10/2005) falleaf dsPIC - Bộ điều khiển tín hiệu số 16-bit 0 24-05-2005 12:52 AM


Múi giờ GMT. Hiện tại là 05:19 PM.


Được sáng lập bởi Đoàn Hiệp
Powered by vBulletin®
Page copy protected against web site content infringement by Copyscape
Copyright © PIC Vietnam