Yes, that is what I expected. The serial ports are for different functions in the TULIP.
I'm going to have to start from scratch and build the code again, as there is something very odd that is wrong in this code. I think multiple USB connections is too useful to not have.
Psion Organiser II Re-creation
-
- Posts: 379
- Joined: Tue Jan 03, 2023 7:54 pm
Re: Psion Organiser II Re-creation
Instead of starting with my code and adding TinyUSB to it, I have started with a working TinyUSB and added my code to that. Unfortunately I ended up with exactly the same problem. I suspect it is not my code now. I have managed to get the thing working by removing all calls to anything that uses a timer, I suspect the problem is something to do with interrupts.
This UF2 file will hopefully appear on Windows with 6 USB serial ports.
https://github.com/blackjetrock/psion-o ... _ctusb.uf2
This UF2 file will hopefully appear on Windows with 6 USB serial ports.
https://github.com/blackjetrock/psion-o ... _ctusb.uf2
- NotFitForPurpose
- Posts: 79
- Joined: Tue Sep 03, 2024 12:06 pm
- Contact:
Re: Psion Organiser II Re-creation
Hi, well this is what I get...
The second value to the right was later discovered to be a vestigial value. When the terminal was subsequently cleared only 1 value was shown and incrementing.
The second value to the right was later discovered to be a vestigial value. When the terminal was subsequently cleared only 1 value was shown and incrementing.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 379
- Joined: Tue Jan 03, 2023 7:54 pm
Re: Psion Organiser II Re-creation
Ah!, That value is a tick counter that is incremented by core 1. Core 1 performs keyboard scanning. It looks like it is working.
There should be a CLI opn the first COM port. If you type a single question mark ('?') then you should get a menu. If you then press 't' you should see a Psion organiser style display. Pressing the upper case letters in the menu will give you the functions shown. For instance 'S' will let you save data to a pak that is held in the flash memory of the Pico. 'F' is the find command. All functions are available through the USB interface.
It looks like this is a good basis for the code. Thank you for your help.
There should be a CLI opn the first COM port. If you type a single question mark ('?') then you should get a menu. If you then press 't' you should see a Psion organiser style display. Pressing the upper case letters in the menu will give you the functions shown. For instance 'S' will let you save data to a pak that is held in the flash memory of the Pico. 'F' is the find command. All functions are available through the USB interface.
It looks like this is a good basis for the code. Thank you for your help.
- NotFitForPurpose
- Posts: 79
- Joined: Tue Sep 03, 2024 12:06 pm
- Contact:
Re: Psion Organiser II Re-creation
Hi,
I found it by ensuring the COM port was open when the Pico plugged into the machine.
It's why I am using Tera Term rather than PUTTY as this version of Tera Term does not mind loosing the COM port.
I found it by ensuring the COM port was open when the Pico plugged into the machine.
It's why I am using Tera Term rather than PUTTY as this version of Tera Term does not mind loosing the COM port.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 379
- Joined: Tue Jan 03, 2023 7:54 pm
Re: Psion Organiser II Re-creation
That is the CLI. You can operate the recreation from there. I use minicom, I'm not sure if it's available on Windows. It also tolerates the loss of a USB serial port.
-
- Posts: 379
- Joined: Tue Jan 03, 2023 7:54 pm
Re: Psion Organiser II Re-creation
For anyone who wants to try this on a bare Pico, the latest UF2 file is here:
https://github.com/blackjetrock/psion-o ... ny_2/build
This will be updated as I do changes (for instance the image now there has a mass storage device again, but it only stores data in RAM, it does nothing useful with it). All previous UF2 files are in the repository in previous versions (or commits in git speak).
https://github.com/blackjetrock/psion-o ... ny_2/build
This will be updated as I do changes (for instance the image now there has a mass storage device again, but it only stores data in RAM, it does nothing useful with it). All previous UF2 files are in the repository in previous versions (or commits in git speak).