Re: Documents detailing XTAG interface?
Posted: Thu May 03, 2012 1:57 am
Either you're misunderstanding something, or doing something wrong,LyleHaze wrote:I think it depends on what your definition of "long" is. (that's what SHE said! :lol: )
It's probably just my compiler being extra-picky. But to print a 32 it likes %ld instead of %d.
or your compiler is. %d requires an int, %ld requires a long int. On most
32-bit platforms both are 32 bits.
Heh yeah :-)If that's my biggest problem today I'll call it a great day and move on.
I have no answer to any of your questions about XDE: I have never run XDE.
To run XE files, use runxe, not run. Your XE file most likely contains two imagesThe comiled output looks like the *.xe file. But I am afraid to pass it to the run command because:
The program runs on both cores, and I don't know which one to load/run it on.
The run program has a maximum file size of 64K, and this .xe file is about 86 K in size.
for each core (so four in total); runxe will run all of them, in the order indicated
in the image.
"run" simply uploads a file to RAM, on a single core, and starts it at 10000. It isSo, best guess is that I need a different output format from XDE for using with your "Run" command.
not something you want to do with programs created with the normal toolchain.
It does not matter how you compile, all that matters is the executable file thatIf I need to compile from a command line, Great! If we ever port tools over that's where we will be working from anyway.
results, right :-)
Using XDE without a supported debug adapter will not work in some obvious
places, and might not work for some non-obvious things either I hear.
If you want to use a stepping debugger (GDB) you'll need to teach GDB how
to talk via your adapter. Should be not so hard, all the code should be available.
My tools are quite command-line oriented, since I never use an IDE (or, "xterm is
my IDE").
./run-xe blinkenlights.xe should do the trick. Get on IRC if you want liveAny suggestions will be appreciated.
help from me ;-)
Excellent, looking forward to it!You should see the code in a few days or less.
Segher