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

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 »

terriblefire wrote: Sat Jun 06, 2020 9:11 pm no those are fine. Just things on the Amiga bus really.
Latest firmware seems to pull the data bus up. It needs to go HIGHZ or input.
———
"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

I have changed settings from input no-pull-down no-pull-up to output open drain with state set up to High. I hope this will do the job.
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 Jun 07, 2020 3:02 pm @terriblefire

I have changed settings from input no-pull-down no-pull-up to output open drain with state set up to High. I hope this will do the job.
Thanks. I think i need to play around with this until i get the riser all sorted .
———
"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: Sun Jun 07, 2020 3:08 pm
arkadiusz.makarenko wrote: Sun Jun 07, 2020 3:02 pm @terriblefire

I have changed settings from input no-pull-down no-pull-up to output open drain with state set up to High. I hope this will do the job.
Thanks. I think i need to play around with this until i get the riser all sorted .
Can you see any issues with it?
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: Mon Jun 08, 2020 10:01 am
terriblefire wrote: Sun Jun 07, 2020 3:08 pm

Thanks. I think i need to play around with this until i get the riser all sorted .
Can you see any issues with it?
With the setup i have i cannot get the Tf330 to see the fastram. On either the rev0 or rev1 riser. The fastram works fine on the kipper riser.
———
"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 »

Damn.

(All seems to be working all right on my CD32)
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: Mon Jun 08, 2020 12:57 pm Damn.

(All seems to be working all right on my CD32)
I'm starting to suspect my CD32. You have fastram workng ok?
———
"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: Mon Jun 08, 2020 1:31 pm
arkadiusz.makarenko wrote: Mon Jun 08, 2020 12:57 pm Damn.

(All seems to be working all right on my CD32)
I'm starting to suspect my CD32. You have fastram workng ok?
I did start ATK memory test on fast ram, and seems to be doing it's thing.
It is with blank (Riser) cpld in place.
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 »

Ok progress.

I switched to using a TF360 (see below) and it working sweet. May have the notport up and running too. I'll stick with this for now.
IMG_2557.jpg
IMG_2557.jpg (304.42 KiB) Viewed 3783 times
Attached is a firmware that intercepts the mouse accesses..

JOY0DAT *00A R D Joystick-mouse 0 data (vert,horiz)
JOY1DAT *00C R D Joystick-mouse 1 data (vert,horiz)

When this happens the machine will lock up waiting for the ARM to put data on the data bus.

1. needs to deal with the upper and lower byte by reading A0 from pin 24 (PC4).
2. place the data it wants on the data bus (if read) then
3. poke ACK on pin 2 (PC13) low for about 60-100ns.

Then probably you can expect to get the next part of the word immediately since the chipset always does word read/writes and we're always doing byte responses. Yes it will be 200ns slower to read the mouse. Do we care?

Inside the ARM we need to track and keep a current JOYDAT0 and JOYDAT1 with mouse/joystick movements and then feed these to the amiga when it asks for them.

Oh and ..

Pin 62 (PB9) will be low when accessing JOYDAT0
Pin 33 (PB12) will be low when accessing JOYDAT1

The interrupt pin 61 (PB8) will remain low through the whole cycle.
cd32_riserr1_main_top.zip
(6.11 KiB) Downloaded 164 times
EDIT: Noticed that tapping DEL a few times causes a reboot with the USB keyboards.
———
"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 »

It seems that there is a steep learning curve for me ahead :)
I might need to test your patience with this a little.

I assume joy dat format would need to be the same like in mist?

Del bug - I had to forget to clear maybe_reset variable. Will do it next time I sit down in front of IDE.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
Post Reply

Return to “TF CD32 Riser”