Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
News

"Free" Assembler And Emulator For The 68HC11/12? 8

V. asks: "Our local LUG is working on a roving webcam robot. In order to drive the motors we are planning to use a 68HC12 ucontroller. I've found some patches against an old release of gcc and egcs that will add support for this ucontroller but I don't think they are part of the normal gcc distribution. I'm wondering if anyone knows where I can find a Free(as in GPL) assembler and emu for the 68HC12 that aren't a pain to compile/install. I doubt there is anything apt-get-able but then again I really wouldn't know since the extent of my assembler and hardware experience is working with xspim for about a semester many moons ago."
This discussion has been archived. No new comments can be posted.

"Free" Assembler and Emu for the 68HC11/12?

Comments Filter:
  • by Anonymous Coward
    Have you had a look at EVBU [freshmeat.net]? It's a GPLed 68HC11 simulator.

    Freshmeat is your friend. This then points you at the ASM11 [aspisys.com] assembler, which then leads you to the 68HCxx webring [webring.org].

    That should get you started.

  • by Ryan Kirkpatrick ( 45 ) on Tuesday June 27, 2000 @05:23AM (#974277) Homepage
    There is a full port of the GNU toolchain, gcc, gas, ld, newlib, etc... to 68HC11/12 available. It is not included in the distribution sources of the toolchain yet, but instead comes as a set of easily applied patches. The patches are available at http://home.worldnet.fr/~stcarr ez/m68hc11_port.html [worldnet.fr]. There is also some support for a gdb port and 68HC11 emulator, but no 68HC12 emulator yet.

    I recently used this toolchain in a EE senior design project (at school) and it saved me a lot of time and headache. Write your code in C, compile and link it for the 68HC12, and download it. Could not be easier. There is also a mailing list to post questions/problems to about this port as well.

    The 68HC12 is a great microcontroller, and with these tools, Linux becomes an excellent development host. Good luck!
    ------------------------------------------- ---------------------------------

  • by Anonymous Coward
    As far as I know there is not much support for hc12 assembly under Linux. If you know or are willing to learn Bison and Flex you may be inclined to write your own assembler. Appendix A of the M68EVB912B32 Evaluation Board User's Manual describes the S-Record Format for the files that get downloaded to the board and the 68HC12 CPU 12 Reference Manual gives the object code for each instruction.
  • I'd love to see links to a page about this device or other similar ones that other people have made...Here's a link to Cye [personalrobots.com], a sub-$1000 robot that could carry around a wireless webcam if so desired.
  • I used to program HC11's and still have some of the tools.

    Over the years, I've lost most of them. I did however obtain them through the Motorola BBS. I don't know if it is still in operation, but I do remember them having all sorts of unsupported goodies, such as a C compiler for most Microcontrollers, (68HC05, 11, 16 etc) and the source code was there as well.

  • You may be able to find something of use at this Motorola database of development tools: http://www.mcu.motsps.com/dev_to ols/3rd/index.html [motsps.com]

    When I took a microprocessors class several years ago, we used free C compilers and Assemblers for the 68HC11, but unfortunately they were for MS-DOS.

  • I got the source for the assembler from motorolla and modified it to work with linux. the only problem I had was I had to disable output or not us the % in my source code. the original source is here. http://www.mot.com/pub/SPS/MCU/mcu12/
  • check out the "encoder" link at http://www.seattlerobotics.org They were very helpful for robotics projects using PIC and 68xx uCs.

Top Ten Things Overheard At The ANSI C Draft Committee Meetings: (5) All right, who's the wiseguy who stuck this trigraph stuff in here?

Working...