Latest firmware seems to pull the data bus up. It needs to go HIGHZ or input.terriblefire wrote: Sat Jun 06, 2020 9:11 pm no those are fine. Just things on the Amiga bus really.
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 :)
It helps build a picture where our "good traffic" is coming from..
Thanks :)
TF CD32 Riser Revision 2 Design Complete
Moderators: terriblefire, Terriblefire Moderator
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
———
"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: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
@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.
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
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
Thanks. I think i need to play around with this until i get the riser all sorted .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.
———
"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: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
Can you see any issues with it?terriblefire wrote: Sun Jun 07, 2020 3:08 pmThanks. I think i need to play around with this until i get the riser all sorted .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.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
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.arkadiusz.makarenko wrote: Mon Jun 08, 2020 10:01 amCan you see any issues with it?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 .
———
"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: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
Damn.
(All seems to be working all right on my CD32)
(All seems to be working all right on my CD32)
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
I'm starting to suspect my CD32. You have fastram workng ok?arkadiusz.makarenko wrote: Mon Jun 08, 2020 12:57 pm Damn.
(All seems to be working all right on my CD32)
———
"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: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
I did start ATK memory test on fast ram, and seems to be doing it's thing.terriblefire wrote: Mon Jun 08, 2020 1:31 pmI'm starting to suspect my CD32. You have fastram workng ok?arkadiusz.makarenko wrote: Mon Jun 08, 2020 12:57 pm Damn.
(All seems to be working all right on my CD32)
It is with blank (Riser) cpld in place.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
~ Stanislaw Lem
-
terriblefire
- Admin sponsor

- Posts: 5687
- Joined: Mon Aug 28, 2017 10:56 pm
- Location: Glasgow, UK
Re: TF CD32 Riser Revision 2 Design Complete
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.
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.
EDIT: Noticed that tapping DEL a few times causes a reboot with the USB keyboards.
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.
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.
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."
"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: Wed Jun 19, 2019 7:36 am
- Location: Edinburgh
Re: TF CD32 Riser Revision 2 Design Complete
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.
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
~ Stanislaw Lem