AMIGA alive

AMIGA alive
Showing posts with label terriblefire. Show all posts
Showing posts with label terriblefire. Show all posts

Thursday, August 8, 2019

Building the TerribleFire TF530 accelerator, part 6: Faster! Hotter!

With a little more experience and new information gained, there was something left to do...

Disclaimer: This is not an instruction. Use at your own risk. No responsibility taken for whatever you do. Safety first. Kids, dont try this at home. 

32MHz might not be too shabby, but then it's a weird number, and the TF530 is capable of more. It's been quite some time since I built my TF530. In the meantime Mr. Leary has released new firmware versions, improving the accelerator's compatibility with higher clock rates (among other things, probably). So the day had come to try a little tweaking.

First of all I had to test the latest firmware release. I fired up my laptop running Xilinx's CPLD programming software, connected the USB-cable to one, and TF530 5V power input to another USB port on the laptop. Surprise: The Amiga boots! It pulls enough power from the laptop's USB port to boot to Workbench! And of course the laptop (running Windows) complains about a USB device pulling way too much power! Ok, I'd better disconnect the power, remove the TF530 from the Amiga, reconnect, and try again...

Faster!


Without any changes to the TF530 I uploaded the latest software to the CPLDs. Hm, not bad! Worked flawlessly, and SysInfo shows a little speed increase of about... 3%! Not precisely earth-shattering, but a welcome improvement.

From ~5800 Dhrystones to ~6000 just by firmware update!

I had never thoroughly tested the memory chips, and the new firmware needed something to do, so I started Microbotic's excellent MBRTest-2 memory testing program, and ran a couple of tests. To my surprise there were no errors - my handling and soldering of the memory chips was fine from day zero!

No RAM errors, very good!
So far, so - very - good. I had seen some accelerator configurations where the 68030 had been overclocked by about 25%, and the FPU on my TF530 is a 40Mhz model anyway, so, yeah, why not try 40Mhz on the 33Mhz CPU?

33Mhz CPU and 40MHZ FPU - will they run fine at 40MHz?

Replacing the tiny SMD type 32Mhz oscillator with a 40Mhz one requires some fiddling if you don't have a heat-gun, but these oscillators seem to be quite tolerant to heat, and I managed to do it using a soldering-iron without any visible damage. After some cleaning it was time to switch the Amiga on, and see how she does...

~7500 Dhrystones!

Hotter!


Once again, to my surprise, this worked flawlessly! Wow, running at 40Mhz we get about 7500 Dhrystones in SysInfo! The 68030 is getting a bit hot - I'll be adding at least a small heatsink just to avoid unnecessary stress on the material.

TerribleFire 530 with CF card adaptor inside the "Amiga 530"

As a final touch to my "Amiga 530" I wanted to delete AmigaOS3.9 from the CF card, and reinstall OS3.1. With some little adjustments OS3.9 ran quite well on the machine, but it's still comparatively resource-hungry, and in some parts unnecessarily bloated, thus slow. Installation of OS3.1 - no surprise here - was quick and worked flawlessly, too. Another reset, and...

...the Amiga now boots to Workbench in about 9 seconds!

This is really good. I could try to get a 50Mhz CPU and install a 50Mhz oscillator - the 40Mhz FPU should be able to take that (the 33MHz CPU probably not so much...) - but for now I'm really perfectly satisfied with the performance. Firmware update, plus faster clock, plus operating system downgrade really make a difference. I'm assuming an added heat-sink will make the setup safe and stable in the long term.

Now will THIS be the last part of the series of articles about "Building the TerribleFire TF530 accelerator"? Who knows. Probably not! There's still so much to experiment with - we haven't even touched the SPI port yet!

Once again a huge Thank You! to Mr. Stephen Leary for developing and releasing this awesome accelerator!




Overview and back catalogue of the series:
http://amigaalive.blogspot.de/p/hardware-building-terribefire-tf530.html

Wednesday, December 13, 2017

Building the TerribleFire TF530 accelerator board, part 5: Testing. More testing. And... happiness.

I'm learning new things about the TF530 almost daily...

Documentation is a problem when trying to build these accelerators: there's no place where you can quickly look up how to do something. Instead you have to dig through Stephen Leary's hour-long videos on YouTube, or a single endless thread on English Amiga Board, or ask in forums. Which is not a bad thing, but it's very inconvenient if you want to make progress. That's why I created some sort of "user manual" for the TerribleFire boards: https://amihelper.blogspot.de/p/terriblefire-accelerators.html

Anyway, what's happened since part 4 of this series?

Full setup with CF-adaptor and -card
Things were actually looking pretty good. I've been using a 24Mhz oscillator to build the board, and the original firmware (from a "rev. 2 final" GitHub checkout). But I wanted to rev up the board a little... Other people are using clockrates of 36, 40, or 50 Mhz. And then there are a couple of new revisions of the firmware. And in one or the other way these have to match. I've tried a 40MHz oscillator, and two other (apart from the original) versions of the firmware. Then there's the IDE controller. Simply plugging in an IDE cable - without any device attached! - changes the A500's behaviour in combination with the 40MHz oscillator. Exchanging the 1.3 Kickstart ROM for a 3.1 one made a difference once again. Lots of testing, and lots of glitches, and more testing, and more glitches: mousepointer uncontrollable, random crashes, boot picture gone, ...

It seems that the 33Mhz 68030 doesn't like overclocking very much - but with a 32MHz oscillator (33Mhz oscillators seem to be rare), it now runs stable! I expect a few more issues - like checking RAM soldering points - but for now I declare it "working fine". It boots quickly from the 512MB CompactFlash card attached, and with the additional 2MB of RAM on the TF530 and the new 3.1 Kickstart ROM the A500 is now an up-to-date, very usable Amiga!

Yesss! I am __very__ happy with it. :-)

SysInfo speed test with the 32MHz oscillator installed
Nice to have: an LED on the CF-card-adaptor

An "in progress" conclusion


From a personal perspective, I can say that I've learned a lot. I mean: A LOT. Stephen Leary's videos give a huge amount of information, and by building the accelerator I've expanded my set of tools, improved my soldering skills, and gained some knowledge about the parts used. Overall, for me it's a huge step forward in understanding the inner workings of Amiga computers, the TF530, and electronics in general.

And of course the Amiga 500 got a huge update, it's a completely different machine now. For a very reasonable (money-wise) price.

So the whole process is a massive success for me. :-)

No outside signs of the changes on the inside... :-)

Still, there are a few things to keep in mind about the TF530 accelerator and the build process: First of all it takes an insane amount of time to build, if you don't know what you're doing beforehand. I certainly didn't. There was a lot of research involved, on all levels. Secondly, the TF530 is clearly not an industrial-grade product: it's an "in progress" project, a moving target. You have several options when it comes to CPU and oscillator, and these have some interdependence with the firmware releases, which are still going on. The physical layout of the TF530 isn't perfect, you (may) need a relocator board to fit it into your Amiga, you (may) need to use specific connectors, and still it fits only barely between the Amigas other components and casing. For example, adding a Kickstart-switch may turn out to be quite difficult now with the TF530 in place.

But all these quirks don't change a simple fact:

It's effin' great! 
Awesome!
Amazing!
Magnifique!

Thank you, Mr. Stephen Leary!

Thank you very, very much for sharing,
and lighting up the TerribleFire!



So far, so good. I currently consider this to be the last entry in my little series about building the TerribleFire 530 accelerator board. But who knows. And there's so much more to do... maybe a TF328?

Overview and back catalogue of the series:
http://amigaalive.blogspot.de/p/hardware-building-terribefire-tf530.html

Saturday, October 28, 2017

Building the TerribleFire TF530 accelerator board, part 4: Software and Installation

Handling ~40GB of downloaded installation archives is not for the squeamish. And I built the M68000 CPU socket connector. And then there comes the moment of truth.

Disclaimer: This is not an instruction. Use at your own risk. No responsibility taken for whatever you do. Safety first. Kids, dont try this at home. 


That's what she looks after cleaning.

Now that I have a complete TF530, it's time to upload the firmware to the Xilinx CPLDs. Wow, Xilinx really offers a lot of software for download. (And US export regulations are weird.) Picking an older, smaller (3.5GB) version of Xilinx ISE for Linux from their website didn't work out, does not recognize my Diligent-based "Xilinx Platform Cable USB" JTAG interface. Trying Windows version, no success.

Nope, this one wouldn't do the job. Need more software.


Next Linux version (8.0GB) didn't work, too. Trying Windows version, no success. I've downloaded about 25GB so far... Well, long story short: A few days and a few more versions later, namely 14.6, there's a new button in Xilinx ISE's GUI: Diligent USB device. Yay. Finally. Job done, nerves wrecked.

Connecting the JTAG cable, and uploading the firmware then worked flawlessly.


Plug it in!


I'll be installing the TF530 into an Amiga 500. The TF530 has to be connected to the M68000 CPU socket on the mainboard. My first thoughts were to build something using wires, but that would leave the TF530 floating around the Amiga's casing, requiring some support. So I decided to go with the "68000 Relocator" board and build some connector from standard 2.54mm-grid pin headers soldered to it. The CPU socket on the mainboard is pretty flat, and it turns out that when using these pin headers you have to solder them to the "68000 Relocator" just at the tip, lifting up the board from the CPU socket as far as possible. And of course we don't want to damage the CPU socket by inserting wide pins into the very narrow CPU-pin slots, so the pin headers need some filing! Only next time I will do the filing before soldering the TF530 to the Relocator board, saves a lot of cleaning... But I'm quite pleased with the results, and it looks as if I can still - should I ever need to do so - put the M68000 CPU back into the socket and its pins will make proper contact.

Final step of installation is to connect the TF530's "A500" header to the Amiga 500's expansion port. "OVR" to pin 17, and "INT2" to pin 19. A small 2-pin header can (and probably should) be installed there, to be able to unplug the TF530 and the wires. I created it from two individual pins, because the distance between the soldering points on the mainboard is less than 2.54mm. Now that we have pin headers on both ends, a connector cable with two individual plugs on one end and a 2-pin-plug on the other, will certainly come in handy.

The INT2/OVR header, and building the connector cable.
What's left to do? Nothing!

Turn it on!


I have to admit this is quite a moment. I started this journey about nine months ago. This is the moment of truth. I'll have a bottle of cold beer ready to go. With a display and the PSU connected, I'm powering up the Amiga...

The TF530 fully installed. Will it work?

And...

...nothing. Black screen. No floppy clicks.

Maybe we should install some jumper at "CLOCKSEL".
Let's try again.

And...

https://www.youtube.com/watch?v=QuoKNZjr8_U


 ...it's alive!


Now where's that bottle of beer?


Next time we'll see how she really does - watch out for part 5 of our series "Building the TerribleFire TF530 accelerator board"!


Overview and back catalogue of the series:
http://amigaalive.blogspot.de/p/hardware-building-terribefire-tf530.html

Saturday, September 16, 2017

Building the TerribleFire TF530 accelerator board, part 3: Parts inspection, and soldering

Let's see what we've got. And how we're gonna put it together. This one had a little surprise for me.

Disclaimer: This is not an instruction. Use at your own risk. No responsibility taken for whatever you do. Safety first. Kids, dont try this at home. 

Parts and BOM, and the shiny blue PCB.
It looks like I haven't missed much so far. Everything required to populate the board is there (except for the CPU socket connector, for which some substitute will be built), and I'm still able to identify the individual components! :-)

Parts and tools.
So, with Stephen Leary's instructional video (see below) on my computer's screen, I started soldering. May I note that not only does his video provide helpful and important information and hints, but also is a pleasant accompaniment when working on the TF530.

Soldering the first SMD chip on to the board quickly resulted in the chip being roasted, and the PCB damaged. Lol. Surprise. It turned out to be waaaaaay more difficult than I had expected.

Working with tiny SMD components poses some unexpected problems. For example if you're used to soldering hole-though parts you will most likely use way too much solder on your first attempts. Well, I did. Then, when you got used to using really very little solder, you find out that you cannot easily suck away the solder if you've made a mistake, because the amount of solder is too little for the desoldering pump to work on. Then you may learn the painful way that tiny PCB chip pins are reeaaally weak, you have to treat them really gently. And finally, when checking results of your soldering, you may find out that your grandma's magnifying glass does what it's supposed to do - to magnify - but it's scratched or unclear, and really creates more confusion than it does help.

First chip in place. Dirty, but undamaged!
But after some practicing with the damaged board and chip, things looked better. I learned to use the right amount of solder, the right amount of soldering flux, and to move the soldering iron at the right speed, and started working on a new board - with far better results.

More components.
After some hours of focused soldering and (visual) checking it looks as if my first TF530 might soon be ready for testing.

TF530r2 fully populated!
She's currently no beauty and needs some serious cleaning, but she makes her owner very proud. :-)

If you wanna try to build one, here's Stephen Leary's first "how to" video (we're still waiting for the second):

https://www.youtube.com/watch?v=xG_5oDeLdGE

Next time we need to find out if she's alive - watch out for part 4 of our series "Building the TerribleFire TF530 accelerator board"!

Overview and back catalogue of the series:
http://amigaalive.blogspot.de/p/hardware-building-terribefire-tf530.html

Wednesday, July 26, 2017

Building the TerribleFire TF530r2, Part 2: Obtaining the components

So I've made the descision to try to build a TerribleFire TF530r2 accelerator. The TF530 uses SMD components, which are really small, but the overall number of components is quite low. Based on that, I decided that with good eyesight and accepting some fail-rate it should generally be possible to build the thing.

Disclaimer: This is not an instruction. Use at your own risk. No responsibility taken for whatever you do. Safety first. Kids, dont try this at home. 

Parts and cost


As we know, the docs of the TF530 can be found at: https://github.com/terriblefire/tf530

The readme file contains a BOM (bill of material), of which columns 2 to 4 are relvant for component indentification. It takes some time to get used to specifications and naming. When looking for parts, keep an eye on the "Package" (column 4 of BOM), which in some cases describes the required type (shape/layout/...). Also sometimes you will find out there are variations of components, like for industrial use, made of different material, etc., which are identified by some suffix appended to the name given in the BOM. Finding the matching socket for the 68030 CPU can also be a bit tedious, it has a special layout.

And of course there's the PCB (circuit board) itself, which you can order from dirtypcbs.com: http://dirtypcbs.com/store/details/1330/tf530-rev2b-zip

After hours of searching the internet, I got this impression:
- the PCBs are really cheap
- parts are generally available
- some parts seem to be a bit rare and can only be ordered from one or two retailers
- few parts are cost relevant: CPU, FPU, sockets for CPU and FPU, and SRAM
- the socket / connector to the Amiga's original CPU socket is a critical part that's rare, thus comparably expensive

I decided to go with a 33MHz 68030RP CPU, 40MHz 68882 FPU, and will not use industrial parts, which cost more and are probably more reliable, but I'm assuming there are no extreme temperatures etc. on the TF530. For the 68000-socket connector I'll try to modifiy some other pin connector (2.54mm pin grid).

It turns out that including shipment from different retailers we're still in the "around 100EUR" range for a complete accelerator board, which is an acceptable risk.

So I placed my orders.

Sources


TF530r2 PCB (circuit board) from dirtypcbs.com:
http://dirtypcbs.com/store/details/1330/tf530-rev2b-zip
You probably want to order a "Protopack (+/-10)" which is the cheapest option, and gives you (about? +/-?) 10 boards to play with.

I ordered most of the parts for the TF530r2 from these retailers:
http://www.tme-germany.de
http://www.reichelt.de
http://www.darisus.de
http://www.conrad.de
http://www.mouser.de

68030 CPUs and 68881 or 68882 FPUs are available on eBay.

Additionally, I ordered one or two individual parts via eBay directly from China if there was a good offer.

Special thanks to the very friendly and helpful guy at CONRAD store (Munich, Moosach) who recommended to buy a soldering station and gave lots of information, you're doing a fantastic job


Delivery & Conclusion


The overall time spent on obtaining the parts has to be somewhere around 20hrs, for research, talk, orders, and purchases at local stores. 10 weeks went by from placing the first order to receiving the last one.

Everything arrived properly packaged, and hopefully it's the correct parts... I'll just have to trust them on this. ;-)

Blue TF530r2 PCBs look great, my "protopack (+/-10)" contained ten pieces. On first visual inspection one of them that has a tiny flaw between two IC soldering pads - maybe that's the "Protopack (+/-10)" option? Less quality control than ordering "10" (pieces)? I'll be using that flawed one for some SMD-soldering warm-up practice.

Overall I had one or two issues with the ordering process, but I'm pleasantly surprised how well everything worked, including resolving these issues.

Next time we'll see what we've missed so far, and be doing our first soldering tests - watch out for part 3 of our series "Building the TerribleFire TF530 accelerator board"!

Overview and back catalogue of the series:
http://amigaalive.blogspot.de/p/hardware-building-terribefire-tf530.html

Wednesday, May 31, 2017

Building the TerribleFire TF530 accelerator board, part 1: Introduction

Stephen Leary's TF530 accelerator board for the Amiga 500 is a nice piece of hardware for several reasons. It's low-cost, open-source, fast, has an IDE controller, and a great name.

Why not build one youself?

Disclaimer: This is not an instruction. Use at your own risk. No responsibility taken for whatever you do. Safety first. Kids, dont try this at home. 

You need some proper tools, and should have some good soldering experience - SMD parts are really small... And you need some patience and knowledge to find the components.

For starters, check the video below, where Stephen shows the first steps in building it "from scratch".

"TFV#45 - Building Your Own 68030 Amiga 500 Accelerator - SMD Components"


https://www.youtube.com/watch?v=xG_5oDeLdGE

Find basic information, PCB layout, bill-of-material and software on Stephen's github account:
https://github.com/terriblefire/tf530

(Note: Stephen is still working the board, releasing updated revisions. Make sure you check board revisions, bill-of-material, and information accordingly.)

Also keep an eye on his YouTube channel, he releases new videos quite often, giving updates on his developments, explaining details of his boards, or even reviewing user boards:
https://www.youtube.com/channel/UCu4uiUtALy1ILAxNh7TGsmQ

If you need more information, you should watch Stephen's videos, and get in contact with other users via the "Terrible Fire Accelerators" thread on EAB / "English Amiga Board":
http://eab.abime.net/showthread.php?t=85380

Now let's see if we can build the TF530 - watch out for part 2 of our series "Building the TerribleFire TF530 accelerator board"!


Overview and back catalogue of the series:
http://amigaalive.blogspot.de/p/hardware-building-terribefire-tf530.html