Skip to content

Latest commit

 

History

History
128 lines (111 loc) · 4.28 KB

README.md

File metadata and controls

128 lines (111 loc) · 4.28 KB

XCopy Standalone

An Arduino / Teensy based version of the Amiga XCopy application for copying floppy disks to and from ADF files. Built for the Teensy 3.2 using a custom PCB and an unmodified PC 3.5" floppy disk drive.

Note

XCopy Standalone liberally uses floppy interface code taken from the excelent and generously open source ADF-Copy by Dominik Tonn. https://nickslabor.niteto.de/download/ Nicks software uses usb serial and a Java client or a MTP connection via usb to transfer data. XCopy Standalone focuses on a standalone unit using SD card storage and a LCD and / or web sockets interface for control.

Thanks

Special thanks to Giants for all his help with this version including web interface graphics, documentation, suggestions etc.

Device

XCopy Board Image

Status

This project is under heavy development and is in a state of flux with new hardware and software being actively worked on.

New Features - 04/2023

  • v0.19 PCB released with intergrated ESP8266 for WiFi
    • Moved to Kicad from Eagle
    • Changed SD Card to MicroSD reader
    • Added WiFi
    • Connected USB serial to Teensy USB serial
    • Moved TFT to cheap chinese Adafruit knock off, this has changed the pinout
    • Moved navigation stick to cheap chinese item from LCSC
    • Additional 3.3v power regulator to relieve Teensy's
    • Added larger electrolytic cap for floppy power
    • Switced to four layer board as they are cheap and provide better power / ground planes
  • Project code moved from Arduino to ProjectIO with all libraries preinstalled
  • New web interface
  • Amiga module ripper
  • Bootblock library / virus checker using brainfile format
  • Web based disk monitor
  • Network NTP time update
  • Upload and download ADF files via web interface

Features

  • Software
    • ADF Support
      • Amiga file system support for floppy disks and ADF files via ADFlib
    • Disk copy
      • Disk to SD Card
      • SD Card to Disk
      • Disk to Disk
      • Disk to Temporary Flash
      • Temporary Flash to Disk
    • Test disk
    • Format disk
    • Disk flux measurement
    • Serial command line
    • Interfaces
      • TFT LCD
      • USB Serial
      • HTML
    • Serial passthrough for programming onboard ESP8266
  • Hardware
    • IDC 34 pin standard floppy drive cable interface
    • 1.8" ST7735R 128x160, 18bit color LCD
    • 5 way navigation joystick
    • Mono PAM8302 amplifier with adjustable Pot
      • Onboard mounted speaker
    • SD Card reader
    • 128MBit Flash Rom with built in ADF files
    • CR1220 battery backed realtime clock
    • ESP8266 for websockets driven interface
    • Single USB plug for serial and to power floppy and Teensy 3.2
    • Status LED's
    • Additional 3.3v power regulator
    • Gerbers, schematic and pcb layout files available

PCB

XCopy Board Image

Web Interface

XCopy Board Image

Build Environment Notes:

VSCode Plugins:

  1. PlatoformIO with Teensy & ESP8266 board
  2. Todo+ v4.18.4 by Fabio Spampinato
  • Xcopy.h contains PCBVERSION define to target firmware builds to different PCB versions

ESP8266 Build Notes:

  1. Switch PlatformIO Project Environment to "XCopyStandalone/esp8266"
  2. Plugin XCopyStandalone device and select "Debugging >> ESP >> ESP Programming Mode"
  3. Set serial port to the Teensy port, the device will passthrough serial data to the ESP8266 program
  4. Upload code
  5. Select "Debugging >> ESP >> Reset ESP"
  6. Open a serial terminal
  7. Connect to your wireless access point using the connect command
>> connect SSIDName Password
  1. Type the following commands to confirm you have connected
>> status
WiFi Status: Connected
-----
Mode: STA
PHY mode: N
Channel: 10
AP id: 0
Status: 5
Auto connect: 1
SSID (6): SSIDName
Passphrase (12): Password
BSSID set: 0
>> ip
192.168.X.XX
>> ssid
SSIDName
>>

How to build PlatformIO based project

  1. Install PlatformIO Core
  2. Download development platform with examples
  3. Open the project
  4. Select 'PlatformIO:Build'
  5. Select 'PlatformIO:Upload'