Skip to content

gianlucarenzi/stalker

Repository files navigation

STm32-to-Amiga-Local-Keyboard adaptER

The STALKER adapter board enables connecting USB HID keyboards to your Amiga 1000, Amiga 2000/3000, Amiga 4000/CD32, Amiga 500, Amiga 1200 and Amiga 600 and it is based upon 32-bit STM32 microcontroller.

The STALKER provides built-in USB stack which enables USB HID keyboards support without the need for installing additional AmigaOS software drivers. The whole installation process comes down to simply connecting a STALKER adapter and plug to the keyboard port of your Amiga 1000, 2000 or 4000 externally, or internally in any other Amiga computers.

Additional feature of the adapter is its „Bootloader” function allowing future firmware upgrades. The STALKER comes with dedicated firmware, but it can be easily installed any firmware version as it's an open source project.

Features

  • supports for both USB HID, wireless adapters and USB-PS/2 keyboards,
  • Amiga 1000, 2000/3000, Amiga 4000/CD32, Amiga 1200, Amiga 600 and Amiga 500 compatibility,
  • built-in USB stack with HID Keyboard firmware driver
  • "Bootloader" function allowing future firmware upgrades,
  • "Status" indicator LED providing information about device's state,
  • built around 32-bit STM32 microcontroller utilizing latest technology,
  • non-blocking keyboard.

Why so a bad name for a so good product?

As stated in the title, the STALKER is an acronym of:

STm32-to-Amiga-Local-Keyboard adaptER

But if you think a little more, it is catching all the keystrokes you do,

so basically it is stalking you! ;-)

Rendered Images

Upgrading with Linux and OpenOCD and STLinkV2 Programmer/Debugger

Starting from this project folder, there are some shell scripts that can be used to program the board if you unluckly brick it or simply to upgrade some features from bootloader and application without using the STM32CubeProgrammer software.

Connect the STLinkV2 jtag/swd programmer to the STALKER Board in J4 connector (STLink V2 in the silkscreen) using a standard 10 pin IDC female/female cable 2x5 10P. Opening the project folder, you can compile all projects (application and bootloader) running:

make clean
make

and then launch the corresponding script:

  • bootloader.sh (to erase all the flash memory and program the bootloader)

  • flash.sh (to program the application, after having erased all needed flash sectors)

Upgrading quick guide

First, get your own copy of STM32CubeProgrammer software. It is free to use, please checkout the STMicroElectronics web site and install it into your PC. Please have a look at the following web link: https://www.st.com/en/development-tools/stm32cubeprog.html

After launched it will be shown as the following image.

pic1

Connect the special upgrade cable to the right lower opening of The STALKER, then connect the board with the provided USB cable to the one of the USB ports available in your computer. The red LED will light steady.

Then click on the connect button on the upper right position of the STM32Cube Programmer's window as shown in the picture below:

pic1-connect

Some information will be shown into the right bottom side of the same window, plus the memory locations will be filled up by the programmed values.

pic2-connected

After, you will need to select the correct FIRMWARE file (.hex file format) clicking into the Open File tab button like in the following example:

pic3-select-hex

If the file is loaded correctly, the Download button needs to be pressed to start the programming/flashing procedure. It will takes few seconds to be completed.

pic4-download-flash

The firmware is correctly installed into the board, and it can be used as usual.

pic5-complete

Now you can:

  • Disconnect the board from USB from your PC
  • Remove the special ugrade cable
  • Re-install the board into your Amiga Computer's setup.
  • Connect a USB Keyboard, and turn on the Amiga Computer.

That's all folks!

Software & Hardware License

Copyright (C) 2018/2019/2022/2023 Gianluca Renzi gianlucarenzi@eurek.it icjtqr@gmail.com

The hardware of this project is released as free/open hardware under the GNU GPL v3 License terms. See licence.txt for details.

About

STM32 Usb Based firmware microcontroller for any Amiga internal keyboard adapter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages