You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!

TF CD32 Riser Revision 2 Design Complete

TF CD32 Riser

Moderators: terriblefire, Terriblefire Moderator

sugar
Posts: 77
Joined: 20 Apr 2019 22:28

Re: TF CD32 Riser Revision 2 Design Complete

Post by sugar »

Even though I have retarded dreams of parallel and serial and what not I'm really looking forward for this to happen.
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 29 Sep 2020 21:39
arkadiusz.makarenko wrote: 29 Sep 2020 12:37

I assume this is gone forever?
this is all on my github still. just on a branch.
Branch!
<facepalm>

Thank you.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
User avatar
arkadiusz.makarenko
Moderator Team
Moderator Team
Posts: 1360
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

@terriblefire

May I ask what was your plan with RTC? I expected to see signals similar to any other edge connectors on small Amiga like for RTC Read and Write.
But to my surprise I couldn't find any? I couldn't even find them internally in CD32 (they exist only in signal glossary?)

The same question about floppy drive emulation. I can see some of signals on edge, but most of them are missing.
Does it mean that some of the functionality of amiga chipset need to be emulated as well?

Do you mind mentoring this, or are you completely feed up with retro hardware (read community)?
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

arkadiusz.makarenko wrote: 03 Oct 2020 23:28 @terriblefire

May I ask what was your plan with RTC? I expected to see signals similar to any other edge connectors on small Amiga like for RTC Read and Write.
But to my surprise I couldn't find any? I couldn't even find them internally in CD32 (they exist only in signal glossary?)

The same question about floppy drive emulation. I can see some of signals on edge, but most of them are missing.
Does it mean that some of the functionality of amiga chipset need to be emulated as well?

Do you mind mentoring this, or are you completely feed up with retro hardware (read community)?
This would need to be done by emulating the response you get from the amiga clock port and let the CPLD/ARM decide what data to supply. So the CPLD would need to decode the clockport address and the ARM would feed the data.

From Steady's website...

Code: Select all

$D80000 to $D8FFFF  64 KB SPARE chip select (selected by SPARE_CS)
    (The area of memory where the clock port resides)
$DC0000 to $DCFFFF  64 KB Real Time Clock(RTC) (selected by RTC_CS)

The region of $DC0000 to $DCFFFF is used by an accelerator card that has a built in clock as the RTC_CS signal goes to the A1200 CPU connecotr and can not be used if you have a clock, simple really!

Address lines A2, A3, A4 and A5 only are available. You can only access D16-D23 as well so this yields the following accessible addresses,

$D80001
$D80005
$D80009
$D8000D
$D80011
$D80015
$D80019
$D8001D
$D80021
$D80025
$D80029
$D8002D
$D80031
$D80035
$D80039
$D8003D

Why are the addresses odd?

To read/write to these addresses you need to perform word read/writes under the 68000 architecture.
If you look at those addresses with DiagROM on an amiga with a RTC clock (A1200) you'll see what needs returned. I think you can also get the datasheet for one of the RTC clocks commonly used. Basically you need to decode those addresses and put the data on D31-D24 and assert DSACK0, A real clockport would put the data on D23-16 and assert DSACK1. The CPU get the data the same in either case.
———
"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: 1360
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 04 Oct 2020 09:58
arkadiusz.makarenko wrote: 03 Oct 2020 23:28 @terriblefire

May I ask what was your plan with RTC? I expected to see signals similar to any other edge connectors on small Amiga like for RTC Read and Write.
But to my surprise I couldn't find any? I couldn't even find them internally in CD32 (they exist only in signal glossary?)

The same question about floppy drive emulation. I can see some of signals on edge, but most of them are missing.
Does it mean that some of the functionality of amiga chipset need to be emulated as well?

Do you mind mentoring this, or are you completely feed up with retro hardware (read community)?
This would need to be done by emulating the response you get from the amiga clock port and let the CPLD/ARM decide what data to supply. So the CPLD would need to decode the clockport address and the ARM would feed the data.

From Steady's website...

Code: Select all

$D80000 to $D8FFFF  64 KB SPARE chip select (selected by SPARE_CS)
    (The area of memory where the clock port resides)
$DC0000 to $DCFFFF  64 KB Real Time Clock(RTC) (selected by RTC_CS)

The region of $DC0000 to $DCFFFF is used by an accelerator card that has a built in clock as the RTC_CS signal goes to the A1200 CPU connecotr and can not be used if you have a clock, simple really!

Address lines A2, A3, A4 and A5 only are available. You can only access D16-D23 as well so this yields the following accessible addresses,

$D80001
$D80005
$D80009
$D8000D
$D80011
$D80015
$D80019
$D8001D
$D80021
$D80025
$D80029
$D8002D
$D80031
$D80035
$D80039
$D8003D

Why are the addresses odd?

To read/write to these addresses you need to perform word read/writes under the 68000 architecture.
If you look at those addresses with DiagROM on an amiga with a RTC clock (A1200) you'll see what needs returned. I think you can also get the datasheet for one of the RTC clocks commonly used. Basically you need to decode those addresses and put the data on D31-D24 and assert DSACK0, A real clockport would put the data on D23-16 and assert DSACK1. The CPU get the data the same in either case.
Diagrom! Obviously.
It is just few adress lines, so I can use cheap logic analyser to see what is happening.

I will have a look if stm32 will be able to respond quickly enough (on its own?). That what I found if there is no hardware interface, then on EXTI it takes forever.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

You should be able to get an ARM to respond to an interrupt inside 1uS. Whole chip was designed to do this even since the ARM1. Something must be wrong.
IntroToCortex-M3.pdf
This says you should be able to get 24 cycles latency.
You do not have the required permissions to view the files attached to this post.
———
"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: 1360
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 04 Oct 2020 12:34 You should be able to get an ARM to respond to an interrupt inside 1uS. Whole chip was designed to do this even since the ARM1. Something must be wrong.

IntroToCortex-M3.pdf

This says you should be able to get 24 cycles latency.
That is what I seen just below 1uS.
I just assumed that it is too slow.
Do not trust people. They are capable of greatness.
~ Stanislaw Lem
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

Thats the same time it takes the CIA to respond so i think its fine.

This is even true on the CD32. The "CIA" addresses do not respond for 900ns. I think this is so that things that use those ports for timing still get the same results.
———
"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: 1360
Joined: 19 Jun 2019 07:36
Location: Edinburgh

Re: TF CD32 Riser Revision 2 Design Complete

Post by arkadiusz.makarenko »

terriblefire wrote: 04 Oct 2020 13:24 Thats the same time it takes the CIA to respond so i think its fine.

This is even true on the CD32. The "CIA" addresses do not respond for 900ns. I think this is so that things that use those ports for timing still get the same results.
Hi

I have some more questions (let me know when you are fed up, please)

I have following dilemma.
I am looking at RTC chips, and implementing this should not be that difficult, my issue is that for me it looks like I was missing some address lines on ARM.

Code: Select all

A1200 clock port pin         /A1200 Address           /RTC address      	 /cd32 riser
30                                     /A2                            /RTC_A0             /ARM A2
29                                     /A3                            /RTC_A1             /ARM missing?
28                                     /A4                            /RTC_A2             /ARM 4
27                                     /A5                            /RTC_A3             /ARM missing

I can see following ones A0, A1, A2 and A4

What can't I see here?


RTC chip address/data table
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
terriblefire
Admin sponsor
Admin sponsor
Posts: 5675
Joined: 28 Aug 2017 22:56
Location: Glasgow, UK

Re: TF CD32 Riser Revision 2 Design Complete

Post by terriblefire »

The solution to this is to assign one of the INTSIG wires to A5 in the CPLD.

assign INTSIG[x] = A[5]; etc.

This is why i have spare lines for. :)
———
"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."

Return to “TF CD32 Riser”

Who is online

Users browsing this forum: CCBot and 3 guests