Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
project:amiga_ps2usb_mouse:amiga_usb_ps2_mouse [2021/08/19 18:31] cyberian [PICkit v3.5 - programming kit] |
project:amiga_ps2usb_mouse:amiga_usb_ps2_mouse [2021/08/19 18:52] cyberian |
||
---|---|---|---|
Line 19: | Line 19: | ||
{{ :project:amiga_ps2usb_mouse:pickit_pic16f628a_y918.jpg?direct&400 |}} | {{ :project:amiga_ps2usb_mouse:pickit_pic16f628a_y918.jpg?direct&400 |}} | ||
+ | I used for programming SW: MPLAB X IDE v5.50. In setup choose MPLAB IPE as this part of SW is intended as standalone simple application for programming. | ||
+ | There can be some issues. For example I used previously some programming adapter connected to PICkit. Jumpers were set correctly, but PIC MCU had higher temp and I got error: Target Device ID (0x3fe0) is an Invalid Device ID. Please check your connections to the Target Device. After several hours of suffering and finding the cause of the problems, I gave up on the adapter and connected the MCU to the breadboard. | ||
+ | |||
+ | The right log from programming is following: | ||
+ | <code> | ||
+ | Verifying... | ||
+ | |||
+ | The following memory areas(s) will be verified: | ||
+ | program memory: start address = 0x0, end address = 0x7ff | ||
+ | configuration memory | ||
+ | EEData memory | ||
+ | User Id Memory | ||
+ | |||
+ | Verification successful. | ||
+ | Loading code from D:\...\ps2m_aminet\ps2m\pic\ps2m_5button.hex... | ||
+ | 2021-08-19 17:50:36 +0200 - Hex file loaded successfully. | ||
+ | 2021-08-19 17:50:41 +0200 - Programming... | ||
+ | |||
+ | |||
+ | Device Erased... | ||
+ | |||
+ | Programming... | ||
+ | |||
+ | The following memory area(s) will be programmed: | ||
+ | program memory: start address = 0x0, end address = 0x1f3 | ||
+ | Programming/Verify complete | ||
+ | 2021-08-19 17:50:47 +0200 - Programming complete | ||
+ | |||
+ | Blank Checking... | ||
+ | program memory | ||
+ | Address: 0 Expected Value: 3fff Received Value: 18b | ||
+ | Blank check complete, device is not blank. | ||
+ | </code> | ||
+ | |||
+ | Blank Checking was clicked additionally just for sure :) |