|
Tài trợ cho PIC Vietnam |
dsPIC - Bộ điều khiển tín hiệu số 16-bit Theo dự kiến của Microchip, vào khoảng năm 2011 dsPIC sẽ có doanh số lớn hơn PIC |
|
Ðiều Chỉnh | Xếp Bài |
20-10-2011, 05:18 PM | #1 |
Đệ tử 2 túi
Tham gia ngày: Jun 2007
Bài gửi: 30
: |
Bài học xương máu khi nạp dsPIC33FJ sài pickit2 !!!
Mình đang dùng mạch nạp pickit2 để nạp cho em dsPIC33FJ16GS... thì báo lỗi "Downloading programming executive .... FAILED" mặc dù vẫn nhận chíp bình thường. Mình đã phải mất hai ngày khốn khổ với em nó cuối cùng cũng có kết quả.
Trong file readme của pickit2 : """""""""""""""""""""""""""""""""""""""""""""""""" """"""""""""""""""""""""""""""""""""""""" "PICkit 2 now supports use of the Enhanced ICSP programming mode using the Programming Executive (PE) for these devices. In addition to faster programming times, use of the PE provides the following: PIC24H & dsPIC33F: - Includes the Device ID corruption errata workaround - Verify is done using a 16-bit CRC and is very quick - Blank Check is done in the PE and is very quick PIC24F: - Verify is still done by reading out the device and benefits from faster PE reads - Blank Check is still done by reading out the device and benefits from faster PE reads The PE is never used for devices with < 4096 instruction flash sizes. Use of the PE may be disabled with programming reverting to basic ICSP as used in previous releases as follows: PIC24H & dsPIC33: - Edit PICkit2.INI to set the following entry to 'N': PE33: N - To re-enable, edit the INI file and change the entry back to 'Y' - NOTE: Reverting to ICSP mode no longer protects against the Device ID corruption errata PIC24F: - Edit PICkit2.INI to set the following entry to 'N': PE24: N - To re-enable, edit the INI file and change the entry back to 'Y' """"""""""""""""""""""""""""" Nên để sửa lỗi trên mình đã phải sửa file pickit2.ini, disnable PE33. Thế là nạp ok !!! Mong anh em nào gặp lỗi trên thì cứ sửa như mình đỡ mất thời gian. |
|
|