English Amiga Board


Go Back   English Amiga Board > Support > support.Hardware > Hardware mods

 
 
Thread Tools
Old 12 June 2018, 12:39   #41
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
So I've checked the logics, everything seems OK. I have then started debugging GAL chips as they were rather flaky when programming. Sometimes verify failed, sometimes the chip just would not program at all. Ordered a bunch of ATF replacements, still no good.

Anyway, the RST GAL (U401) is OK, providing the CPU with nice clean reset.

Next the BCTL (U209, -3 revision) also appears working, as 060 requests and gets the bus access just fine, according to what is seen with /BR, /BG and /BB lines.

Then the reset exception processing should start as far as I get it. The 060 would read two long words, starting its first memory access cycle with /TS signal. This leads to BUSTERM (U205) which should convert 040 style cycle to 020 one, with separate /AS and /DS strobes etc. The cycle should be terminated to the CPU with /TA. However the cycle would never end, with the first /TS strobe after reset being the only one monitored.

So I've tapped the BUSTERM GAL to see what was going on with its output signals, namely /AS040, /BS040 and a couple of unused ones, which together form 4-bit states in a simple state machine inside U205, according to the sources. Quite naturally, all four lines stay at 1111 (all inactive) which means the state machine is stuck at initial 'sidle' state (http://www.thule.no/haynie/cpumods/a...v0/busterm.pld)

The only thing that should switch from 'sidle' to 'ts_reg' state is the combination of '(ts # cycpend) & bgack040'. The same very condition is present in BUSCON (U204) and appears to work there. The input signals are present at both U204 and U205.

So I have checked the U205, verified it has been programmed correctly with 391471-01 and even set it on a breadboard bench with external stimuli in order to see any activity on its outputs... to no avail. I'm pretty stuck here to be honest. Any ideas and input are much appreciated.
tnt23 is offline  
Old 15 June 2018, 09:01   #42
Mathesar
Registered User
 
Mathesar's Avatar
 
Join Date: Aug 2014
Location: Netherlands
Posts: 695
Anyone?


Still haven't build mine but as I will be using it in a 3000 as well I am very interested in TNT32's problem.
Mathesar is offline  
Old 16 June 2018, 10:49   #43
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
'smee again. Upon a close inspection the U205 contents turned out to be wrong, shifted by one bit. Somehow the GALblast software did not signal verification error on this. I have re-flashed U205 anew and checked the readout to match original file almost byte by byte. Now the access cycle terminates properly at least for reset vector exception handling.

Sorry for the panic! Yet need to check other GALs thoroughly.

UPD reflashed U207 (OEBUS) due to no activity on OE pins, now the CPU is reading something.

Last edited by tnt23; 16 June 2018 at 18:07.
tnt23 is offline  
Old 16 June 2018, 14:56   #44
Chucky
Registered User
 
Chucky's Avatar
 
Join Date: Mar 2015
Location: Karlstad / Sweden
Age: 52
Posts: 1,210
So. bad GAL... yes there are a lot of GAL programmers out there making strange stuff.

I got soo fed up with my TL866 So I got a Superpro instead. 500eur but just WORKS
Chucky is offline  
Old 17 June 2018, 22:29   #45
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
(Cannot afford spending that much money on a programmer just for GALs)

LA shows the CPU does two quick long reads and then goes fetching with big timeouts (9us). I suspect second long read which puts ROM start address to PC is not right. Tapped data bus on CPU side and got first two longs as FF 14 4E F9 and FF F8 00 D2. Looks like first 32-bit values from DiagROM except for the high byte.

This boils down to LEBUS(0) line from U208 LEBUS GAL. To be continued.
tnt23 is offline  
Old 09 July 2018, 08:41   #46
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
Turned out I kept flashing wrong JED to U208 LEBUS GAL. After replacing it with the known good one (taken from http://www.amigawiki.de/doku.php?id=...s:pld_download), the board works just fine.

Big thank you John for work done on A3660 PCB and DiagROM.
tnt23 is offline  
Old 09 July 2018, 19:54   #47
Mathesar
Registered User
 
Mathesar's Avatar
 
Join Date: Aug 2014
Location: Netherlands
Posts: 695
Where did you get the "wrong"LEBUS jedec file?
I am planning to use the ones from Chucky's page.
Mathesar is offline  
Old 10 July 2018, 08:21   #48
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
Quote:
Originally Posted by Mathesar View Post
Where did you get the "wrong"LEBUS jedec file?
I am planning to use the ones from Chucky's page.
I was using files from John's page, too. I suspect I might overwrite the file in question by mistake when reading out different GALs (GAL16V8 and ATF16V8) using TL866 software.

Perphaps you might want to binary compare the files, just to be sure.

Update. Did downloaded files from both sites, binaries are fully identical. This must have been my very own personal luck

Last edited by tnt23; 10 July 2018 at 09:13.
tnt23 is offline  
Old 11 July 2018, 14:47   #49
Chucky
Registered User
 
Chucky's Avatar
 
Join Date: Mar 2015
Location: Karlstad / Sweden
Age: 52
Posts: 1,210
When it comes to GALs I have noticed that some programmers sucks BADLY in handling them. my TL866 simply program crapdata sometimes. verify pass. but if I load another file. program, it. loads the old file bac and THEN verify it will not pass anymore (and I never enctrypt GALs)

my Superpro 610S just works flawlessly! but that is a $500 programmer
Chucky is offline  
Old 11 July 2018, 16:03   #50
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
I've got an Amiga 1000 stuck in the US, probably instead of trying to ship it overseas I should sell it and buy $500 programmer :-)

On a serious note though. At some point I was thinking of pulling GAL programming algorithms from GALblaster software and making a cheap parallel port hack of it for Amiga.
tnt23 is offline  
Old 12 July 2018, 12:39   #51
Mathesar
Registered User
 
Mathesar's Avatar
 
Join Date: Aug 2014
Location: Netherlands
Posts: 695
I will use this programmer I salvaged from the garbage bin:

http://www.artbv.eu/support/programmers/up1/index.htm

Works only on Windows XP but it supports a lot of chips
Now I only hope that my ebay chinese PLCC to DIP converter is not messed up...
Mathesar is offline  
Old 13 July 2018, 09:08   #52
tnt23
Registered User
 
tnt23's Avatar
 
Join Date: Feb 2008
Location: Saint-Petersburg / Russia
Posts: 324
Quote:
Originally Posted by Mathesar View Post
I will use this programmer I salvaged from the garbage bin:

http://www.artbv.eu/support/programmers/up1/index.htm

Works only on Windows XP but it supports a lot of chips
Now I only hope that my ebay chinese PLCC to DIP converter is not messed up...
My PLCC-DIP boards also came from China in a set with PLCC extractor, worked like a charm. At least your programmer works in Windows XP, I had to run Windows 95 on an LPT-equipped laptop

So far my A3660 runs rock solid, there is however an issue with SCSI2SD random failures. They are certainly not related to A3660 as I have seen them with original A3640, too. Wonder if a mysterious 'DMA FIX' can be applied, or just ditch SCSI entirely.
tnt23 is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
My 17th birthday present Retroplay Nostalgia & memories 36 06 June 2012 07:54
No Scroller 2 present in AC77 disks MethodGit AMR data problems 1 05 November 2010 14:50
My xmas present to myself! DoogUK Hardware pics 27 09 January 2009 22:37
Colgate... game not present... Shoonay HOL suggestions and feedback 2 20 August 2004 18:16
A little present Uukrul Amiga websites reviews 2 26 September 2001 00:38

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:37.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.12122 seconds with 13 queries