Psion Organiser II Re-creation

Be clear with the topic titles to help members find the answers
Post Reply
amenjet
Posts: 334
Joined: Tue Jan 03, 2023 7:54 pm

Re: Psion Organiser II Re-creation

Post by amenjet »

This is the .uf2 file that has the new USB features:

https://github.com/blackjetrock/psion-o ... create.uf2
User avatar
NotFitForPurpose
Posts: 45
Joined: Tue Sep 03, 2024 12:06 pm

Re: Psion Organiser II Re-creation

Post by NotFitForPurpose »

Hi,
Assuming a Raspberry Pi Pico H board (RP2040 Classic Pico)

On my system, Windows device manager reports:
Unknown USB Device (Device Description Request Failed)

Windows 11 Home 10.0.22631 Build 22631

There is a dialog that appears
"The last USB device you connected to this computer malfunctioned and Windows does not recognise it.

I tried re-connecting as recommended by the text...
Same issue.

Perhaps someone else has a different outcome or I have the test conditions incorrect.
amenjet
Posts: 334
Joined: Tue Jan 03, 2023 7:54 pm

Re: Psion Organiser II Re-creation

Post by amenjet »

Hmm, interesting. Did no devices appear? The code should present three USB devices, maybe just one didn't appear?

I've just updated the .uf2 file, this is a version that I've definitely got working, maybe there was an issue with the other one.

https://github.com/blackjetrock/psion-o ... create.uf2

Do you have a terminal emulator? You should have a serial terminal on a port somewhere, that is fairly reliable. I have some other code that should present a serial terminal and that doesn't use the same TinyUSB code, at least not in the same way. If you don't mind loading that and seeing if there's a COM port connected to a serial terminal type interface?

This code uses the old USB code:
https://github.com/blackjetrock/experim ... mputer.uf2
User avatar
NotFitForPurpose
Posts: 45
Joined: Tue Sep 03, 2024 12:06 pm

Re: Psion Organiser II Re-creation

Post by NotFitForPurpose »

Hi,
same issue with the updated .uf2 image
https://github.com/blackjetrock/psion-o ... create.uf2

Test system:
Raspberry Pi Pico H board (RP2040 Classic Pico)
Windows 11 Home 10.0.22631 Build 22631


Yes the device appears in the Device Manager, i.e. Windows has completed device enumeration and attempted to recognise a device descriptor.
Psion-Re-Create-Serial-Issue-01.png


The Experimental Schools Computer Simulation seems to work (see image, I included the serial settings as these did not seem to be documented).
exp-comp-term.png
You do not have the required permissions to view the files attached to this post.
amenjet
Posts: 334
Joined: Tue Jan 03, 2023 7:54 pm

Re: Psion Organiser II Re-creation

Post by amenjet »

Ok, so it looks like the descriptor is wrong somehow for windows
I don't suppose there is a log of any kind that details what is wrong?
User avatar
NotFitForPurpose
Posts: 45
Joined: Tue Sep 03, 2024 12:06 pm

Re: Psion Organiser II Re-creation

Post by NotFitForPurpose »

Hi,
well I ran Windows performance analyzer capturing the USB event process...
I am no wiser though have a very pretty picture....

I suspect this is the most helpful part from the Device Manager, Device Configuration...

Device USB\VID_0000&PID_0002\6&2184df9c&0&4 was configured.

Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Driver Date: 06/21/2006
Driver Version: 10.0.22621.3672
Driver Provider: Microsoft
Driver Section: BADDEVICE.Dev.NT
Driver Rank: 0xFF0000
Matching Device Id: USB\DEVICE_DESCRIPTOR_FAILURE
Outranked Drivers: usb.inf:USB\DEVICE_DESCRIPTOR_FAILURE:00FF2000
Device Updated: false
Parent Device: USB\VID_05E3&PID_0610\5&1e7d8db7&0&6


For fun here is the trace....
It seems to say a lot of device not recognised and not a great deal else.
USB_Event_Log.png
You do not have the required permissions to view the files attached to this post.
amenjet
Posts: 334
Joined: Tue Jan 03, 2023 7:54 pm

Re: Psion Organiser II Re-creation

Post by amenjet »

Hmm, I think I'm going to have to check my descriptor and see what is possibly wrong with it. It might be an idea to try this code:
https://github.com/mjakuipers/TULIP-Dev ... ip4041.uf2

That is for the HP41C, and it opens up several USB serial ports. I think it works on Windows, and it would be interesting to see if it works on your machine. the source is available and I could look at that descriptor and hopefully work out what is wrong with mine. If TULIP it works, that is.
MartinP
Posts: 57
Joined: Wed Jan 04, 2023 7:51 pm

Re: Psion Organiser II Re-creation

Post by MartinP »

The TULIP uf2 seems ok in Win10 with various COM ports and a drive added.

For "psion_recreate.uf2"I get device descriptor errors for Windows 10, but I tried an old laptop, Windows 7 is much better with various USB devices detected as in the image below. The mass storage opens ok and contains a readme text file with "Psion C recreate" written in it.
TinyUSB.PNG
You do not have the required permissions to view the files attached to this post.
amenjet
Posts: 334
Joined: Tue Jan 03, 2023 7:54 pm

Re: Psion Organiser II Re-creation

Post by amenjet »

Thanks for this testing. Yes, the mass storage device should have that readme file the keyboard allows the organiser to send key presses to the computer, and the serial io is a user interface. You should be able to control the Psion recreation using that interface.
I think the emulator version of the recreate also allowed that.
I'm going to have a look at the descriptor and ae if I can see something different to tulip...
User avatar
NotFitForPurpose
Posts: 45
Joined: Tue Sep 03, 2024 12:06 pm

Re: Psion Organiser II Re-creation

Post by NotFitForPurpose »

Hi,
Same for Tulip for Windows 11, see below:

Serial Port
Tulio-Pico-Terminal.png
Device ID
Tulip-Pico-Device-Id.png
As a side note, it exposes 5 serial ports, on my system that resulted in COM4 thru COM9
You do not have the required permissions to view the files attached to this post.
Post Reply