This is an old revision of the document!


Amiga USB/PS2 mouse

Project owner: Cyberian
Interested:
Related:
Linkz:
License: Uveďte původ-Zachovejte licenci CC BY-SA

Well, Introduction part will be added later :)

For programming of chip connect PICkit with PIC16F628A as it is in following table. Pay attention to resistor 22K between VDD and VPP.

1 VPP 4 VPP (MCLR)
2 VDD 14 VDD
3 VSS Ground 5 VSS
4 PGD (ICSPDAT) 13 PGD (RB7)
5 PGC (ICSPCLK) 12 PGC (RB6)
6 not con. not connected

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:

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.

Blank Checking was clicked additionally just for sure :)

  • project/amiga_ps2usb_mouse/amiga_usb_ps2_mouse.1630074142.txt.gz
  • Last modified: 2021/08/27 16:22
  • by cyberian