PLEASE! *any* working examples for Hitex comStick??

OP #1173954
Other than the examples that actually come with the comStick itself??

This has been driving my nuts:
1. The Hitex examples only work with the version of toolchain that it
comes with
   (V4.0.3).
2. Their examples don't use gcc to call ld/as, they call these tools
directly,
   pathing to an unexpected path for the libraries.
3. If I try to change their code to call through gcc, I cannot make it
find
   the correct library path, no matter how many different places I
specify the
   path.
4. If I try any other GnuArm toolchain, I can never get the project to
build.
   I either get floating-point inconsistencies, interwork
inconsistencies,
   or other system functions not found (CodeSourcery).

I DESPERATELY need to find a simple project that builds with any of the
standard tools (Yagarto would be a good choice), and can just simply
toggle the status LED on the comStick board!!!  (port 9 pin 0  or port 4
pin 1, where I also have an LED, which only Hitex is able to toggle!!).

Can anyone give any pointers for this??
#1173955
I think you are asking the wrong question.

What Processor is on the ComStick ??? A quick web search seems to show
it is a STR912.

I would search for examples for STR912 in the first instance. This
should get you going.

I have no experience with that processor range so I cannot help myself.

Good Luck.
OP #1173957
Hi, Simon!
Actually, I *wasn't* asking the wrong question... the problem that I'm
experiencing is that most projects for generic STR912 designs, when
compiled and downloaded on the comStick, do not work!!  (I say most,
but that's still a very small number - and at this point, most means
100%).  Since (until a couple of days ago) the only STR912 target I had
was the comStick, I was hoping to find any other code sample which would
work on that board, yet would compile with current tools (Hitex uses gcc
4.0.3), as well as using the techniques that every other person
recommends (calling AS and LD through GCC, rather than directly as Hitex
does).  This was why I made the specific request that I did...

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.