RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » Gryphon 68030
Re: Gryphon 68030 [message #1977 is a reply to message #1976] Thu, 09 March 2017 17:13 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
Exactly - that is why I have been against such big boards - simplifying the I/O would yield a smaller board and cost. I would not suggest more boards as in the end this is only an intermediate board because there is not sufficient memory for linux. That is why I am shooting for a smaller board for Alderaan (at least the intermediary versions) because of the cost per board and I know it is going to take at least 2 iterations to yield a final board.
Re: Gryphon 68030 [message #1978 is a reply to message #1976] Fri, 10 March 2017 02:56 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
[quote title=lynchaj wrote on Thu, 09 March 2017 16:26]yoda wrote on Thu, 09 March 2017 16:01

OK, I will spin another board with traces on the outer layers. It'll take some time for the trace routing and optimization.

I did a quick estimate at easyeda.com to get an idea of what 5 PCBs would cost. It was a surprise to say the least.

5 PCBs, 4 layers, 244mm X 305mm with shipping is right at $200. Yikes! The same order last year for 2 layer boards cost $70. Going to 4 layers really boosts the unit price up. That's a unit cost of $40 which is higher than my previous guesstimate. More units would probably bring it down though if more people got involved.


I am going to respin the PCBs as 2 layer again. 4 layer is nice but its not worth twice (triple?) the price. We can get a good affordable board using 2 layer PCBs.
Re: Gryphon 68030 [message #1981 is a reply to message #1978] Fri, 10 March 2017 07:52 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
That is truly disappointing - I don't understand this infatuation with ATX size boards. Using the calculator on EasyEDA if you keep board size less that 9x9 it is 21 dollars and 10x10 is 26 dollars. If you insist on ATX I/O make an AT I/O adapter with analog connectors on one side and header pins on the other that is long and narrow and connect to a central board with the main logic that terminates in headers that can be connected via ribbon cables.

The chances of success with a 2 layer board and DRAM is minimal. Old DRAM requires large VCC and GND planes as the instantaneous current can be quite high.
Re: Gryphon 68030 [message #1983 is a reply to message #1981] Fri, 10 March 2017 08:31 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi Dave
Please start a new thread to discuss the Alderaan project.
Re: Gryphon 68030 [message #1991 is a reply to message #1983] Sat, 11 March 2017 05:56 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
I think the Gryphon plan presented here represents the best path forward. We have a third generation board ready to go which has been shown to work previously. If we need 4 layer PCBs we can get those but at a higher unit price.

The plan has a clear path to a 68K Linux SBC. I don't think this will be easy but it is certainly doable. We need to get people on-board for this approach. I think it represents a system at least as capable as the KISS-68030 and probably more because it doesn't rely on an ECB bus for mass storage. 16 bit IDE can be fairly quick assuming the CPU has enough memory.

[Updated on: Sat, 11 March 2017 05:57]

Report message to a moderator

Re: Gryphon 68030 [message #1992 is a reply to message #1991] Sat, 11 March 2017 06:13 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member

Gryphon 68030 plan[ 4 votes ]
1. Interested in proposed plan 4 / 100%
2. Not interested in proposed plan 0 / 0%
3. Unsure, wait and see 0 / 0%

Hi
Maybe a poll is in order to figure out who is interested in pursuing the Gryphon 68030 plan as presented.
Re: Gryphon 68030 [message #1993 is a reply to message #1992] Sat, 11 March 2017 12:30 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
Before I vote, how fast do you expect the Build #4 - '040 board to be? A '040 running at 8Mhz wouldn't be of much interest TO ME, even if it did run Linux. If the expected CPU speed was above 25MHz or so, then that would be a lot more interesting to me.

- Mike
Re: Gryphon 68030 [message #1994 is a reply to message #1993] Sat, 11 March 2017 12:43 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
Not sure where you got 8MHz from? I don't think there exist one that runs that slow. 25MHz is the target I am going for. I would. Like to go to 40 MHz version but I have only found 68150 at 33 MHz versions which is the limitation currently.
Re: Gryphon 68030 [message #1995 is a reply to message #1993] Sat, 11 March 2017 13:00 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
mikemac wrote on Sat, 11 March 2017 12:30
Before I vote, how fast do you expect the Build #4 - '040 board to be? A '040 running at 8Mhz wouldn't be of much interest TO ME, even if it did run Linux. If the expected CPU speed was above 25MHz or so, then that would be a lot more interesting to me.

- Mike


Way too early to tell. Need to get past stages 1-3 first. I *guess* somewhere in the 16-25 MHz region.
Re: Gryphon 68030 [message #1996 is a reply to message #1995] Sat, 11 March 2017 13:12 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Even if you don't want to build one of the prototype boards you can help this project along by buying a prototype board. Either donate it to a someone building it like Ewout or just to offset the cost a bit. The 4 layer PCB is $40 each and if we go with the 2 layer PCB its $20 each.

There are many options available for PCBs each with tradeoffs.

1. 2 layer PCB, ~$100 for 5 prototype boards. Least expensive option but least stable too. Easiest to debug.
2. 4 layer PCB, ~$200 for 5 prototype boards. Internal signal routing (on inner layers). Best grounding, EMI, and thermal performance, more difficult to debug since traces are buried. KiCAD/FreeRouter default approach.
3. 4 layer PCB, ~$200 for 5 prototype boards. External signal routing (on outer layers). Good grounding, EMI, and thermal performance, easier to debug since traces are exposed.
4. 4 layer PCB, ~$200 for 5 prototype boards. Mixed signal routing (on inner and outer layers). Better grounding, EMI, and thermal performance, medium difficulty to debug but fewest vias. Very direct traces.

I am OK with any of the options above. Just let me know your preferences. By default, KiCAD/FreeRouter goes with #2 since it produces the cleanest and best grounding, EMI, and thermal performance. Appearances are really nice but you can't manually follow the traces. However the KiCAD tracing diagram is available so you know where they are and all the signals *eventually* surface due to connections to the components. Being nearly 100% through-hole construction you at least have some access.

[Updated on: Sat, 11 March 2017 13:15]

Report message to a moderator

Re: Gryphon 68030 [message #1997 is a reply to message #1995] Sat, 11 March 2017 13:23 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
lynchaj wrote on Sat, 11 March 2017 15:00
mikemac wrote on Sat, 11 March 2017 12:30
Before I vote, how fast do you expect the Build #4 - '040 board to be? A '040 running at 8Mhz wouldn't be of much interest TO ME, even if it did run Linux. If the expected CPU speed was above 25MHz or so, then that would be a lot more interesting to me.

- Mike


Way too early to tell. Need to get past stages 1-3 first. I *guess* somewhere in the 16-25 MHz region.


Just an FYI - there is a minimum frequency on MC68040 - for a 25MHz part it is 20 MHz so there is no such thing as less than 20MHz as 25MHz is the slowest part. Same thing with 68030 there are minimum frequency as well. These parts do not operate DC - to rated frequency.
Re: Gryphon 68030 [message #1998 is a reply to message #1994] Sat, 11 March 2017 14:41 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
yoda wrote on Sat, 11 March 2017 13:43
Not sure where you got 8MHz from? I don't think there exist one that runs that slow. 25MHz is the target I am going for. I would. Like to go to 40 MHz version but I have only found 68150 at 33 MHz versions which is the limitation currently.


Pulled it out of my backside as an extreme example of "too slow". I didn't know what the minimum frequency of most 680X0 is. The 68SEC000 I'm playing with supposedly will go DC to 16MHz. I know it won't run Linux but it might run ucLinux. Don't know what the current requirements for that are yet. Once I get schematics entered, I'll post them to a new thread so everyone can get a good laugh. Very Happy

But back on topic, I'll kick in for a board for someone who can contribute to the debugging. If no one needs it, I'll hang it on my wall, admiring it until the Build 4 boards are ready.



Mike
Re: Gryphon 68030 [message #2000 is a reply to message #1998] Sun, 12 March 2017 05:21 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
OK, I am assuming people want the 4 layer PCB with all traces on external layers (VCC & GND planes internally). That seems to be the only preference expressed so far. If anyone has different opinion or questions please speak up. That means the 5 prototype PCBs cost $40 each.

If you'd like to buy a prototype board (regardless of whether you intend to build or not although I certainly welcome it) please send me a PM and I'll set you up. I'll set any funds aside until the order is made. If you change your mind I will refund your money.

It will take about 2 weeks for the PCB trace route optimization to complete. Once the PCB checks out, I'll order it assuming everything works out. Otherwise I'll refund your money.

[Updated on: Sun, 12 March 2017 05:21]

Report message to a moderator

Re: Gryphon 68030 [message #2002 is a reply to message #2000] Sun, 12 March 2017 09:20 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
I will be buying a PCB myself which I'll keep as the reserve board or donate to someone willing to build and test.

If you know of other 68K communities that might be interested in this please reach out to them like Mac 68K, vintage computer, hobby electronics, etc.
Re: Gryphon 68030 [message #2003 is a reply to message #2002] Sun, 12 March 2017 10:28 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Here is the latest Gryphon/Jackalope schematic and PCB layout.
Re: Gryphon 68030 [message #2005 is a reply to message #2003] Sun, 12 March 2017 14:14 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
Both the Gryphon and the Jackalope designs use a 8bit data bus to the Ethernet controller while the video gets a 16bit data bus. Can anyone explain why the Ethernet doesn't also use a 16bit data bus? Just curious.


Mike
Re: Gryphon 68030 [message #2006 is a reply to message #2005] Sun, 12 March 2017 14:34 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
mikemac wrote on Sun, 12 March 2017 14:14
Both the Gryphon and the Jackalope designs use a 8bit data bus to the Ethernet controller while the video gets a 16bit data bus. Can anyone explain why the Ethernet doesn't also use a 16bit data bus? Just curious.


I think it was off-the-shelf parts the original designer (Paul Fincato) selected. I think the over-riding criteria was working with the 68030 which is not very common for IO components.
Re: Gryphon 68030 [message #2007 is a reply to message #2006] Sun, 12 March 2017 17:40 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
lynchaj wrote on Sun, 12 March 2017 14:34
mikemac wrote on Sun, 12 March 2017 14:14
Both the Gryphon and the Jackalope designs use a 8bit data bus to the Ethernet controller while the video gets a 16bit data bus. Can anyone explain why the Ethernet doesn't also use a 16bit data bus? Just curious.


I think it was off-the-shelf parts the original designer (Paul Fincato) selected. I think the over-riding criteria was working with the 68030 which is not very common for IO components.


OK, I grabbed a couple different versions of the datasheet. It looks like we're trying to run the RTL8019AS in 8bit ISA mode. But it's not entirely clear to me. As they say, the datasheet is "clear as mud".

So, does the Ethernet work with the CS fix? Does the driver work?

Guess I'd better grab all of the Gryphon software I can find and see what's there. And reread this whole thread again so I don't keep asking questions that were answered before.



Mike
Re: Gryphon 68030 [message #2008 is a reply to message #2007] Mon, 13 March 2017 02:55 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
mikemac wrote on Sun, 12 March 2017 17:40

OK, I grabbed a couple different versions of the datasheet. It looks like we're trying to run the RTL8019AS in 8bit ISA mode. But it's not entirely clear to me. As they say, the datasheet is "clear as mud".

So, does the Ethernet work with the CS fix? Does the driver work?

Guess I'd better grab all of the Gryphon software I can find and see what's there. And reread this whole thread again so I don't keep asking questions that were answered before.


Hi
The Ethernet and video represent the frontier of build and test of the Gryphon. Both had serious problems during in the original Gryphon board which were corrected in Xagdin. However Xagdin had some redesign and translation to KiCAD resulting different problems. I think Jackalope resolves those problems and we can finally get down to build and test of the complete package.

Tobster has a 68K Linux running on his 68030 home brew computer with apparently only 16MB DRAM. This gives me hope that we could port a minimal Linux to the Jackalope board as part of build and test. That would help open the doors to a lot more people participating.

[Updated on: Mon, 13 March 2017 03:01]

Report message to a moderator

Re: Gryphon 68030 [message #2009 is a reply to message #2008] Mon, 13 March 2017 05:43 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
One of the goals for Jackalope build and test is to thoroughly ring out the Ethernet and Video sections. We have a pretty good idea that the serial, parallel, and IDE are working. Ideally the full console (video, keyboard/mouse, audio, + RTC) can work together so the machine can be standalone.

I wouldn't want to compile a Linux kernel on it but some software development/testing should be possible.

Also Jackalope supports ATX case and power supply so it doesn't require a host PC or a bunch of bare PCBs on the workbench.

If we can get the full thing working and a minimal Linux ported (Tobster's or KISS-68030 as a starting point), I see good things for Gryphon.

[Updated on: Mon, 13 March 2017 05:46]

Report message to a moderator

Re: Gryphon 68030 [message #2019 is a reply to message #2009] Wed, 15 March 2017 02:54 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Still need one more person (at least) to get a board/build and test. If you've been looking to get involved in a home brew computer project or just like the 68K this is your opportunity! We need YOU
Re: Gryphon 68030 [message #2020 is a reply to message #2019] Wed, 15 March 2017 09:06 Go to previous messageGo to next message
davetypeguy is currently offline  davetypeguy
Messages: 41
Registered: November 2015
Location: Chapin, SC
Member
HI Andrew,

I'm in for the build. Not sure how much other help I can be, but I can certainly build the board and help test. Just let me know when and where to send the money.

Dave
Re: Gryphon 68030 [message #2022 is a reply to message #761] Wed, 15 March 2017 13:08 Go to previous messageGo to next message
tobster is currently offline  tobster
Messages: 11
Registered: June 2016
Location: Denmark
Junior Member
Hi all

I have been terribly busy the last months (baby boy now 8 months old and we have moved from our appartment to an old house), but I have been following the latest activity in this thread with great interest.

I would love to build and test the Jackalope board, but I simply don't have the time at the moment. I hope other builders will join the project. Let it be known that it is a very rewarding experience to see Linux succesfully boot on a homebrew 68K board Smile

If the CPLD based DRAM controller I have created for my T030 project can be of any use it would be great. And if others could help improve it, even better. In it's present form the DRAM controller does CAS before RAS refresh and basic read/writes with asynchronous DSACK generation. On the T030 I never got on to use the STERM signal. Burst mode access and DMA is not supported.

On the hardware side, I'd like to chime in on what others have also pointed out: fat wires/traces for VCC and GND for the SIMMs and plenty of electrolytic decoupling capacitors are mandatory. I seem to experience the same as John has described, if the T030 board has been switched off for some time it needs to "warm up" before the DRAM is stable. I guess the electrolytic capacitors need to be energized for some time before they reach stable operation. Leaving the system running I have managed to get more than 100 days uptime with Linux (until the ENC28J60 ethernet module died).

Let me know if I can be of any help to get Linux running on the Gryphon once the hardware is ready, even though I'm still a kernel newbee. That I got Linux running on my board, I mostly owe to Will's work with the KISS-68030.

Btw, I am VERY interested in the Alderaan project. The 68040/68360 combo looks really nice. I will definately want to build such a board when I get the time. Just looked at the 68360 documentation, whoa, it's not for the faint of heart...


Regards,
Tobias



Re: Gryphon 68030 [message #2023 is a reply to message #2022] Wed, 15 March 2017 14:02 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
Hi Tobias

Alderaan is taking a different approach. Using the mc68150 instead of the mc68360. You are right - we tried the 68360 and it is not for the faint of heart. I did get parallel port and serial to work but it was a bunch of magic to get coupled to 040 that was never clear so I abandoned that approach. I hope that I can use a scaled up version of your DRAM controller in the design. I will be starting a Alderaan thread once Andrew and I have more of the initial design fleshed out.
Re: Gryphon 68030 [message #2032 is a reply to message #2023] Thu, 16 March 2017 13:52 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi
Good news! We have the initial order of 5 prototype PCBs fully accounted for. However if more people would like to join the build and test I'll order additional boards.

There is one person from Vintage-Computer.com who would like to join so that means we only need another 4 people to get a board to justify an order of 10 prototype PCBs. Unfortunately easyEDA.com only sells in increments of 5 PCBs so the next increment is 10 PCBs.

If you are waiting to decide, I don't plan on ordering the PCBs until 25 Mar 2017 to give this latest iteration a chance to trace route optimize.
Re: Gryphon 68030 [message #2053 is a reply to message #2032] Tue, 21 March 2017 09:55 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
I have 2 68K questions not strictly related to Gryphon that i hope someone can answer:

1) I've read that the 68K takes minimum of 4 clock cycles for memory access. If the ROM/SRAM on the board has an access time roughly equal to the clock period, is there ever any reason to delay DTACK? Slow I/O devices may need some delays but fast ROM/SRAM should be ready long before the 68K is. Am I missing something?

2) For 8 bit I/O devices, there seems to be a wide variety of ways the 8 bit I/O devices is connected to the data lines. A lot of them seem to use the upper most byte on the data bus. The TS2 puts one 6850 on the high byte and the other 6850 on the low byte. Why do most people use the high data bus byte for accessing 8 bit devices?

Mike



Mike
Re: Gryphon 68030 [message #2054 is a reply to message #2053] Tue, 21 March 2017 10:22 Go to previous messageGo to next message
norwestrzh is currently offline  norwestrzh
Messages: 196
Registered: November 2015
Senior Member
1) I've read that the 68K takes minimum of 4 clock cycles for memory access. If the ROM/SRAM on the board has an access time roughly equal to the clock period, is there ever any reason to delay DTACK? Slow I/O devices may need some delays but fast ROM/SRAM should be ready long before the 68K is. Am I missing something?

If you can find a copy of the Wilcox 68000 book, take a look at Figs. 7.12 and 7.16. The address bus isn't stable until the middle, or end, of the first clock cycle, and the address strobes (used for most memory access) aren't stable until the middle of the second clock cycle. The decision to assert DTACK* has to be made before the middle of the third clock cycle. So there is really only one clock cycle for data access.

2) For 8 bit I/O devices, there seems to be a wide variety of ways the 8 bit I/O devices is connected to the data lines. A lot of them seem to use the upper most byte on the data bus. The TS2 puts one 6850 on the high byte and the other 6850 on the low byte. Why do most people use the high data bus byte for accessing 8 bit devices?

I don't think there is any actual technical reason to choose the high or low data byte for 8-bit access. Maybe just convenience? One would require using even addresses, the other, odd addresses (for the 8-bit device). MOVEP can be used for 8-bit devices, and I don't believe there is any advantage for either even or odd addresses.

Roger
Re: Gryphon 68030 [message #2055 is a reply to message #2053] Tue, 21 March 2017 10:46 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
Well

1) most of the ROM/RAM that are used are not all the fast (70 ns) compared to 40ns clock on 25MHz 030 and there are some minimum setup and hold times so I think it more safe than sorry. Also generating DTACK is generally done with a shift register and it is not easy to generate a 0 wait that way.

2) Remember this is a big endian architecture. If you don't put data on D24-D31 then you will end up having to shifts and masking to extract data. Much easier to just to mov.b <ioregster>, d1
and be done with it.
Re: Gryphon 68030 [message #2058 is a reply to message #2055] Thu, 23 March 2017 05:44 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Hi, just a quick update on progress. The PCBs are finishing trace routing and I will order them this weekend. If there are any late breaking questions or comments please let me know. Thanks, Andrew Lynch
Re: Gryphon 68030 [message #2080 is a reply to message #2058] Sat, 25 March 2017 06:30 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Well, bad news everyone. The PCB in FreeRouter is corrupt and has to be restarted from the beginning. I am going to restart but it will take another two weeks to run these trace routing jobs.

I checked the trace routing in FreeRouter and somehow it decided to place traces on a power plane layer. Not just a couple but many and weird ones that are superfine almost zero width. Of course due to some other unknown bug when you back import the PCB traces into PCBnew if you try to re-export them back to FreeRouter they are full of clearance violations so they are useless. I think the problem is I defined the inner two layers as power layers (no traces) and FreeRouter got confused and started applying traces anyway. So they are corrupt and useless and cannot be salvaged. I have gone back to PCBnew and defined the PCB as 2 layer and exported to FreeRouter to start over. Once they are complete (in two weeks) I will back import them to PCBnew and manually add in the two power plane layers. Hopefully that will work.
Re: Gryphon 68030 [message #2083 is a reply to message #2080] Sat, 25 March 2017 08:03 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Geez, what a bummer! Well important lesson learned though is 4 layer PCBs are really just 2 layer PCBs with extra GND and VCC planes. If FreeRouter can put traces on a layer it will so be careful. I have started over with the PCB as a 2 layer in FreeRouter and will back import to PCBnew and manually convert to 4 layer.

What sucks is the Jackalope looks to be an incredibly loose board but it still starts out with 657 vias before optimization. It was down to 416 but no I know it was "cheating" but routing traces on a power layer. ARGH!
Re: Gryphon 68030 [message #2095 is a reply to message #2083] Sat, 25 March 2017 16:19 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
That's got to be a punch in the gut, after all that work and waiting. Hopefully it's come out right this time. Good luck!

Do any of the 68K designs have a periodic interrupt aka jiffies? I'm used to seeing a 100Hz timer to run the scheduler off of.



Mike
Re: Gryphon 68030 [message #2096 is a reply to message #2095] Sat, 25 March 2017 18:07 Go to previous messageGo to next message
jcoffman is currently offline  jcoffman
Messages: 332
Registered: October 2015
Senior Member
The MF/PIC board, required by the Mini-M68k and KISS-68030 CPU boards, has timers within the NS32202 chip. The BIOS and CP/M-68 use one of the timers for time-of-day maintenance. I would presume that Linux makes use of these timers as well.

--John
Re: Gryphon 68030 [message #2097 is a reply to message #2096] Sat, 25 March 2017 21:05 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
OK the NS32202 must right the interrupt level on the data bus during the ack cycle since only B_/INT and B_/NMI are the only interrupt signals used by the mini-m68k and kiss68030 boards.

I still can't find a periodic timer in the Jackalope design. I hope I'm just missing it because if it's not there, that would be "a bad thing", IMNSHO. Sad

Thanks for giving me the hint as how the mini-m68k and kiss68030 work via the mfc-pic!



Mike
Re: Gryphon 68030 [message #2098 is a reply to message #2095] Sun, 26 March 2017 02:25 Go to previous messageGo to next message
tobster is currently offline  tobster
Messages: 11
Registered: June 2016
Location: Denmark
Junior Member
mikemac wrote on Sun, 26 March 2017 00:19


Do any of the 68K designs have a periodic interrupt aka jiffies? I'm used to seeing a 100Hz timer to run the scheduler off of.


On the T030, I use timer A on the 68901 MFP to generate the timer interrupt for the scheduler. Without a timer interrupt, the Linux kernel will be stuck at "Calibrating delay loop...". The timers in the 68901 are only 8 bit, so any timing related stuff is very unprecise and the clock drifts like mad (no RTC on the simple T030 board).

The Jackalope board has a 68230 used for the parallel port. According to the data sheet, the 68230 also has a 24 bit timer. I assume this could be used for the timer interrupt.

/Tobias
Re: Gryphon 68030 [message #2100 is a reply to message #2097] Sun, 26 March 2017 08:32 Go to previous messageGo to next message
yoda is currently offline  yoda
Messages: 125
Registered: October 2015
Location: Cedar Rapids, IA
Senior Member
mikemac wrote on Sat, 25 March 2017 23:05
OK the NS32202 must right the interrupt level on the data bus during the ack cycle since only B_/INT and B_/NMI are the only interrupt signals used by the mini-m68k and kiss68030 boards.

I still can't find a periodic timer in the Jackalope design. I hope I'm just missing it because if it's not there, that would be "a bad thing", IMNSHO. Sad

Thanks for giving me the hint as how the mini-m68k and kiss68030 work via the mfc-pic!


Look at the 68230 - it has programmable timers in it so Jackalope has a periodic timer.
Re: Gryphon 68030 [message #2101 is a reply to message #2098] Sun, 26 March 2017 09:18 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
I was guessing that the MFP on the T030 had a timer in it. I was hoping that one of the Jackalope I/O chips would also have a timer but I couldn't guess which one. I'm glad it does though for precisely the reason you stated, getting stuck in calibrating jiffies. My current design doesn't have a timer yet. So I was looking to see what the other designs used. Unfortunately for me, none of them really help since I'm trying to use only new parts I can order from Digikey. So I'll have to find my own solution, probably a RTC of some sort. Or maybe just a 100Hz oscillator hooked up to IRQ1. Smile

LynchAJ, freeroute crashed on me last night so it's not just you. Luckily I was just experimenting with how to place a bunch of RAM/ROM chips for the "best" results. So no real harm to me but it does remind us that freeroute isn't perfect.



Mike
Re: Gryphon 68030 [message #2102 is a reply to message #2101] Sun, 26 March 2017 09:47 Go to previous messageGo to next message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
Save early, save often
Re: Gryphon 68030 [message #2114 is a reply to message #2102] Mon, 27 March 2017 09:18 Go to previous messageGo to next message
mikemac is currently offline  mikemac
Messages: 250
Registered: March 2017
Senior Member
lynchaj wrote on Sun, 26 March 2017 09:47
Save early, save often


If it will let you! Sad

This morning it hadn't crashed, just hung. Not using any CPU cycles but still up. Won't stop autorouting but GUI responds. Saving the session file fails. "Save and Exit" quits but doesn't save.

And now every time I start freeroute up, Java Runtime Environment gets a SIGSEGV! Sad



Mike
Re: Gryphon 68030 [message #2115 is a reply to message #2114] Mon, 27 March 2017 09:30 Go to previous messageGo to previous message
lynchaj is currently offline  lynchaj
Messages: 1080
Registered: June 2016
Senior Member
mikemac wrote on Mon, 27 March 2017 12:18


If it will let you! Sad

This morning it hadn't crashed, just hung. Not using any CPU cycles but still up. Won't stop autorouting but GUI responds. Saving the session file fails. "Save and Exit" quits but doesn't save.

And now every time I start freeroute up, Java Runtime Environment gets a SIGSEGV! Sad


FreeRouter is nothing if not very frustrating to use. There are multiple distributions of FreeRouter and some are more stable than others. I would keep trying them until you find the one that doesn't crash on your system. I just launch the FreeRouter.jar file from my KiCAD bin directory straight from the command prompt and it seems to work fine.

The thing with FreeRouter is that if it can't solve on its own within 20 passes then your PCB is almost certainly not going to converge on its own. You might be able to manually force it to converge but it will be such a mess it will take forever to trace route optimize. After a while, you start to like big loose boards like Gryphon since it converges on its own and optimizes quickly. Some of the past boards I worked on were a nightmare to trace route and optimize and they'd stay in for weeks with only so-so results. It would have been faster to manually trace route the entire thing.

[Updated on: Mon, 27 March 2017 09:33]

Report message to a moderator

Previous Topic: SBC VER 2 First Build with K13 next to ECB Connector
Next Topic: My 6809 board: MAXI09


Current Time: Mon Sep 29 14:01:39 PDT 2025

Total time taken to generate the page: 2.73592 seconds