TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 26 Apr 2020 22:27
arkadiusz.makarenko wrote: 26 Apr 2020 20:31 @terriblefire

I need to rewrite USB library, differences are quite substantial between devices, just copying bits didn't work.

I don't want to slow you down, if you can work on stock library then great, just create project with FS and HS HID USB, and I will replace library when it is ready. It may take me a little more time as expected.
Ok i'll get the basic amiga.c / amiga.h setup with a stock library and you can hack away after you're done rewriting.

One thing I did notice is that one of the USB ports turned on my usual mouse and one didnt. I presume this is part of the issue.
If it was HS Then you need to comment one line related to ULPI clock enable. I will send yout exact line of code tomorrow.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 26 Apr 2020 23:16
terriblefire wrote: 26 Apr 2020 22:27

Ok i'll get the basic amiga.c / amiga.h setup with a stock library and you can hack away after you're done rewriting.

One thing I did notice is that one of the USB ports turned on my usual mouse and one didnt. I presume this is part of the issue.
If it was HS Then you need to comment one line related to ULPI clock enable. I will send yout exact line of code tomorrow.
Honestly for right here and now i'll just use one USB port and let you extend it later.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

Progress at last!
I love Meld, it saved be days.

I managed to get two devices with multiple interfaces registered. And I tested receiving data from one device from multiple interfaces.

Need to test if data is correctly received from devices, and complete middleware bit to get one point of access to different types of devices
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Great work.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
8 Bit Dreams
Moderator Team
Moderator Team
Posts: 785
Joined: 09 Nov 2018 07:12
Location: Germany

Re: TF CD32 Riser Revision 2 Design Complete

Post by 8 Bit Dreams »

Arek, one question,
is RTC already working?
Retro computer hardware & repair in Germany
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

8 Bit Dreams wrote: 28 Apr 2020 10:28 Arek, one question,
is RTC already working?
No nothing is working yet.. It doesnt talk to the amiga yet.

EDIT: Arek is focussing on the USB stack and middleware.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

8 Bit Dreams wrote: 28 Apr 2020 10:28 Arek, one question,
is RTC already working?
It is not on my to do list yet. I need to learn anything about power modes for this chip first

At this point I am battling with report parser for mouse on interface 1. Build in mouse report parser doesn't work (I assume it does only for mouse in boot mode), and my own parser doesn't read report size correctly.
It may be issue with one step before - reading hid descriptors for interface different than interface 0.
Build in functions can read them only for default interface -0, maybe I missed something when I was porting code to f722. This would cause that hid report descriptor for keyboard would be parsed as mouse report descriptor.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 29 Apr 2020 00:42 It is not on my to do list yet. I need to learn anything about power modes for this chip first

At this point I am battling with report parser for mouse on interface 1. Build in mouse report parser doesn't work (I assume it does only for mouse in boot mode), and my own parser doesn't read report size correctly.
It may be issue with one step before - reading hid descriptors for interface different than interface 0.
Build in functions can read them only for default interface -0, maybe I missed something when I was porting code to f722. This would cause that hid report descriptor for keyboard would be parsed as mouse report descriptor.
You'll get there :) or else ;)

Mwahahahahaha :) ok lockdown is starting to affect me...
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1371
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 29 Apr 2020 00:49
arkadiusz.makarenko wrote: 29 Apr 2020 00:42 It is not on my to do list yet. I need to learn anything about power modes for this chip first

At this point I am battling with report parser for mouse on interface 1. Build in mouse report parser doesn't work (I assume it does only for mouse in boot mode), and my own parser doesn't read report size correctly.
It may be issue with one step before - reading hid descriptors for interface different than interface 0.
Build in functions can read them only for default interface -0, maybe I missed something when I was porting code to f722. This would cause that hid report descriptor for keyboard would be parsed as mouse report descriptor.
You'll get there :) or else ;)

Mwahahahahaha :) ok lockdown is starting to affect me...
Got it.
It was messed new ST HID Parser, I reverted to old library version, updated few bits and now it works.
https://github.com/arkadiuszmakarenko/TFRiserRev1F722
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5686
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 29 Apr 2020 09:22 Got it.
It was messed new ST HID Parser, I reverted to old library version, updated few bits and now it works.
https://github.com/arkadiuszmakarenko/TFRiserRev1F722
Excellent work.
———
"It is not necessarily a supply voltage at no load, but the amount of current it can provide when touched that
indicates how much hurting you shall receive."

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: ClaudeBot and 1 guest