Post Reply 
HP41 TULIP4041 update
08-24-2024, 02:12 AM (This post was last modified: 08-24-2024 03:27 AM by Sylvain Cote.)
Post: #2
RE: HP41 TULIP4041 update
The board was delivered last week and the final assembly was completed early this week.

My complete test setup is:
  • host computer
    • Hardware
    • Software
      • Raspberry OS 64-bit → installed on microSD card with Raspberry Pi Imager
        OS: Debian GNU/Linux 12 (bookworm) | Kernel: Linux 6.6.31+rpt-rpi-v8 | Architecture: arm64
      • Special configuration:
        • default headless video set to 1280x1024
        • wired network static configuration for: IP, default gateway and DNS
        • default vnc server running
        • RealVNC client installed
    • Optional: Development & Debugging
      • Raspberry Pi Debug Probe
      • Raspberry Pi Pico development tools C/C++ SDK
        installation script
        Code:
        mkdir -p ~/temp
        cd ~/temp
        wget https://raw.githubusercontent.com/raspberrypi/pico-setup/master/pico_setup.sh
        chmod +x pico_setup.sh
        ./pico_setup.sh
      • testing → follow instructions given in the Raspberry Pi Debug Probe documentation
        • install a Raspberry Pi Pico 1 (RP2040) on a breadboard
        • connect the Raspberry Pi Debug Probe to the Pico to the SWD connector
        • connect the Raspberry Pi Debug Probe to the Pico to the RP2040 GPIO RX/TX/GND pins
        • connect the Raspberry Pi Debug Probe to the USB port of the Raspberry Pi 4
        • compiled application files location
          • blink → ~/temp/pico/pico-examples/build_pico/blink
          • hello world serial → ~/temp/pico/pico-examples/build_pico/hello_world/serial
        • notes
          • OpenOCD, SWD, GPIO serial port and GDB works perfectly
          • I have tested several applications and did not find any issue
    • Virtual HP-IL
      • lifutils (utilities runs natively)
        installation steps
        Code:
        mkdir -p ~/temp
        cd ~/temp
        git clone https://github.com/bug400/lifutils.git
        cd lifutils
        mkdir rp4b
        cmake -DCMAKE_BUILD_TYPE=Release -S . -B rp4b
        cd rp4b
        make
        sudo make install
      • pyilper (application run natively, no virtual machine needed, well .... apart from cpython of course)
        installation steps
        Code:
        python3 -‑version                   // installed with the OS and I get version 3.11.2
        python3 -m venv ~/py311
        source ~/py311/bin/activate
        python -m pip install --upgrade pip
        pip install pyserial
        pip install pyilper
        testing:

        1. connect PIL-Box to RP4B → serial port added: /dev/ttyUSB0
        2. start pyilper → from command line
          Code:
          source ~/py311/bin/activate
          pyilper -‑clean -‑instance test
        3. configure pyilper to use /dev/ttyUSB0
        4. adds and configure virtual IL devices
        5. leave pyilper
        6. restart pyilper → from command line
          Code:
          source ~/py311/bin/activate
          pyilper --instance test
        7. test virtual devices with an HP-41/71B/75
  • Tulip4041
    • tomorrow

  • edit: typos & formatting

    Sylvain Côté
    Find all posts by this user
    Quote this message in a reply
    Post Reply 


    Messages In This Thread
    HP41 TULIP4041 update - MeindertKuipers - 08-23-2024, 02:01 PM
    RE: HP41 TULIP4041 update - Sylvain Cote - 08-24-2024 02:12 AM
    RE: HP41 TULIP4041 update - John Ioannidis - 08-25-2024, 11:07 PM
    RE: HP41 TULIP4041 update - Sylvain Cote - 08-25-2024, 11:46 PM
    RE: HP41 TULIP4041 update - John Ioannidis - 08-29-2024, 03:32 AM
    RE: HP41 TULIP4041 update - Sylvain Cote - 08-27-2024, 07:33 PM
    RE: HP41 TULIP4041 update - jsi - 08-28-2024, 12:44 PM
    RE: HP41 TULIP4041 update - Sylvain Cote - 08-28-2024, 12:54 PM
    RE: HP41 TULIP4041 update - John Ioannidis - 08-30-2024, 01:44 AM
    RE: HP41 TULIP4041 update - Sylvain Cote - 09-01-2024, 02:42 PM



    User(s) browsing this thread: 20 Guest(s)