I've compiled a new Class for Poseidon. It is serialft232r.class for the FTDI USB to UART (Serial) Chip on the DrawBridge Controller. It is supposed to use serial.device to setup a serial connection.
It's not showing up in Trident Prefs though. Maybe I have to add it manually.
Edited by miker1264 on 16-02-2025 22:25,
1 year agoThe Serial Disk Reader is a very ambitious project. I'd like to write a new Poseidon FT232R Class to use the FTDI chip and serial.device to talk to the Arduino controller on a Drawbridge equipped USB Floppy Drive. If successful this will allow reading & writing Amiga 68k disks.
At first this seems like a daunting task and it can quickly become overwhelming! So it can be broken down into smaller pieces. So far I used the PL2303 class as a basis. I changed the file naming to FT232R then compiled it but at it's core it's not yet compatible with FTDI chips.
I still need to input the vendor & product id's as well as the logic to communicate with the FTDI chip. My first goal is to establish a link with the chip to read back vendor & product id & product description.
At this point I still don't know if all this is possible. We'll see how it goes. ;-)
Recently I've had some success in using Copilot AI to write RLE functions for picture Datatypes.
With that in mind I decided to try a test to see how smart Copilot is. I asked how to write an AROS Poseidon class for a UART driver in c code. The response was interesting!
It provided a compilable UART driver.
I'm going to try to assemble a working UART driver for FTDI that will link to the chip in the Drawbridge equipped USB floppy drive. It should present a UART connection using serial.device to send/receive data.
On my own this would be a huge task but with assistance from Copilot AI I can take it one step at a time and in the process get a better understanding of what is needed.
So, if it's possible to write a UART driver that uses serial.device what can we do with it? We can write a Disk Reader/writer for Amiga Disks!
I imagine that DiskImage.device will be very useful as well. Since any adf that is produced by the DiskReader would need to be mounted to the desktop. It may be possible to call diskimage.device after reading the disk into an adf to mount the image automatically on the AROS desktop.
But that is very far off and unknown if it will work at all. ;-)
Edited by miker1264 on 23-07-2026 21:48,
3 days agoOver the next few days I will attempt to write a very basic FTDI class driver for Poseidon to communicate with the ftdi-arduino controller (aka drawbridge).
Once I have an FTDI class I can setup an ftdi_terminal program.
The ftdi_terminal is an interactive terminal program that works in the AROS shell to send & receive data. The textual data can also be sent to a log file for analysis (text file).
I have used a Terminal Program on Windows 10 Pro to communicate with drawbridge. So I know it works!
First signs of life for the FTDI-Arduino device (aka Drawbridge).
When compiling it I forgot to compile against the Poseidon Library at first & caused errors!
I know it isn't much but I used Poseidon Library API with psd commands to find the FTDI device using the Product ID &Vendor ID. Then I used the device to Get the Attributes for the Product Name.
In the screenshot you can see in the shell output the last line that starts with "product=" that's the device!!
This FTDI chip reader routine to return device information will be part of an FTDI Disk Reader Program.
Edited by miker1264 on 26-07-2026 14:22,
10 hours ago You do not have access to view attachments