Well done guys. Makes me want to get a CD32terriblefire wrote: 09 May 2020 10:22 Been a crazy week but we've proved that this riser will pass through FMV video.
@arkadiusz.makarenko Sorry i've not been keeping up with your progress this week.
REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)
TF CD32 Riser Revision 2 Design Complete
Moderators: terriblefire, Terriblefire Moderator
-
PhilC
- Moderator

- Posts: 7494
- Joined: 23 Mar 2018 20:22
Re: TF CD32 Riser Revision 2 Design Complete
If it ain't broke, test it to Destruction.
-
arkadiusz.makarenko
- Moderator Team

- Posts: 1371
- Joined: 19 Jun 2019 07:36
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
OK.
After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
You do not have the required permissions to view the files attached to this post.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Yeah dont think the delays need to be perfect. anywhere between 1/2 a microsecond and 2 microseconds will do i recon. Its a clocked signal after all.arkadiusz.makarenko wrote: 10 May 2020 09:49 OK.
After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
EDIT: If you upload this to github i'll try and see if it works 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."
"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: 10 May 2020 09:51Yeah dont think the delays need to be perfect. anywhere between 1/2 a microsecond and 2 microseconds will do i recon. Its a clocked signal after all.arkadiusz.makarenko wrote: 10 May 2020 09:49 OK.
After some struggle with implementation of microsecond blocking delay I managed to get following.
I hope it is good enough for Amiga. At this point it is from USB to Amiga. If this will work as expected I will have a look at sending reports back to USB keyboard (led light controls).
EDIT: If you upload this to github i'll try and see if it works later
I have pushed changes.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Thanks ... have you assembled up the riser for the CD32 yet or just testing on the bench?
———
"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
It was on bench. Now I am trying to make it work on CD32, but it is not too successful. I managed to make it work at some point, but keys were very sticky. But most of the time it seems that stm32 is hanging or crashing.terriblefire wrote: 10 May 2020 10:36Thanks ... have you assembled up the riser for the CD32 yet or just testing on the bench?
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
Now I can't connect to the chip. It says Disable read out protection and try again...
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
OK All back to normal. I just reprogrammed chip. I assume there are anti-tampering features which may be turn on by default? Don't know.
Anyway. Keyboard seems very sticky, but I know why it is. At this moment data is sent only when value on keyboard is changed, which should work fine for mouse and gamepads, but not for this keyboard implementation. So for example if you hold button it will be recorded only once. I will need to move some processing from main to different place.
And I have updated initial config, as it was holding Amiga in reset until you connected keyboard and pressed button. Now it should be ok.
Not too bad for first try.
Anyway. Keyboard seems very sticky, but I know why it is. At this moment data is sent only when value on keyboard is changed, which should work fine for mouse and gamepads, but not for this keyboard implementation. So for example if you hold button it will be recorded only once. I will need to move some processing from main to different place.
And I have updated initial config, as it was holding Amiga in reset until you connected keyboard and pressed button. Now it should be ok.
Not too bad for first try.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: 28 Aug 2017 22:56
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
For the CD32 its v important just to do the keyboard reset once even if you change keyboards... keyboard reset is system reset on CD32.arkadiusz.makarenko wrote: 10 May 2020 12:09 OK All back to normal. I just reprogrammed chip. I assume there are anti-tampering features which may be turn on by default? Don't know.
Anyway. Keyboard seems very sticky, but I know why it is. At this moment data is sent only when value on keyboard is changed, which should work fine for mouse and gamepads, but not for this keyboard implementation. So for example if you hold button it will be recorded only once. I will need to move some processing from main to different place.
And I have updated initial config, as it was holding Amiga in reset until you connected keyboard and pressed button. Now it should be ok.
Not too bad for first try.
———
"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
I have played a little with it, and I changed us delay implementation. Now it is marginally better than it was, but still far from perfect.
Edit:
New udelay is bad. DWT_Delay is actually much better (Measured on my cheap logic analyser).
But no luck, I start suspecting my CD32...
Edit:
New udelay is bad. DWT_Delay is actually much better (Measured on my cheap logic analyser).
But no luck, I start suspecting my CD32...
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
Who is online
Users browsing this forum: ClaudeBot and 2 guests