03 March 2016, 08:28 | #461 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
True, the good news from him was that there was no need to ship anything back to have it fixed, thus it was not a hardware issue. So it can only be a software issue which can be fixed 'remotely'.
|
08 April 2016, 13:59 | #462 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
Today I upgraded my a3640 from rev 3.0 (with cut'n'jumper patch) up to full 3.2 revision.
Nak timeout still apear in zIII mode. |
06 May 2016, 23:51 | #463 |
Posts: n/a
|
Does anyone know if the RapidRoad works with an A3640 with an 060 installed?
|
06 May 2016, 23:58 | #464 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
Dunno, but I am about to test this as soon as I get hold of a 060..got the adapter ready to plug in. I have my doubts though.
|
08 May 2016, 11:12 | #465 |
electricky.
Join Date: Jun 2010
Location: out in the wild
Posts: 1,256
|
Current investigation has shown that IRQs get switched off by "some software" in Z3 mode. It's a bit tedious to find that piece of software, as it does not seem to be anything in the driver itself.
If all else fails, I can probably make a fix in the hardware (CPLD programming) that keeps IRQs enabled all the time (i.e. make it a "write-once" register). However, I prefer to solve a problem at the cause, and not to fix the symptom. Jens |
08 May 2016, 12:20 | #466 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
By "some software" you mean stuff we have installed not related to RR?
|
08 May 2016, 12:27 | #467 |
electricky.
Join Date: Jun 2010
Location: out in the wild
Posts: 1,256
|
I can't point to anything right now. The current state of investigations is that after the IRQs have been enabled, they get disabled again. It'll be quite some work to pinpoint the source - that's WIP.
Jens |
08 May 2016, 12:43 | #468 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
Ok.
Wouldn't it be possible to make a little code snippet that turns the irq on again as a patch? Or is it something that bangs the irq off constantly? For the record I think all of us have installed things from scratch.. so the os might be the culprit? |
08 May 2016, 13:50 | #469 |
Registered User
Join Date: Dec 2014
Location: Netherlands
Posts: 1,406
|
For those facing the issue and having enough technical knowledge. Can they somehow help you pinpoint the cause Jens?
|
08 May 2016, 15:31 | #470 |
electricky.
Join Date: Jun 2010
Location: out in the wild
Posts: 1,256
|
Even if you'd have the technical knowledge and equipment, you could not help as much as my logic analyzer can do: I can use free pins of the RapidRoad CPLD to trigger the logic analyzer if the IRQ enable bit toggles from 1 to 0. I can then look at the address lines on the Z3 bus and tell exactly what address is causing the trouble.
In short: You'd need the CPLD source, and that's not public. I have a few more days with the ACA500plus, then I can free the development-place for the next debugging session of RapidRoad in Z3 mode. Jens |
08 May 2016, 17:10 | #471 |
Unregistered User
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 43
Posts: 4,190
|
If the CPU in the system has an MMU, would it not be possible to use it to detect access to the specific IRQ address? Or possibly just block the address with the MMU as a temporary fix?
|
08 May 2016, 21:54 | #472 | |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
Im playing with the registers of rr just for fun.
Code:
base equ $00EA0000 ;address of xSurf100 Start lea base,a0 move.w $4801(a0),d0 ;read INT status of isp1763a rts Now comes my question to confrm im getting this right. Reading this register while usb is running results in %0000 in d0. While usb not running i get %0010. Quote:
Sorry for thread noise and noob question.. |
|
08 May 2016, 22:27 | #473 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
|
Quote:
For me nak problem is software bug in xsurf driver only. If you want i can give you resourced version of xsurf driver and you can try to fix this driver. Bits are counting from 0 to 31. |
|
08 May 2016, 22:34 | #474 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
I have disassembled the driver, but im not that confident to understand all the code..
No reason to not read from $4800.. just a test and brainfart from my side. Same results though reading from $4800 or $4801 |
08 May 2016, 22:50 | #475 | |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
In z2 mode the INT bit in $4800 is set. In z3 mode it is not set. In both cases this is before i have initialized the rr device.
Quote:
Please send me what you got.. Fun to look at. |
|
08 May 2016, 23:29 | #476 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 55
Posts: 1,975
|
Quote:
|
|
08 May 2016, 23:43 | #477 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
I tried to set it in z3 mode and then initialize the rr driver. Same behaviour in poseidon (nak timeout). The driver could mess things up after this, but i dont think its a software issue. But this is ONLY speculation.
If i have understood things right, this bit should be set as default before anything is initialized. I have only this setup to test on.. Last edited by roomeo; 08 May 2016 at 23:49. |
09 May 2016, 09:35 | #478 | |
electricky.
Join Date: Jun 2010
Location: out in the wild
Posts: 1,256
|
Quote:
Also, please note that Z2 vs. Z3 is fully transparent. Only the base address of the X-Surf-100 is different, but all other software is completely identical. Software initializes the USB chip (especially proper IRQ polarity), then enables IRQ passing to the Amiga, then does all it's other business. It works fine on Z2 machines, and there is a difference between some accelerators in Z3 mode. Since it does work for many Z3 customers, and our hardware-banging test routines also work even on a machine that shows the problem, there is no hardware defect that causes this. Like I wrote yesterday, the only explanation I currently have is that some software hits a mirror of the register. There are a lot more mirrors of these registers in Z3 mode. So if you want to play around with MMU, then you could inhibit accesses to anything in the X-Surf-100 space that's outside the first 64kBytes (uses 64MBytes space in Z3 mode). If that helps, we may have a hint at where to look for the problematic piece of software. Jens |
|
09 May 2016, 09:52 | #479 |
Registered User
Join Date: Aug 2014
Location: Telemark
Posts: 207
|
Cool. Thanks for that clarification. I have no idea how to operate the MMU, but now I got a reason to learn it..
|
09 May 2016, 10:29 | #480 |
electricky.
Join Date: Jun 2010
Location: out in the wild
Posts: 1,256
|
Thor's MMU lib will make things easier.
Jens |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New USB HID mouse / USB Joystick / Gamepad USB adapter for the classic Amiga | spidi | News | 191 | 21 February 2021 19:18 |
WinUAE USB Amiga hard drive issue (2014) | JayEff | support.WinUAE | 2 | 04 April 2014 18:31 |
BetterWb 3.0 06-OCT-2013 | gulliver | News | 20 | 06 November 2013 20:22 |
Away At Amiwest Show (Oct 20 - 26) | amigakit.com | MarketPlace | 1 | 17 October 2010 23:16 |
Meet SAM @ ANT Oct 12th 2008 (UK) | Mikey_C | News | 22 | 14 October 2008 13:52 |
|
|