Can all registered uses please login, even just for a few minutes..
It helps build a picture where our "good traffic" is coming from..
Thanks :)

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: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Sun Apr 26, 2020 10:27 pm
arkadiusz.makarenko wrote: Sun Apr 26, 2020 8:31 pm @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: 5687
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Sun Apr 26, 2020 11:16 pm
terriblefire wrote: Sun Apr 26, 2020 10:27 pm

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: Wed Jun 19, 2019 7:36 am
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: 5687
Joined: Mon Aug 28, 2017 10:56 pm
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: Fri Nov 09, 2018 7:12 am
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: 5687
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

8 Bit Dreams wrote: Tue Apr 28, 2020 10:28 am 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: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

8 Bit Dreams wrote: Tue Apr 28, 2020 10:28 am 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: 5687
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Wed Apr 29, 2020 12:42 am 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: Wed Jun 19, 2019 7:36 am
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: Wed Apr 29, 2020 12:49 am
arkadiusz.makarenko wrote: Wed Apr 29, 2020 12:42 am 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: 5687
Joined: Mon Aug 28, 2017 10:56 pm
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: Wed Apr 29, 2020 9:22 am 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."
Post Reply

Return to “TF CD32 Riser”