I need to implement some kind of middleware to provide one point to access for mouse keyboard and 2x joystick. As those can be connected to either of ports. It is to simplify code in main.terriblefire wrote: 20 Apr 2020 20:27 OK in the meantime i'll try and get the integration with the Amiga working.
Please check with me before soldering on the DB23 connector. There are resistors to sort out that are epic to deal with if the DB23 is already on.
TF CD32 Riser Revision 2 Design Complete
Moderators: terriblefire, Terriblefire Moderator
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Ok i got the code up and running and it doesnt crash like before.
If you get the code doing what it did before but just printing to UART5 (which has header pins under the USB connector) then i'll crack on and make it talk to the amiga. Just do it in your repo and give me commit permissions or something
If you get the code doing what it did before but just printing to UART5 (which has header pins under the USB connector) then i'll crack on and make it talk to the amiga. Just do it in your repo and give me commit permissions or something
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
terriblefire wrote: 21 Apr 2020 09:32 Ok i got the code up and running and it doesnt crash like before.
If you get the code doing what it did before but just printing to UART5 (which has header pins under the USB connector) then i'll crack on and make it talk to the amiga. Just do it in your repo and give me commit permissions or something
Pins
PD2 - RX
PC12 - TX
Asynchronous?
Is is exactly the same like it was on Rev0?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
On those two pins yeah. :)arkadiusz.makarenko wrote: 21 Apr 2020 19:13terriblefire wrote: 21 Apr 2020 09:32 Ok i got the code up and running and it doesnt crash like before.
If you get the code doing what it did before but just printing to UART5 (which has header pins under the USB connector) then i'll crack on and make it talk to the amiga. Just do it in your repo and give me commit permissions or something
Pins
PD2 - RX
PC12 - TX
Asynchronous?
Is is exactly the same like it was on Rev0?
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
Working on it. It has been too long, and I already forgot some stuff (It was only a month!).terriblefire wrote: 21 Apr 2020 21:00On those two pins yeah. :)arkadiusz.makarenko wrote: 21 Apr 2020 19:13
Pins
PD2 - RX
PC12 - TX
Asynchronous?
Is is exactly the same like it was on Rev0?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
I'll add in basic keyboard support (and put in a gitignore for binary files) in that repo if you do an update and add me to the allowed collaborators for that repo
———
"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."
"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."
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
https://www.google.com/url?sa=t&rct=j&q ... 6yB75zuFk2terriblefire wrote: 19 Apr 2020 10:12Good call. Is that dev board schema available?arkadiusz.makarenko wrote: 19 Apr 2020 10:05 I have ordered Nucleo f722 dev board to understand this chip better.
schema is in appendix A
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
I have some issues with flipping interfaces in right time to decode report from device.
I know where exactly the issue is, just need to find straight forward way to deal with it.
EDIT:
This has been sorted, now I can see other issue.
I can make work either FS or HS at the same time. I think I must have a bug somewhere.
EDIT2:
Confirmed bug somewhere in init section of my code.
In my library it goes twice to one process, I think I need to rewrite new library (adapted to support HS and FS), instead of replacing existing one.
Time to use MELD to see differences.
I know where exactly the issue is, just need to find straight forward way to deal with it.
EDIT:
This has been sorted, now I can see other issue.
I can make work either FS or HS at the same time. I think I must have a bug somewhere.
EDIT2:
Confirmed bug somewhere in init section of my code.
In my library it goes twice to one process, I think I need to rewrite new library (adapted to support HS and FS), instead of replacing existing one.
Time to use MELD to see differences.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
@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.
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.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5686
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
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.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.
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.
———
"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."
"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."
Who is online
Users browsing this forum: ClaudeBot and 1 guest