Giter Club home page Giter Club logo

hax-pax's Introduction

PAX 920 reverse engineered kit (formerly Enhanced MHI ZXEM emulator)

Quick start guide

  1. Clone or download the repository.
  2. Run ./quick-start.sh to set up the environment.
    • This script will handle the virtual environment setup and execute the necessary commands.
  3. Run source env/bin/activate to activate the environment created in quick-start.sh.
  4. Run sudo make upload to upload the firmware to the device.
    • Make sure to run it with superuser privileges, as it interfaces with ttyACM0.
  5. Update variables at the top of Makefile to follow your paths.
    • Intended for users moving to this repository with paths set to different files and folders.
  6. Connect to your device (instructions below), run make <your_project> (for example make zxem), and reload your terminal.

Study the Makefile for more information how to run separate projects.

Connecting your device

The PAX device can be connected using a usb cable, or Wi-Fi connection. Make sure you have followed the Quick start guide before continuing.

USB

It should work out of the box. Only extra step needed is to connect the micro USB cable into the device and your computer.

Wi-Fi

There are two main steps to ensure Wi-Fi connectivity.

  1. Connecting your device to your selected Wi-Fi:
    1. In your PAX device, from diagostic menu, enter 1. System Config. Enter the default password.
    2. On PAX device, press 3. WiFi
    3. Make sure the Wi-Fi network you want to connect to runs on 2.4 GHz.
    4. On PAX device, press 1. Auto Set, then select the SSID of your Wi-Fi network.
    5. Use the device keyboard to enter the selected Wi-Fi network password. After a few seconds, it should display "Connect Success".
    6. Depending on your network, select DHCP or Static.
      • For this guide, we will assume DHCP on your network is enabled, so we continue by pressing 1. DHCP. If it succeeds, you will see the device IP address, netmask, network gateway and DNS server
      • IMPORTANT: make sure, you remember or write down the IP address, it will be needed later.
    7. Press red X button until Quit TM is shown on display. Your device is now connected to your selected Wi-Fi!
  2. Configuring the upload script to work on Wi-Fi:
    1. Open ../prolin-xcb-client/client.py
    2. Find line starting with port variable (around line 10)
      • Change the variable to your IP address from step 1.6., followed by port number 5555
      • So the line will look something like this: port = '192.168.0.1:5555'

Known Errors

  • Last known working versions are on Ubuntu 20.04
    • Native compiler from Ubuntu 22.04 seems to not work for us. Beware.

Simple telnet client connection

For ease of use, try the telnet functionality. Run make telnet, then connect to the telnet client in your shell of choice. The port of the telnet client is 2323.

Example: telnet 192.168.0.1 2323

Further info

hax-pax's People

Contributors

ikonko avatar sprotex avatar martincern avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.