Do you mean the dma problems?Cyprian wrote: 14 Mar 2023 11:50 btw. some times ago I heard about some problems with CTPCI. What kind they were and were they resolved in that version?
Let's build a CTPCI!
-
foft
- Posts: 342
- Joined: 28 Mar 2022 12:20
Re: Let's build a CTPCI!
-
Cyprian
- Posts: 542
- Joined: 22 Dec 2017 09:16
- Location: Warszawa, Poland
Re: Let's build a CTPCI!
I just read some opinion over Atari-Forum but without the context. I don't know the details, hence my previous question.
ATW800/2 / V4sa / Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
-
Steve
- Posts: 3305
- Joined: 15 Sep 2017 11:49
Re: Let's build a CTPCI!
Yeah it is confusing, apparently the designer was looking for some strange bug for a long time and eventually gave up... But whatever this bug was, or the problems it caused, nobody speaks about.
-
mikro
- Posts: 820
- Joined: 28 Aug 2017 23:22
- Location: Kosice, Slovakia
Re: Let's build a CTPCI!
It's mentioned in readme.txt:
Also, there is a good log at http://didier.mequignon.free.fr/ct60/ctpci-e.htm, giving some hope in February 2012:
Code: Select all
Hardware CTPCI bugs list:
-------------------------
- PCI 33MHz boards not works, for example USB generic NEC board
go to "unrecoverable PCI error" and set "Parity error".
=> use only graphics boards who are 33/66 MHz compatible (more
signal tolerance).
- Interrupts not works, to confirm (maybe the real cause is the first
problem). Local interrupts can't work.
- DMA writing sometimes freeze the system (easy to create with
MagiC/NVDI real time moving window.
=> disable DMA with CT650CONF.CPX.
- DMA reading crashes the system (not used actually).
- Bus mastering for works for same reason.
- PCI arbitration not works, for example if you want use Video RAM
with USB board (maybe the real cause is the first problem).
So actually the best is to install ONLY the Radeon board.but ending with the pessimistic note from November 2012:On CTPCI fixed PEND register bits test inverted, and finally revoved this test who can caused loop inside a PCI interrupt
Tried again, with the latest jedec file for the CTPCI (CTPCI_1L), the PCI/PCIe adapter and the USB2 PCIe board. It's better, interrupts works fine and the ethernet OZK RTL8139 driver runs, but I have freezes with ethernet and the USB Mass Storage (most of time when the DMA writes to the local RAM). Add delays loops seems reduce problems but slow down transfers, for example on USB you must replace the 1uS delay between two status register reading by a 10 mS delay, and for ethernet I used (just for test) an interrupt task with the OZK RTL8139 driver who add a delay after the interrupt. It's not a reliable solution for a final release (too hardware dependent).
Hopefully, the 1N he is talking about is the same I found in Rodolphe's archive: https://mikrosk.github.io/ct60tos/ctpci/english/dev.htmHardware update with the latest jedec file CTPCI_1N.JED, but the hardware dma lock workaround not fix the problems with USB Mass Storage transfers or an Ethernet PCI board.
-
foft
- Posts: 342
- Joined: 28 Mar 2022 12:20
Re: Let's build a CTPCI!
Thanks for the detailed info mikro.
It's interesting there are so many errors, since its a custom chip that actually does the PCI communication. So I'd expect issues to be on the CT60->PCI9054 side. Anyway the core Radeon video works well as I understand it. I'm just going for that - to start with at least. I think I'd find the whole thing easier to debug with a decent FPGA instead of 3 xilinx CPLD chips! Perhaps we should make that and use PCI express too instead (https://hackaday.com/2023/03/14/pcie-fo ... ore-578784).
Any the parts arrived today, so decided to start with the easy part -> yes, just one slot for now and I still need to populate the resistors (errrr, what should R6 and R7 be, they are not on the list of parts so perhaps not populated?!) + buy the missing J8!:
It's interesting there are so many errors, since its a custom chip that actually does the PCI communication. So I'd expect issues to be on the CT60->PCI9054 side. Anyway the core Radeon video works well as I understand it. I'm just going for that - to start with at least. I think I'd find the whole thing easier to debug with a decent FPGA instead of 3 xilinx CPLD chips! Perhaps we should make that and use PCI express too instead (https://hackaday.com/2023/03/14/pcie-fo ... ore-578784).
Any the parts arrived today, so decided to start with the easy part -> yes, just one slot for now and I still need to populate the resistors (errrr, what should R6 and R7 be, they are not on the list of parts so perhaps not populated?!) + buy the missing J8!:
You do not have the required permissions to view the files attached to this post.
-
foft
- Posts: 342
- Joined: 28 Mar 2022 12:20
Re: Let's build a CTPCI!
I couldn't resist starting the main board, I decided to start with the resistor arrays.
This is how not to do it, put TOO much paste on :lol: :oops:. I'm not very good at applying thin paste without a stencil, need to improve here:
Which led to a bridge on ... like every array. So I used some braid and ended up with this. Not too bad though needs a little tidy and a fair bit of cleaning:
This is how not to do it, put TOO much paste on :lol: :oops:. I'm not very good at applying thin paste without a stencil, need to improve here:
Which led to a bridge on ... like every array. So I used some braid and ended up with this. Not too bad though needs a little tidy and a fair bit of cleaning:
You do not have the required permissions to view the files attached to this post.
-
foft
- Posts: 342
- Joined: 28 Mar 2022 12:20
Re: Let's build a CTPCI!
Here are the aligned gerbers that I sent to pcbway (the original ones had offset drills and other strange offsets in some layers...). I don't yet know if the boards are correct, but visibly they look to be. As for the power planes, I can detect connections where I'd expect it to go via the two inner layers.
I bought ViewMate Deluxe to edit them, which seems pretty good for basic editing, it did a lot more than I needed.
I bought ViewMate Deluxe to edit them, which seems pretty good for basic editing, it did a lot more than I needed.
You do not have the required permissions to view the files attached to this post.
-
Cyprian
- Posts: 542
- Joined: 22 Dec 2017 09:16
- Location: Warszawa, Poland
Re: Let's build a CTPCI!
thanks mikro
ATW800/2 / V4sa / Lynx I / Mega ST 1 / 7800 / Portfolio / Lynx II / Jaguar / TT030 / Mega STe / 800 XL / 1040 STe / Falcon030 / 65 XE / 520 STm / SM124 / SC1435
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
DDD HDD / AT Speed C16 / TF536 / SDrive / PAK68/3 / Lynx Multi Card / LDW Super 2000 / XCA12 / SkunkBoard / CosmosEx / SatanDisk / UltraSatan / USB Floppy Drive Emulator / Eiffel / SIO2PC / Crazy Dots / PAM Net
http://260ste.atari.org
-
alexh
- Site sponsor

- Posts: 1335
- Joined: 17 Oct 2017 16:51
- Location: Oxfordshire
Re: Let's build a CTPCI!
Exciting
Senior Principal ASIC Engineer - SystemVerilog, VHDL
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
Thalion Webshrine - http://thalion.atari.org
ST,STf,STfm,STe,MegaST,MegaSTe,Falcon060
A500+,A600,A4000/060,CD32,CDTV
-
HigashiJun
- Posts: 2381
- Joined: 19 Jun 2020 07:21
- Location: Tokyo
Re: Let's build a CTPCI!
Good !
Keep us informed of your progress.
Keep us informed of your progress.
Who is online
Users browsing this forum: ClaudeBot and 3 guests