Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous 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/27 16:58] (current)
cyberian [Introduction]
Line 4: Line 4:
 |**Interested:​** | ... | |**Interested:​** | ... |
 |**Related:​**| | |**Related:​**| |
-|**Linkz:​**| ​ |+|**Linkz:​**| ​http://​bax.comlab.uni-rostock.de/​en/​hardware/​ps2-amiga-maus/ ​|
 | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci CC BY-SA]] ​ | | **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/​|Uveďte původ-Zachovejte licenci CC BY-SA]] ​ |
  
-Well, Introduction ​part will be added later :)+====== ​Introduction ​====== 
 +My goal is to build own adapter for connecting USB mouse to Amiga Mouse/​Joystick port and extend circuit scheme from Henryk Richter (see links in References). Functionality of this cheap solution is possible only with USB mouse which support PS/2 protocol. For example Airen RedMouseR.  
 +Those who are familiar with Amiga knows, that first port for mouse is shared with joystick. So you must disconnect mouse and connect joystick and you have then potencial problem with port wear. 
 +Idea is just use the switch button to disconnect proper port and connect joystick port or mouse port and use this for second joystick port too, becasu this circuit supoort mouse with wheel and additional button. Ofcourse if you use at port 1: mouse and at port 2: joystick you will only have a classic mouse.  
 + 
 +{{:project:​amiga_ps2usb_mouse:​amigajoyportpinout.jpg|}}
  
 ===== PICkit v3.5 - programming kit ===== ===== PICkit v3.5 - programming kit =====
Line 18: Line 23:
 |**6** not con. | not connected | |**6** not con. | not connected |
 {{ :​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 :)
 +
 +===== References =====
 +Thx to Henryk Richter from http://​bax.comlab.uni-rostock.de/​en/​hardware/​ps2-amiga-maus/​
  
  • project/amiga_ps2usb_mouse/amiga_usb_ps2_mouse.1629390676.txt.gz
  • Last modified: 2021/08/19 18:31
  • by cyberian