Newsgroups: comp.robotics
Path: brunix!sgiblab!swrinde!cs.utexas.edu!howland.reston.ans.net!wupost!psuvax1!ukma!news2.uunet.ca!scilink!robohack!feline!brdar
From: brdar@feline.uucp (Barry Brdar)
Subject: Getting C code into 68HC11E2FN - Fred, help!
Message-ID: <1994Feb14.180715.2431@feline.uucp>
Organization: Humber College Technology Dept.
Date: Mon, 14 Feb 1994 18:07:15 GMT
Lines: 21

	I'm working on a HC11 based Comp. Eng. hardware project. The reason
I chose the 68HC11 was due to the availability of a C Cross compiler.(My
Motorola Assembly knowledge is non-existant). I have successfully
downloaded a test .asm file that toggles the motor leds and it works, but trying
to re-create the same test with a .c file fails. It compiles and loads but 
running it just lights up both power and rec. leds at the same time.
	I'm using ver 0.40 Imagecraft C Cross compiler and minilib.s ( for the
motor() - renamed crt.s) but I believe that I don't have the appropriate
modifications to minilib.s I require for the 68HC11E2FN that I'm using
(eg. addresses: stack, code, data ). I'm keeping my test .c file simple, so the
problem lies elsewhere. The 68HC11 Reference Manual doesn't clarify things
enough for me -possibly my Motorola inexperience...
	My project depends on my programming the miniboard in C so any
pointers :-) would be greatly appreciated!
	Please post any hints - I'm limited to reading news for now.

					Thanks in advance,
					Barry Brdar

P.S. I making a Micromouse prototype in case you were wondering.

