Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
39 user(s) are online (26 user(s) are browsing Forums)

Members: 0
Guests: 39

more...

Support us!

Headlines

Forum Index


Board index » All Posts (jaokim)




Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


@Maijestro
@FlynnTheAvatar

Thanks for testing!
I've got yet another on to try out:
https://jaokim.github.io/files/XTools-1.7h.lha

This now does it according to TRM, but also adds some PPCs eieio, and sync. Lets see what it'll show us.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


So wanting to see more of what's in that memory space I've added more reads.
But I'm soon out of ideas of why this isn't working in AmigaOS, but seems to be working in uboot land.

https://jaokim.github.io/files/XTools-1.7g.lha

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


Good thinking, thanks for testing! I checked, and I've got the same 53.3 version here.

And if I understand correctly, the xena resource doesn't really do much setup, but rather acts a semaphore. But... then again, I don't know -- myabe it really sets up some stuff?

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


Thanks for testing!

The uboot results seem promising. So I guess there must be something wrong with how it's done from AmigaOS.

I've created a new binary, 1.7f that uses ITimer->MicroDelay() instead of IDOS->Delay(), and I also added a small loop to test reads: https://jaokim.github.io/files/XTools-1.7f.lha

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


@MigthyMax
That looks great actually! Thanks!
It seems you have rev 2.2 (that 2210 value). The manual I have is for revision 2.1. I wonder if that is different from those who have tested the XTools?
Are there even different revision in circulation, or should all X5000 be the same?

I mean, it looks good from uboot. Don't quite understand why it looks different when done from AmigaOS.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


So.. wondering if anyone is willing to do some testing in uboot on an X5000?

The way the TRM says it should work is to write the register we're interested in to the index register at 0000.0000, and then read the value from data register e000.8000 (dot for easier read). This differs slightly from f.i. Tabor, where we write to 0x0000, but read from 0x8000 plus the register.

I'd like to see what we get in uboot.

md is memory display
mw is memory write

First I want to just see if anything is at 0x8000 without us having written anything to the index register.

The first line should give us 8 16 bit words from the data register. This might contain 0xdead, 0xbeef, and then it should be the hardware revision, and then I don't know.

The seconds test will write 1 to the index reg, and we would then see 0xbeef in the data register.


The third test will write 2 to the index reg, and we would then see the hardware rev in the data register.


The fourth test will write 4 to the index reg, and that should return a 1 if the localbus is alive.

The last line should dump

You can corroborate all this by checking the Cyrus TRM.

md.w e0008000 8

mw
.w e0000000 1
md
.w e0008000 8

mw
.w e0000000 2
md
.w e0008000 8

mw
.w e0000000 4
md
.w e0008000 8


You can take photos and e-mail me if can't copy from uboot. It's joakim.nordstrom at gmail.com.

Thanks!

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


A new version to test: https://jaokim.github.io/files/XTools-1.7e.lha
Maybe also do a reboot if this shows same or weirder results.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


@FlynnTheAvatar
Thanks for quick test!

They are indeed very strange. I don't know if there's some sort of weird caching issue... or have I done something totally weird. I'll see if i can come up with something new.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


I've created a new test-version of XTools version for X5000.
It now tests a few calls with differing delays. The longest delay is 10 ticks, but it also tests with 2 and 5. If anyone could
you must read the X5000 section in XTools.txt in the archive to know how to test it. Archive is here: https://jaokim.github.io/files/XTools-1.7d.lha Very beta. I'm not responsible if anything breaks your machine.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


@FlynnTheAvatar

Great, thanks for testing!

Seems I don't release the XTAG resource when doing Ctrl-C in that test. Regarding the reads and writes, I've seen similar result for another X5000 user, so it's good to see that it's the same for you.
I'm in contact with some other developers so I hope to get something working for X5000 soonish.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


I've added an example of some Xena localbus communications here:
https://sourceforge.net/p/xena-examples/code/HEAD/tree/

It should build out of the box and work on X1000. It's not too much code, and it just implements a simple circular stack so should be relatively self-explanatory. Might try and write something up on the blog explaining some more about it.

svn checkout https://svn.code.sf.net/p/xena-examples/code/ xena-examples
cd xena-examples/stack
make run


Oh, and yeah, this doesn’t require any extra hardware, it should just work on the plain X1000. It won’t work on X5000 even if you got it on to that chip since the localbus interface is way different.


Edited by jaokim on 2026/1/11 12:32:14
Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


Well, it’s usefulness I don’t know about… but honestly, I could say the same about Amiga in general . Anyways, Xena can do stuff on its own, and basically offload the cpu. The example I have on my blog (https://jaokim.github.io/amiga/2025/10/27/threading-water.html) is absolutely useless, but it shows that we can calculate a value on Xena and see it on the Amiga — no other peripherals involved.
So I think the uselessness of Xena has been greatly exaggerated, although its usefulness might not live up to the hype it got initially.
Lyle did get the localbus communication working, and I’ve managed to create some sort of data exchange scheme. Don’t know the exact speed, but it’s not as slow as jtag.

So, yes, Xena can do something without any extra add-ons — but I think it gets more fun when adding stuff.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


So, in os4depot's queue there now exists a new version of Gabrielle, including a set of updated XTools.

I finally managed to get the PLL stuff working allowing the Xena chip to run in full speed, and getting some localbus communication working. I also managed to make it quite a bit faster when working with smaller programs.

I've also added -very experimental- X5000 support. It currently mostly tries to write and read to some registers to get the JTAG communcation running. Any help in testing this is highly appreciated! It currently doesn't work, but it does something, and I need to find out more. There are more instructions in the archive -- please read. It's not super straight forward, for reasons.
A previous X5000 version has been tested on an X5000 with some success. I've tested it on my micro A1 (it obvisouly doesn't do much there, but I tested it to make sure it didn't crash or caused major havoc. But I take no responsiblity!

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Xena, dis-xs1 sources
Just popping in
Just popping in


And I’ve also tried archive.org, asking AI etc to no avail.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Xena, dis-xs1 sources
Just popping in
Just popping in


Does anyone here have a copy or fork of the dis-xs1 sources from: http://git.infradead.org/users/segher/dis-xs1.git?

In my Xena adventures I’ve found that the XTools XRunXE doesn’t set the xs-1 chips PLL registers correct causing it to run too slow to handle any localbus communication. I’ve got a copy of a later XRunXE v 1.3 from a 2013 binary that did some stuff to the PLL register that made the localbus example work, but I don’t have the sources. I got it from Lyle many years ago, but he’s lost the sources.
The sources in the XTools drawer on my x1000 are older than 2013, so doesn’t have the PLL things.

I’ve asked around on xcore.com and contacted the original author but as of yet to no avail. Hoping someone here is a source code hoarder…

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Help on Cubic IDE/ GoldED
Just popping in
Just popping in


Pressing F2 usually allows you to edit strings. Or triple click?

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


So I’m reading the X5000 TRM.

It says in order to write to the xjtag I should write 0x000D to address 0x0, and then write the JTAG data to address 0x8000. I’m pretty sure I need to do that relative to where the CPLD is mapped — how do I know where that’s mapped?

The X1000 TRM says that its CPLD is on chip select 5 (page 17), which gets translated to 0xf500000 according to jtag.c. I however can’t find where I can see that chip select 5 equals 0xf500000.
Also I can’t find any such chip select info in the X5000 TRM.

Does anyone have anymore info on this?

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


I wrote up some more comments regarding the examples in Gabrielle on my blog.

I also put the XTools source up on sourceforge with another blog post on some details for that. I id some reading in the reference manuals and might have found some ideas on how to get the tools to work on X5000, but I have to get some second opinions on that. Will surely come back to that.

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


Hmm.
I wonder; does this thread indicate the XTools doesn’t work on the X5000?
https://www.amigans.net/modules/newbb/ ... id=143867#forumpost143867

I mean, when the effort was taken to make the X5000 better wrt to Xena, yet no-one bothered to port the tooling? Is there even some documentation surrounding the details?

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top


Re: Introducing Gabrielle - Xena's companion
Just popping in
Just popping in


Thanks guys! I have a few ideas on some stuff I’d like to try out and experiment with.

I’d really like some feedback on how it works/if it works. I’ve got some response from an X5000 user where there seems to be some issues.
General question: has anyone tried any Xena stuff on the X5000? Like the wiggle demo in the XTools drawer?

Maintainer and developer for Jamiga2 - Java for Amiga
Go to top



TopTop
(1) 2 3 4 ... 10 »




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project